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.



1627
1628
1629
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1627

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

Instance Attribute Details

#hyperthreadingString

Whether the machine is hyperthreaded. Corresponds to the JSON property hyperthreading

Returns:

  • (String)


1610
1611
1612
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1610

def hyperthreading
  @hyperthreading
end

#locationString

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

Returns:

  • (String)


1615
1616
1617
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1615

def location
  @location
end

#machine_type_labelString

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

Returns:

  • (String)


1620
1621
1622
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1620

def machine_type_label
  @machine_type_label
end

#provisioning_stateString

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

Returns:

  • (String)


1625
1626
1627
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1625

def provisioning_state
  @provisioning_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1632
1633
1634
1635
1636
1637
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1632

def update!(**args)
  @hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading)
  @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