Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::AzureVmDetails.
AzureVmDetails describes a VM in Azure.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#architecture
def architecture() -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::VmArchitecture Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::VmArchitecture) — The CPU architecture.
#architecture=
def architecture=(value) -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::VmArchitecture Parameter
- value (::Google::Cloud::VMMigration::V1::AzureVmDetails::VmArchitecture) — The CPU architecture.
Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::VmArchitecture) — The CPU architecture.
#boot_option
def boot_option() -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::BootOption Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::BootOption) — The VM Boot Option.
#boot_option=
def boot_option=(value) -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::BootOption Parameter
- value (::Google::Cloud::VMMigration::V1::AzureVmDetails::BootOption) — The VM Boot Option.
Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::BootOption) — The VM Boot Option.
#committed_storage_mb
def committed_storage_mb() -> ::Integer Returns
- (::Integer) — The total size of the storage allocated to the VM in MB.
#committed_storage_mb=
def committed_storage_mb=(value) -> ::Integer Parameter
- value (::Integer) — The total size of the storage allocated to the VM in MB.
Returns
- (::Integer) — The total size of the storage allocated to the VM in MB.
#computer_name
def computer_name() -> ::String Returns
- (::String) — The VM's ComputerName.
#computer_name=
def computer_name=(value) -> ::String Parameter
- value (::String) — The VM's ComputerName.
Returns
- (::String) — The VM's ComputerName.
#cpu_count
def cpu_count() -> ::Integer Returns
- (::Integer) — The number of cpus the VM has.
#cpu_count=
def cpu_count=(value) -> ::Integer Parameter
- value (::Integer) — The number of cpus the VM has.
Returns
- (::Integer) — The number of cpus the VM has.
#disk_count
def disk_count() -> ::Integer Returns
- (::Integer) — The number of disks the VM has, including OS disk.
#disk_count=
def disk_count=(value) -> ::Integer Parameter
- value (::Integer) — The number of disks the VM has, including OS disk.
Returns
- (::Integer) — The number of disks the VM has, including OS disk.
#disks
def disks() -> ::Array<::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk> Returns
- (::Array<::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk>) — Description of the data disks.
#disks=
def disks=(value) -> ::Array<::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk> Parameter
- value (::Array<::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk>) — Description of the data disks.
Returns
- (::Array<::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk>) — Description of the data disks.
#memory_mb
def memory_mb() -> ::Integer Returns
- (::Integer) — The memory size of the VM in MB.
#memory_mb=
def memory_mb=(value) -> ::Integer Parameter
- value (::Integer) — The memory size of the VM in MB.
Returns
- (::Integer) — The memory size of the VM in MB.
#os_description
def os_description() -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription) — Description of the OS.
#os_description=
def os_description=(value) -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription Parameter
- value (::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription) — Description of the OS.
Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription) — Description of the OS.
#os_disk
def os_disk() -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk) — Description of the OS disk.
#os_disk=
def os_disk=(value) -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk Parameter
- value (::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk) — Description of the OS disk.
Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk) — Description of the OS disk.
#power_state
def power_state() -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::PowerState Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::PowerState) — The power state of the VM at the moment list was taken.
#power_state=
def power_state=(value) -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::PowerState Parameter
- value (::Google::Cloud::VMMigration::V1::AzureVmDetails::PowerState) — The power state of the VM at the moment list was taken.
Returns
- (::Google::Cloud::VMMigration::V1::AzureVmDetails::PowerState) — The power state of the VM at the moment list was taken.
#tags
def tags() -> ::Google::Protobuf::Map{::String => ::String} Returns
- (::Google::Protobuf::Map{::String => ::String}) — The tags of the VM.
#tags=
def tags=(value) -> ::Google::Protobuf::Map{::String => ::String} Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — The tags of the VM.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — The tags of the VM.
#vm_id
def vm_id() -> ::String Returns
- (::String) — The VM full path in Azure.
#vm_id=
def vm_id=(value) -> ::String Parameter
- value (::String) — The VM full path in Azure.
Returns
- (::String) — The VM full path in Azure.
#vm_size
def vm_size() -> ::String Returns
- (::String) — VM size as configured in Azure. Determines the VM's hardware spec.
#vm_size=
def vm_size=(value) -> ::String Parameter
- value (::String) — VM size as configured in Azure. Determines the VM's hardware spec.
Returns
- (::String) — VM size as configured in Azure. Determines the VM's hardware spec.