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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1073 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 |