Managed Object - VsanHostVdsSystem(vim.vsan.VsanHostVdsSystem)

See also
VsanVmVdsMigrationSpec
Since
vSAN API 6.6


Managed Object Description

vSAN optimized methods for assisting VDS related operations, especially migrations from VSS to VDS. In every ESXi host there is a singleton instance of this class with the Managed Object ID of 'ha-vsan-host-vds-system'.

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
VsanCompleteMigrateVmsToVds, VsanMigrateVmsToVds

VsanCompleteMigrateVmsToVds(vsanCompleteMigrateVmsToVds)

Mark the jobID with "rollback" or "done" flag. If it is "done", the migration is considered completed. But if it is marked with "rollback", all the change made by previous call of "VsanMigrateVmsToVds" to the network will be rolled back.
Required Privileges
Network.Assign

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VsanHostVdsSystem used to make the method call.
jobIdxsd:string

Unique identifier returned by VsanMigrateVmsToVds()
newStatexsd:string

Indicates if the migration is considered completed or should be rolled back.

Return Value

Type Description
None

Faults

Type Description
NotFoundTask not found
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VsanFaultAny unexpected runtime error.

Events

Type
None

Show WSDL type definition



VsanMigrateVmsToVds(vsanMigrateVmsToVds)

Make all the VMs on the host to adopt the VDS network.
Required Privileges
Network.Assign

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VsanHostVdsSystem used to make the method call.
vmConfigSpecsVsanVmVdsMigrationSpec[]

VMs to be migrated via associated specs
vdsUuidxsd:string

UUID of the VDS that is being migrated to.
timeoutSecxsd:long

Time in seconds. See above for timeout behavior.
revert*xsd:boolean

Since vSAN API 6.6
*Need not be set

Return Value

Type Description
xsd:stringA unique identifier referring to this operation

Faults

Type Description
NotFoundTask not found
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VsanFaultAny unexpected runtime error.

Events

Type
None

Show WSDL type definition