Replication Get Recovery Settings
This request returns the failover/migration and test recovery settings.
VM replication identifier
H4-ec991bd5-af9d-446a-8599-5b693842c4a3
Optional site to run the operation on. When omitted, defaults to the local site.
site1
Operation ID for correlating logs across multiple services
OK
{
"failoverPlacement": {
"vmFolder": "group-v4",
"vmFolderName": "VM folder",
"resourcePool": "resgroup-4",
"resourcePoolName": "My Resource Pool",
"host": "host-4",
"hostName": "somehostname",
"networkMappings": {
"defaultNetwork": "network-14",
"defaultNetworkName": "VM Network",
"mappings": [
{
"key": 4000,
"networkId": "network-14",
"networkName": "VM Network"
}
]
}
},
"testPlacement": {
"vmFolder": "group-v4",
"vmFolderName": "VM folder",
"resourcePool": "resgroup-4",
"resourcePoolName": "My Resource Pool",
"host": "host-4",
"hostName": "somehostname",
"networkMappings": {
"defaultNetwork": "network-14",
"defaultNetworkName": "VM Network",
"mappings": [
{
"key": 4000,
"networkId": "network-14",
"networkName": "VM Network"
}
]
}
}
}
The returned error codes include (but are not limited to): NotAuthenticated
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.
The returned error codes include (but are not limited to): GeneralServerFailure
{
"args": [],
"code": "Forbidden",
"msg": "Permission denied.",
"stacktrace": "com.vmware.h4.api.error.exceptions.PermissionDeniedException: Permission denied."
}
Positional arguments.
Specific error code.
Detailed error message.
Exception stacktrace.