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, VmArchitecture
Instance Attribute Summary collapse
-
#architecture ⇒ ::Google::Cloud::VMMigration::V1::VmwareVmDetails::VmArchitecture
readonly
Output only.
-
#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
#architecture ⇒ ::Google::Cloud::VMMigration::V1::VmwareVmDetails::VmArchitecture (readonly)
Returns Output only. The CPU architecture.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#boot_option ⇒ ::Google::Cloud::VMMigration::V1::VmwareVmDetails::BootOption (readonly)
Returns Output only. The VM Boot Option.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#committed_storage_mb ⇒ ::Integer
Returns The total size of the storage allocated to the VM in MB.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#cpu_count ⇒ ::Integer
Returns The number of cpus in the VM.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#datacenter_description ⇒ ::String
Returns The descriptive name of the vCenter's datacenter this VM is contained in.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#datacenter_id ⇒ ::String
Returns The id of the vCenter's datacenter this VM is contained in.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#disk_count ⇒ ::Integer
Returns The number of disks the VM has.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#display_name ⇒ ::String
Returns The display name of the VM. Note that this is not necessarily unique.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 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.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#memory_mb ⇒ ::Integer
Returns The size of the memory of the VM in MB.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#power_state ⇒ ::Google::Cloud::VMMigration::V1::VmwareVmDetails::PowerState
Returns The power state of the VM at the moment list was taken.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |
#uuid ⇒ ::String
Returns The unique identifier of the VM in vCenter.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 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.
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 1288 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 # Possible values for the VM architecture. module VmArchitecture # The architecture is unknown. VM_ARCHITECTURE_UNSPECIFIED = 0 # The architecture is one of the x86 architectures. VM_ARCHITECTURE_X86_FAMILY = 1 # The architecture is ARM64. VM_ARCHITECTURE_ARM64 = 2 end end |