Plan Virtual Machine Check Dependent VMS
DescriptionChecks if a given list of dependent VMs is valid against the current VM.
Request
URLURL
Path Parameters
Path Parameters
The ID of a pairing between this Site Recovery Manager server and remote one.
The ID of a recovery plan defined within current pairing.
The ID of a virtual machine.
Request Body
A spec describing the dependent VMs to be checked.
{
"dependent_vms": [
"string"
]
}
A list of dependent VM IDs.
Authentication
Response
Response BodyResponse Body
200 OK
Validation result.
{
"issue_type": "UNKNOWN",
"valid": false
}
Dependent VMs validation issue details.
- UNKNOWN - Unknown issue
- CYCLE_DETECTED - A cycle was found in the dependency list.
- NO_PERMISSION - Missing permission to validate dependent VMs.
Possible values are: UNKNOWN , CYCLE_DETECTED , NO_PERMISSION
Whether the validation is successful or not
Errors
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-dr-permissions:
permissions:
- System.View
- System.Read
x-dr-remote-site-connectivity-contract:
not-authenticated: OK
server-down: OK