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.
jobId Pxsd:string

Unique identifier returned by VsanMigrateVmsToVds()

Since vSAN API 6.6
newState Pxsd:string

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

Since vSAN API 6.6
PRequired privilege - see tooltip for details

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.
vmConfigSpecs PVsanVmVdsMigrationSpec[]

VMs to be migrated via associated specs

Since vSAN API 6.6
vdsUuid Pxsd:string

UUID of the VDS that is being migrated to.

Since vSAN API 6.6
timeoutSec Pxsd:long

Time in seconds. See above for timeout behavior.

Since vSAN API 6.6
revert* Pxsd:boolean

Since vSAN API 6.6
*Need not be set PRequired privilege - see tooltip for details

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