Recovery targets
Select
SaaS
Customer Managed
This operation returns list of recovery targets.
Query Parameters
- showResourceGroupPolicy boolean
- showNonResourceGroupPolicy boolean
- deep boolean
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
policy object[]
vmNameEditType integervmNameEditString stringresourcePoolPath stringcreateIsolatedNetwork booleanmigrateVMs booleanisResourceGroupPolicy booleanenabled booleannetworkList object[]
sourceNetwork stringdestinationNetwork stringdestinationHyperV object
clientId integerclientName stringdataStores object[]
dataStoreName stringproxyClientEntity object
clientId integerclientName stringdataCenter object
dataCenterId integerdataCenterName stringesxServers object[]
esxServerName stringentity object
vmAllocPolicyName stringvmAllocPolicyId integerpolicyType integerminutesRetainUntil integergatewayTemplate object
vmName stringvmGUID string
{
"policy": [
{
"vmNameEditType": 0,
"vmNameEditString": "string",
"resourcePoolPath": "string",
"createIsolatedNetwork": true,
"migrateVMs": true,
"isResourceGroupPolicy": true,
"enabled": true,
"networkList": [
{
"sourceNetwork": "string",
"destinationNetwork": "string"
}
],
"destinationHyperV": {
"clientId": 0,
"clientName": "string"
},
"dataStores": [
{
"dataStoreName": "string"
}
],
"proxyClientEntity": {
"clientId": 0,
"clientName": "string"
},
"dataCenter": {
"dataCenterId": 0,
"dataCenterName": "string"
},
"esxServers": [
{
"esxServerName": "string"
}
],
"entity": {
"vmAllocPolicyName": "string",
"vmAllocPolicyId": 0,
"policyType": 0
},
"minutesRetainUntil": 0,
"gatewayTemplate": {
"vmName": "string",
"vmGUID": "string"
}
}
]
}
{
"policy": [
{
"vmNameEditType": 2,
"vmNameEditString": "DRAuto",
"resourcePoolPath": "/Automation",
"createIsolatedNetwork": false,
"migrateVMs": false,
"isResourceGroupPolicy": true,
"enabled": true,
"networkList": [
{
"sourceNetwork": "Any Network",
"destinationNetwork": "VM Network 3"
}
],
"destinationHyperV": {
"clientId": 4,
"clientName": "vsa-vc6.test.com"
},
"dataStores": [
{
"dataStoreName": "datastore193"
}
],
"proxyClientEntity": {
"clientId": 3,
"clientName": "drorchestration"
},
"dataCenter": {
"dataCenterId": 1,
"dataCenterName": "Hema"
},
"esxServers": [
{
"esxServerName": "172.19.116.139"
}
],
"entity": {
"vmAllocPolicyName": "DRAuto",
"vmAllocPolicyId": 2,
"policyType": 0
}
},
{
"vmNameEditType": 2,
"vmNameEditString": "FailoverGroups",
"resourcePoolPath": "/Regression",
"createIsolatedNetwork": false,
"migrateVMs": false,
"isResourceGroupPolicy": true,
"enabled": true,
"networkList": [
{
"sourceNetwork": "Any Network",
"destinationNetwork": "VM Network"
}
],
"destinationHyperV": {
"clientId": 4,
"clientName": "vsa-vc6.test.com"
},
"dataStores": [
{
"dataStoreName": "Dev_TestGroups"
}
],
"proxyClientEntity": {
"clientId": 3,
"clientName": "drorchestration"
},
"dataCenter": {
"dataCenterId": 1,
"dataCenterName": "Hema"
},
"esxServers": [
{
"esxServerName": "172.19.116.139"
}
],
"entity": {
"vmAllocPolicyName": "FailoverGroups",
"vmAllocPolicyId": 4,
"policyType": 0
}
},
{
"vmNameEditType": 2,
"vmNameEditString": "TestFailover",
"resourcePoolPath": "/Regression",
"createIsolatedNetwork": true,
"migrateVMs": false,
"isResourceGroupPolicy": true,
"minutesRetainUntil": 1,
"enabled": true,
"gatewayTemplate": {
"vmName": "CV_VLAB_GATEWAY_CENTOS7_SP11_WITHMASQUERADING",
"vmGUID": "5026424c-62fe-1f68-0250-20b7b6e211df"
},
"networkList": [
{
"sourceNetwork": "Any Network",
"destinationNetwork": "VM Network"
}
],
"destinationHyperV": {
"clientId": 4,
"clientName": "vsa-vc6.test.com"
},
"dataStores": [
{
"dataStoreName": "Dev_TestGroups"
}
],
"proxyClientEntity": {
"clientId": 3,
"clientName": "drorchestration"
},
"dataCenter": {
"dataCenterId": 1,
"dataCenterName": "Hema"
},
"esxServers": [
{
"esxServerName": "172.19.116.139"
}
],
"entity": {
"vmAllocPolicyName": "TestFailover",
"vmAllocPolicyId": 3,
"policyType": 13
}
}
]
}
Loading...