Create Placeholder Datastores
Add placeholder datastores for an SRM in a given pairing.
The ID of a pairing between this Site Recovery Manager server and remote one
The ID of the SRM instance to manage inventory mappings for
A spec describing the new placeholder datastores.
{
"datastores": [
"string"
]
}
Datastores to be added as placeholder datastores.
A task to track the progress of the operation. Optionally a list of AddDatastoreResult will be returned in the result field of the task, once completed and there are datastores which failed to be added as placeholder datastores.
{
"id": "string",
"description": "string",
"description_id": "string",
"entity": "string",
"entity_name": "string",
"status": "string",
"error": {
"message": "string",
"details": "string"
},
"progress": 0,
"queued_time": "string",
"start_time": "string",
"complete_time": "string",
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}
}
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
error_code
message
op_id
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"
}
error_code
message
op_id
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
error_code
message
op_id