Get Storage Policy Copy Details
Select
SaaS
Customer Managed
This operation returns the details of a storage policy copy.
Path Parameters
- storagePolicyId string required
- copyId string required
Header Parameters
- Accept string required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Storage Policy Copy Details
Schema
copy object
error object
{
"copy": {
"copyType": 0,
"active": 0,
"isDefault": 0,
"isSnapCopy": 0,
"isMirrorCopy": 0,
"throttleNetworkBandWidthMBHR": 0,
"copyPrecedence": 0,
"spareMediaGroup": {
"spareMediaGroupId": 0,
"spareMediaGroupName": "string"
},
"sourceCopy": {
"copyId": 0,
"copyName": "string"
},
"dedupeFlags": {},
"storagePool": {
"storagePoolName": "string",
"storagePoolId": 0
},
"retentionRules": {
"retainBackupDataForCycles": 0,
"jobs": 0,
"retainArchiverDataForDays": 0,
"retainBackupDataForDays": 0,
"retentionFlags": {
"dirtyExtendedRetention": 0,
"enableDataAging": 0
}
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"extendedFlags": {
"compressionOnClients": 0
},
"drivePool": {
"drivePoolName": "string",
"drivePoolId": 0
},
"copyFlags": {
"roundRobbinDataPath": 0,
"preserveEncryptionModeAsInSource": 0,
"storeKeyOnMedia": 0,
"autoAddDataPaths": 0
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"startTime": {
"time": 0
},
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
}
},
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
{
"copy": {
"copyType": 1,
"active": 1,
"isDefault": 1,
"isSnapCopy": 0,
"isMirrorCopy": 0,
"throttleNetworkBandWidthMBHR": 0,
"copyPrecedence": 1,
"spareMediaGroup": {
"spareMediaGroupId": 0,
"spareMediaGroupName": ""
},
"sourceCopy": {
"copyId": 0,
"copyName": ""
},
"dedupeFlags": {},
"storagePool": {
"storagePoolName": "",
"storagePoolId": 0
},
"retentionRules": {
"retainBackupDataForCycles": 2,
"jobs": 0,
"retainArchiverDataForDays": -1,
"retainBackupDataForDays": 30,
"retentionFlags": {
"dirtyExtendedRetention": 1,
"enableDataAging": 1
}
},
"StoragePolicyCopy": {
"copyId": 2,
"copyName": "Primary"
},
"extendedFlags": {
"compressionOnClients": 1
},
"drivePool": {
"drivePoolName": "DrivePool(bdcsrvtest05)1",
"drivePoolId": 1
},
"copyFlags": {
"roundRobbinDataPath": 1,
"preserveEncryptionModeAsInSource": 1,
"storeKeyOnMedia": 1,
"autoAddDataPaths": 1
},
"library": {
"libraryName": "CSLib",
"libraryId": 1
},
"startTime": {
"time": -1
},
"mediaAgent": {
"mediaAgentId": 2,
"mediaAgentName": "bdcsrvtest05"
}
},
"error": {
"errorMessage": "",
"errorCode": 0
}
}
GET /v2/storagepolicy/:storagepolicyid/copy/:copyid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V2/StoragePolicy/:storagePolicyId/Copy/:copyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V2/StoragePolicy/:storagePolicyId/Copy/:copyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V2/StoragePolicy/:storagePolicyId/Copy/:copyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V2/StoragePolicy/:storagePolicyId/Copy/:copyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V2/StoragePolicy/:storagePolicyId/Copy/:copyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V2/StoragePolicy/:storagePolicyId/Copy/:copyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V2/StoragePolicy/:storagePolicyId/Copy/:copyId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'