Class: Google::Apis::MigrationcenterV1alpha1::AzureVmPlatformDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

Azure VM specific details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AzureVmPlatformDetails

Returns a new instance of AzureVmPlatformDetails.



584
585
586
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 584

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#locationString

The location of the machine in the Azure format. Corresponds to the JSON property location

Returns:

  • (String)


572
573
574
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 572

def location
  @location
end

#machine_type_labelString

Azure platform's machine type label. Corresponds to the JSON property machineTypeLabel

Returns:

  • (String)


577
578
579
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 577

def machine_type_label
  @machine_type_label
end

#provisioning_stateString

Azure platform's provisioning state. Corresponds to the JSON property provisioningState

Returns:

  • (String)


582
583
584
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 582

def provisioning_state
  @provisioning_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



589
590
591
592
593
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 589

def update!(**args)
  @location = args[:location] if args.key?(:location)
  @machine_type_label = args[:machine_type_label] if args.key?(:machine_type_label)
  @provisioning_state = args[:provisioning_state] if args.key?(:provisioning_state)
end