Get list of eligible source copies for given region id
Gives a list of eligible source copies for given region id
Path Parameters
- planId integer required
Id of plan
Query Parameters
- regionId integer
Region Id against which we want to check eligible source copies. Skip if no region present.
- forSnapCopy boolean
Get list of source copy eligible for snap copy in given region.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
copy object[]
{
"copy": [
{
"isDefault": true,
"isActive": true,
"isSnapCopy": true,
"isMirrorCopy": true,
"copyType": "SYNCHRONOUS",
"snapCopyType": "DEFAULT_MIRROR",
"copyPrecedence": 0,
"backupDestination": {
"id": 0,
"name": "string"
},
"arrayReplicaCopy": true,
"defaultReplicaCopy": true
}
]
}
GET /v5/serverplan/:planid/backupdestination/sourcecopy/eligible
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V5/ServerPlan/:planId/BackupDestination/SourceCopy/Eligible' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/ServerPlan/:planId/BackupDestination/SourceCopy/Eligible' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/ServerPlan/:planId/BackupDestination/SourceCopy/Eligible' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/ServerPlan/:planId/BackupDestination/SourceCopy/Eligible' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/ServerPlan/:planId/BackupDestination/SourceCopy/Eligible' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/ServerPlan/:planId/BackupDestination/SourceCopy/Eligible' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/ServerPlan/:planId/BackupDestination/SourceCopy/Eligible' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'