# 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

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the VsanHostVdsSystem used to make the method call.
jobId P | xsd:string | Unique identifier returned by VsanMigrateVmsToVds() Since vSAN API 6.6
newState P | xsd:string | Indicates if the migration is considered completed or should be rolled back. Since vSAN API 6.6

P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
NotFound | Task not found
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VsanFault | Any unexpected runtime error.

Events

Type
None

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanCompleteMigrateVmsToVds" type="vsan:VsanCompleteMigrateVmsToVdsRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanCompleteMigrateVmsToVdsResponse"> <complexType/> </element>

# VsanMigrateVmsToVds(vsanMigrateVmsToVds)

Make all the VMs on the host to adopt the VDS network.

Required Privileges
  Network.Assign

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the VsanHostVdsSystem used to make the method call.
vmConfigSpecs P | VsanVmVdsMigrationSpec[] | VMs to be migrated via associated specs Since vSAN API 6.6
vdsUuid P | xsd:string | UUID of the VDS that is being migrated to. Since vSAN API 6.6
timeoutSec P | xsd:long | Time in seconds. See above for timeout behavior. Since vSAN API 6.6
revert* P | xsd:boolean | Since vSAN API 6.6

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
xsd:string | A unique identifier referring to this operation

Faults

Type | Description
--- | ---
NotFound | Task not found
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
VsanFault | Any unexpected runtime error.

Events

Type
None

Show WSDL type definition
<element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanMigrateVmsToVds" type="vsan:VsanMigrateVmsToVdsRequestType"/> <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanMigrateVmsToVdsResponse"> <complexType> <sequence> <element name="returnval" type="xsd:string"/> </sequence> </complexType> </element>