Validate Migrate Connection Spec
Validates connection to the remote appliance. If successful the result task will finish successfully without any ''result''.
The migration specification to be validated.
Show optional properties
{
"appliance_uri": "https://my-appliance.acme.com:443",
"appliance_credentials": {
"admin_user": "string",
"admin_password": "string"
}
}
{
"appliance_uri": "https://my-appliance.acme.com:443",
"appliance_credentials": {
"admin_user": "string",
"admin_password": "string"
},
"appliance_thumbprint": "string",
"appliance_certificate": "string"
}
Appliance URI. Must specify the protocol (currently only https is supported) and optionally the port (default port is 443).
Contains credentials information.
Appliance thumbprint.
Certificate in PEM format.
Task to monitor the operation.
{
"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 '{"appliance_credentials":"object","appliance_uri":"string"}' https://{api_host}/appliance/migration-manager/actions/validate-connection