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,
"minimumMemory": "string",
"maximumMemory": "string",
"minDiskSpace": 0,
"maxDiskSpace": 0,
"maxDisks": 0,
"namingPattern": "string",
"maxVMQuota": 0,
"createdVMCount": 0,
"maxMemoryQuotaGB": 0,
"usedMemoryInGB": 0,
"maxCPUQuota": 0,
"usedCPUCores": 0,
"daysRetainUntil": 0,
"minNICs": 0,
"isoPaths": [
"string"
],
"maxNICs": 0,
"enableBackup": true,
"allowPublicIP": true,
"instanceDetails": {
"iopsLimit": 0,
"vmSize": [
{
"id": 0,
"name": "string"
}
]
},
"templates": [
{
"vmName": "string",
"vmGUID": "string",
"operatingSystem": "WINDOWS",
"operatingSystemDisplayName": "string",
"hardDisks": {
"name": "string",
"snapshotId": "string",
"provisioningType": "THIN",
"diskSize": 0,
"diskType": "ISCSI",
"diskId": "string"
}
}
],
"networkInfo": [
{
"name": "string",
"subnet": [
"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"
},
"publicIP": false
},
"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>'