Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::VmwareVmDetails (v0.9.0)

Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::VmwareVmDetails.

VmwareVmDetails describes a VM in vCenter.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#boot_option

def boot_option() -> ::Google::Cloud::VMMigration::V1::VmwareVmDetails::BootOption
Returns

#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.

#cpu_count

def cpu_count() -> ::Integer
Returns
  • (::Integer) — The number of cpus in the VM.

#cpu_count=

def cpu_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of cpus in the VM.
Returns
  • (::Integer) — The number of cpus in the VM.

#datacenter_description

def datacenter_description() -> ::String
Returns
  • (::String) — The descriptive name of the vCenter's datacenter this VM is contained in.

#datacenter_description=

def datacenter_description=(value) -> ::String
Parameter
  • value (::String) — The descriptive name of the vCenter's datacenter this VM is contained in.
Returns
  • (::String) — The descriptive name of the vCenter's datacenter this VM is contained in.

#datacenter_id

def datacenter_id() -> ::String
Returns
  • (::String) — The id of the vCenter's datacenter this VM is contained in.

#datacenter_id=

def datacenter_id=(value) -> ::String
Parameter
  • value (::String) — The id of the vCenter's datacenter this VM is contained in.
Returns
  • (::String) — The id of the vCenter's datacenter this VM is contained in.

#disk_count

def disk_count() -> ::Integer
Returns
  • (::Integer) — The number of disks the VM has.

#disk_count=

def disk_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of disks the VM has.
Returns
  • (::Integer) — The number of disks the VM has.

#display_name

def display_name() -> ::String
Returns
  • (::String) — The display name of the VM. Note that this is not necessarily unique.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The display name of the VM. Note that this is not necessarily unique.
Returns
  • (::String) — The display name of the VM. Note that this is not necessarily unique.

#guest_description

def guest_description() -> ::String
Returns
  • (::String) — The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.

#guest_description=

def guest_description=(value) -> ::String
Parameter
  • value (::String) — The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
Returns
  • (::String) — The VM's OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.

#memory_mb

def memory_mb() -> ::Integer
Returns
  • (::Integer) — The size of the memory of the VM in MB.

#memory_mb=

def memory_mb=(value) -> ::Integer
Parameter
  • value (::Integer) — The size of the memory of the VM in MB.
Returns
  • (::Integer) — The size of the memory of the VM in MB.

#power_state

def power_state() -> ::Google::Cloud::VMMigration::V1::VmwareVmDetails::PowerState
Returns

#power_state=

def power_state=(value) -> ::Google::Cloud::VMMigration::V1::VmwareVmDetails::PowerState
Parameter
Returns

#uuid

def uuid() -> ::String
Returns
  • (::String) — The unique identifier of the VM in vCenter.

#uuid=

def uuid=(value) -> ::String
Parameter
  • value (::String) — The unique identifier of the VM in vCenter.
Returns
  • (::String) — The unique identifier of the VM in vCenter.

#vm_id

def vm_id() -> ::String
Returns
  • (::String) — The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.

#vm_id=

def vm_id=(value) -> ::String
Parameter
  • value (::String) — The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.
Returns
  • (::String) — The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.