Get an existing recovery target details
Select
SaaS
Customer Managed
To get recovery target details by ID
Path Parameters
- recoveryTargetId int32 required
id of recovery target
Responses
- 200
- 404
- 503
OK
- application/json
- Schema
- Example (from schema)
Schema
RecoveryTarget object
{
"RecoveryTarget": {
"entity": {
"id": 0,
"name": "string",
"policyType": "string",
"applicationType": "REPLICATION",
"destinationHypervisor": {
"id": 0,
"name": "string"
}
},
"accessNode": {
"id": 0,
"name": "string",
"type": "string"
},
"vmDisplayName": {
"prefix": "string",
"suffix": "string"
},
"vmStoragePolicyName": "string",
"securityOptions": {
"users": [
{
"id": 0,
"name": "string",
"fullName": "string"
}
],
"userGroups": [
{
"id": 0,
"name": "string"
}
],
"securityGroups": [
{
"id": "string",
"name": "string"
}
],
"testSecurityGroups": [
{
"id": "string",
"name": "string"
}
]
},
"destinationOptions": {
"destinationHost": "string",
"dataStore": "string",
"dataStoreClusterName": "string",
"resourcePoolPath": "string",
"vmFolder": "string",
"iamRole": {
"id": 0,
"name": "string"
}
},
"networkOptions": {
"networkCard": {
"networkDisplayName": "string",
"network": "string",
"subnetId": "string",
"networkId": "string",
"destinationNetworks": [
"string"
],
"networkNames": [
"string"
]
},
"cloudNetwork": {
"label": "string",
"networkName": "string",
"subnetNames": {
"name": "string",
"value": "string"
}
}
},
"provisioningOptions": {
"maximumCPUCores": 0,
"numberOfVMs": 0,
"maximumMemory": "string",
"templates": [
{
"vmName": "string",
"vmGUID": "string"
}
]
},
"cloudDestinationOptions": {
"region": {
"id": "string",
"name": "string"
},
"keyPair": "string",
"restoreAsManagedVM": true,
"machineType": {
"id": 0,
"name": "string"
},
"soleTenancyNodes": [
{
"name": "string",
"value": "string"
}
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"availabilityZone": "string",
"vmInstanceType": "string",
"encryptionKey": {
"id": 0,
"name": "string"
},
"volumeType": "string",
"testDiskType": "string",
"instanceTypes": [
"string"
],
"publicIP": true
},
"isoInfo": [
{
"isoPath": "string",
"osType": "UNIX"
}
],
"zone": {
"primaryZoneName": "string",
"secondaryZoneName": "string"
},
"associatedClientGroup": {
"id": 0,
"name": "string"
},
"liveMountOptions": {
"mediaAgent": {
"id": 0,
"name": "string"
},
"isLiveMountEnabled": true,
"migrateVMs": true,
"expirationTime": {
"minutesRetainUntil": "string",
"daysRetainUntil": "string"
}
},
"virtualLabOptions": {
"externalNetwork": "string",
"gatewayTemplate": "string",
"gatewayNetwork": "string",
"configureIsolatedNetwork": true,
"ipSettings": [
{
"networkName": "string",
"ipAddressRange": "string",
"subnetMask": "string",
"defaultGatewayIP": "string"
}
]
}
}
}
Not found - Unable to fetch recovery target details
Service Unavailable
GET /v4/recoverytarget/:recoverytargetid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RecoveryTarget/:recoveryTargetId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RecoveryTarget/:recoveryTargetId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RecoveryTarget/:recoveryTargetId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RecoveryTarget/:recoveryTargetId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RecoveryTarget/:recoveryTargetId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RecoveryTarget/:recoveryTargetId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RecoveryTarget/:recoveryTargetId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'