Class: Google::Apis::MigrationcenterV1alpha1::AzureVmPlatformDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AzureVmPlatformDetails
- 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
-
#location ⇒ String
The location of the machine in the Azure format.
-
#machine_type_label ⇒ String
Azure platform's machine type label.
-
#provisioning_state ⇒ String
Azure platform's provisioning state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AzureVmPlatformDetails
constructor
A new instance of AzureVmPlatformDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AzureVmPlatformDetails
Returns a new instance of AzureVmPlatformDetails.
830 831 832 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 830 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
The location of the machine in the Azure format.
Corresponds to the JSON property location
818 819 820 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 818 def location @location end |
#machine_type_label ⇒ String
Azure platform's machine type label.
Corresponds to the JSON property machineTypeLabel
823 824 825 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 823 def machine_type_label @machine_type_label end |
#provisioning_state ⇒ String
Azure platform's provisioning state.
Corresponds to the JSON property provisioningState
828 829 830 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 828 def provisioning_state @provisioning_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
835 836 837 838 839 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 835 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 |