Class: Google::Cloud::VMMigration::V1::VmwareVmDetails
- Inherits:
-
Object
- Object
- Google::Cloud::VMMigration::V1::VmwareVmDetails
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vmmigration/v1/vmmigration.rb
Overview
VmwareVmDetails describes a VM in vCenter.
Defined Under Namespace
Modules: BootOption, PowerState
Instance Attribute Summary collapse
-
#boot_option ⇒ ::Google::Cloud::VMMigration::V1::VmwareVmDetails::BootOption
readonly
Output only.
-
#committed_storage_mb ⇒ ::Integer
The total size of the storage allocated to the VM in MB.
-
#cpu_count ⇒ ::Integer
The number of cpus in the VM.
-
#datacenter_description ⇒ ::String
The descriptive name of the vCenter's datacenter this VM is contained in.
-
#datacenter_id ⇒ ::String
The id of the vCenter's datacenter this VM is contained in.
-
#disk_count ⇒ ::Integer
The number of disks the VM has.
-
#display_name ⇒ ::String
The display name of the VM.
-
#guest_description ⇒ ::String
The VM's OS.
-
#memory_mb ⇒ ::Integer
The size of the memory of the VM in MB.
-
#power_state ⇒ ::Google::Cloud::VMMigration::V1::VmwareVmDetails::PowerState
The power state of the VM at the moment list was taken.
-
#uuid ⇒ ::String
The unique identifier of the VM in vCenter.
-
#vm_id ⇒ ::String
The VM's id in the source (note that this is not the MigratingVm's id).
Instance Attribute Details
#boot_option ⇒ ::Google::Cloud::VMMigration::V1::VmwareVmDetails::BootOption (readonly)
Returns Output only. The VM Boot Option.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#committed_storage_mb ⇒ ::Integer
Returns The total size of the storage allocated to the VM in MB.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#cpu_count ⇒ ::Integer
Returns The number of cpus in the VM.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#datacenter_description ⇒ ::String
Returns The descriptive name of the vCenter's datacenter this VM is contained in.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#datacenter_id ⇒ ::String
Returns The id of the vCenter's datacenter this VM is contained in.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#disk_count ⇒ ::Integer
Returns The number of disks the VM has.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#display_name ⇒ ::String
Returns The display name of the VM. Note that this is not necessarily unique.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#guest_description ⇒ ::String
Returns 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.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#memory_mb ⇒ ::Integer
Returns The size of the memory of the VM in MB.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#power_state ⇒ ::Google::Cloud::VMMigration::V1::VmwareVmDetails::PowerState
Returns The power state of the VM at the moment list was taken.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#uuid ⇒ ::String
Returns The unique identifier of the VM in vCenter.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |
#vm_id ⇒ ::String
Returns The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM.
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1099 class VmwareVmDetails include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible values for the power state of the VM. module PowerState # Power state is not specified. POWER_STATE_UNSPECIFIED = 0 # The VM is turned ON. ON = 1 # The VM is turned OFF. OFF = 2 # The VM is suspended. This is similar to hibernation or sleep mode. SUSPENDED = 3 end # Possible values for vm boot option. module BootOption # The boot option is unknown. BOOT_OPTION_UNSPECIFIED = 0 # The boot option is EFI. EFI = 1 # The boot option is BIOS. BIOS = 2 end end |