Class: Google::Apis::MigrationcenterV1::VmwarePlatformDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::VmwarePlatformDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
VMware specific details.
Instance Attribute Summary collapse
-
#esx_version ⇒ String
ESX version.
-
#osid ⇒ String
VMware os enum - 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.
-
#vcenter_folder ⇒ String
Folder name in vCenter where asset resides.
-
#vcenter_uri ⇒ String
vCenter URI used in collection.
-
#vcenter_version ⇒ String
vCenter version.
-
#vcenter_vm_id ⇒ String
vCenter VM ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwarePlatformDetails
constructor
A new instance of VmwarePlatformDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwarePlatformDetails
Returns a new instance of VmwarePlatformDetails.
5107 5108 5109 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#esx_version ⇒ String
ESX version.
Corresponds to the JSON property esxVersion
5078 5079 5080 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5078 def esx_version @esx_version end |
#osid ⇒ String
VMware os enum - 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.
Corresponds to the JSON property osid
5085 5086 5087 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5085 def osid @osid end |
#vcenter_folder ⇒ String
Folder name in vCenter where asset resides.
Corresponds to the JSON property vcenterFolder
5090 5091 5092 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5090 def vcenter_folder @vcenter_folder end |
#vcenter_uri ⇒ String
vCenter URI used in collection.
Corresponds to the JSON property vcenterUri
5095 5096 5097 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5095 def vcenter_uri @vcenter_uri end |
#vcenter_version ⇒ String
vCenter version.
Corresponds to the JSON property vcenterVersion
5100 5101 5102 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5100 def vcenter_version @vcenter_version end |
#vcenter_vm_id ⇒ String
vCenter VM ID.
Corresponds to the JSON property vcenterVmId
5105 5106 5107 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5105 def vcenter_vm_id @vcenter_vm_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5112 5113 5114 5115 5116 5117 5118 5119 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5112 def update!(**args) @esx_version = args[:esx_version] if args.key?(:esx_version) @osid = args[:osid] if args.key?(:osid) @vcenter_folder = args[:vcenter_folder] if args.key?(:vcenter_folder) @vcenter_uri = args[:vcenter_uri] if args.key?(:vcenter_uri) @vcenter_version = args[:vcenter_version] if args.key?(:vcenter_version) @vcenter_vm_id = args[:vcenter_vm_id] if args.key?(:vcenter_vm_id) end |