Start Migrate
Released in v7.0.0Start the appliance migration.
Request
URLURL
https://{api_host}/rest/vcenter/deployment/migrate?action=start
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Request Body
Request Body
DeploymentMigrateStartRequestBody of type application/json (required){
"spec": {
"existing_migration_assistant": {
"ssl_thumbprint": "string"
},
"source_vc_windows": {
"hostname": "string",
"password": "string",
"username": "string"
}
}
}
spec
Required
MigrateSpec parameters to configure the appliance migration.
cURL Command
curl -X POST -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" -H "Content-Type: application/json" -d '{"spec":{"active_directory":{"domain":"string","password":"string","username":"string"},"auto_answer":false,"existing_migration_assistant":{"https_port":0,"ssl_thumbprint":"string"},"history":{"data_set":"enum","defer_import":false},"psc":{"ceip_enabled":false},"source_vc_windows":{"hostname":"string","password":"string","username":"string"},"vcsa_embedded":{"ceip_enabled":false}}}' https://{api_host}/rest/vcenter/deployment/migrate?action=start
Errors
401
com.vmware.vapi.std.errors.unauthenticated : if the caller is not authenticated.
if migration assistant credentials are not valid.
409
com.vmware.vapi.std.errors.not_allowed_in_current_state : if the appliance is not in INITIALIZED state.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.