Class: Google::Apis::MigrationcenterV1alpha1::VmwarePlatformDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

VMware specific details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwarePlatformDetails

Returns a new instance of VmwarePlatformDetails.



9196
9197
9198
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 9196

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#esx_hyperthreadingString

Whether the ESX is hyperthreaded. Corresponds to the JSON property esxHyperthreading

Returns:

  • (String)


9162
9163
9164
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 9162

def esx_hyperthreading
  @esx_hyperthreading
end

#esx_versionString

ESX version. Corresponds to the JSON property esxVersion

Returns:

  • (String)


9167
9168
9169
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 9167

def esx_version
  @esx_version
end

#osidString

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

Returns:

  • (String)


9174
9175
9176
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 9174

def osid
  @osid
end

#vcenter_folderString

Folder name in vCenter where asset resides. Corresponds to the JSON property vcenterFolder

Returns:

  • (String)


9179
9180
9181
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 9179

def vcenter_folder
  @vcenter_folder
end

#vcenter_uriString

vCenter URI used in collection. Corresponds to the JSON property vcenterUri

Returns:

  • (String)


9184
9185
9186
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 9184

def vcenter_uri
  @vcenter_uri
end

#vcenter_versionString

vCenter version. Corresponds to the JSON property vcenterVersion

Returns:

  • (String)


9189
9190
9191
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 9189

def vcenter_version
  @vcenter_version
end

#vcenter_vm_idString

vCenter VM ID. Corresponds to the JSON property vcenterVmId

Returns:

  • (String)


9194
9195
9196
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 9194

def vcenter_vm_id
  @vcenter_vm_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9201
9202
9203
9204
9205
9206
9207
9208
9209
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 9201

def update!(**args)
  @esx_hyperthreading = args[:esx_hyperthreading] if args.key?(:esx_hyperthreading)
  @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