List Services To Migrate
Filters local services that support migration and lists available source appliances from which these services can be migrated from.
The connection specification to the target vCenter.
Show optional properties
{
"credentials": {
"admin_user": "string",
"admin_password": "string"
},
"connection_spec": {
"psc_uri": "psc01.acme.com, psc01.acme.com:80, psc01.acme.com:443, https://psc01.acme.com, https://psc01.acme.com:443"
}
}
{
"credentials": {
"admin_user": "string",
"admin_password": "string"
},
"connection_spec": {
"psc_uri": "psc01.acme.com, psc01.acme.com:80, psc01.acme.com:443, https://psc01.acme.com, https://psc01.acme.com:443",
"psc_thumbprint": "string"
}
}
Contains credentials information.
Contains connection information for a service.
Task to monitor the operation. The ''result'' field will contain the list of services available for migration (MigrateServiceInfo).
{
"id": "string",
"description": "string",
"type": "string",
"status": "string",
"error": {
"message": "string",
"details": "string"
},
"result": {},
"progress": 0,
"start_time": 0,
"complete_time": 0,
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}
}
Bad request - the server cannot understand the request due to invalid syntax or invalid request body content
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
The code of the error.
The message of the error.
The ID of the operation.
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"connection_spec":"object","credentials":"object"}' https://{api_host}/appliance/migration-manager/actions/list-services