Vsan Host Vds System Vsan Migrate Vms To Vds
Make all the VMs on the host to adopt the VDS network.
Required privileges: Network.Assign
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case VsanHostVdsSystem/{moId}.
The vSphere release schema. The current specification covers vSphere 9.1.0.0 APIs.
Show optional properties
{
"vmConfigSpecs": [
{
"vmInstanceUuid": "string",
"vnics": [
{
"key": 0,
"vdsBacking": {}
}
]
}
],
"vdsUuid": "string",
"timeoutSec": 0
}
{
"vmConfigSpecs": [
{
"_typeName": "string",
"vmInstanceUuid": "string",
"vnics": [
{
"_typeName": "string",
"key": 0,
"vdsBacking": {
"_typeName": "string"
}
}
]
}
],
"vdsUuid": "string",
"timeoutSec": 0,
"revert": false
}
VMs to be migrated via associated specs
UUID of the VDS that is being migrated to.
Time in seconds. See above for timeout behavior.
revert
A unique identifier referring to this operation
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"vmConfigSpecs":["object"],"vdsUuid":"string","timeoutSec":"integer"}' https://{api_host}/sdk/vim25/{release}/vsan/VsanHostVdsSystem/{moId}/VsanMigrateVmsToVds