Get Storage Policy Details
This operation returns the details of a storage policy.
Path Parameters
- storagePolicyId string required
Query Parameters
- propertyLevel int32
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Storage Policy with property Level 10
- Storage Policy with property level 1
Schema
policies object[]
timeZoneType integerdescription stringtype integersearchEngineName stringsearchEngineId integernumberOfStreams integersidbBlockSizeKB integerauxCopyAlertGB integernumberOfCopies integerauxCopyAlertDays integersmReplicationProtocolType integerflag object
distributeDataEvenlyAmongStreams integerblockLevelDedup integerrandomizeStream integerlogStoragePolicy object
storagePolicyName stringstoragePolicyId integercopies object[]
copyType integerisDefault integerisSnapCopy integerisMirrorCopy integercopyPrecedence integerstoragePool object
storagePoolName stringstoragePoolId integerretentionRules object
retainBackupDataForCycles integerretainBackupDataForDays integerStoragePolicyCopy object
copyId integercopyName stringlibrary object
libraryName stringlibraryId integermediaAgent object
mediaAgentId integermediaAgentName stringincrementalStoragePolicy object
storagePolicyName stringstoragePolicyId integerstoragePolicy object
storagePolicyName stringstoragePolicyId integererror object
errorMessage stringerrorCode integer
{
"policies": [
{
"timeZoneType": 0,
"description": "string",
"type": 0,
"searchEngineName": "string",
"searchEngineId": 0,
"numberOfStreams": 0,
"sidbBlockSizeKB": 0,
"auxCopyAlertGB": 0,
"numberOfCopies": 0,
"auxCopyAlertDays": 0,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 0,
"blockLevelDedup": 0,
"randomizeStream": 0
},
"logStoragePolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
},
"copies": [
{
"copyType": 0,
"isDefault": 0,
"isSnapCopy": 0,
"isMirrorCopy": 0,
"copyPrecedence": 0,
"storagePool": {
"storagePoolName": "string",
"storagePoolId": 0
},
"retentionRules": {
"retainBackupDataForCycles": 0,
"retainBackupDataForDays": 0
},
"StoragePolicyCopy": {
"copyId": 0,
"copyName": "string"
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
}
}
],
"incrementalStoragePolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
{
"policies": [
{
"timeZoneType": 0,
"description": "Automatically Created by CommCell Migration",
"type": 1,
"searchEngineName": "TestIndex",
"searchEngineId": 1,
"numberOfStreams": 50,
"sidbBlockSizeKB": 128,
"auxCopyAlertGB": 0,
"numberOfCopies": 2,
"auxCopyAlertDays": 0,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"randomizeStream": 1
},
"logStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"copies": [
{
"copyType": 1,
"isDefault": 1,
"isSnapCopy": 0,
"isMirrorCopy": 0,
"copyPrecedence": 1,
"storagePool": {
"storagePoolName": "",
"storagePoolId": 0
},
"retentionRules": {
"retainBackupDataForCycles": 1,
"retainBackupDataForDays": 30
},
"StoragePolicyCopy": {
"copyId": 110,
"copyName": "CCM_Primary"
},
"library": {
"libraryName": "N/A",
"libraryId": 0
},
"mediaAgent": {
"mediaAgentId": 48,
"mediaAgentName": "auto3SP-2"
}
},
{
"copyType": 1,
"isDefault": 0,
"isSnapCopy": 0,
"isMirrorCopy": 0,
"copyPrecedence": 2,
"storagePool": {
"storagePoolName": "",
"storagePoolId": 0
},
"retentionRules": {
"retainBackupDataForCycles": 1,
"retainBackupDataForDays": 30
},
"StoragePolicyCopy": {
"copyId": 214,
"copyName": "Copy-2"
},
"library": {
"libraryName": "SujLib1",
"libraryId": 51
},
"mediaAgent": {
"mediaAgentId": 2,
"mediaAgentName": "bdcsrvtest05"
}
}
],
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "CCM_dedupe1",
"storagePolicyId": 105
}
}
],
"error": {
"errorMessage": "",
"errorCode": 0
}
}
{
"policies": [
{
"timeZoneType": 0,
"description": "Automatically Created by CommCell Migration",
"type": 1,
"searchEngineName": "",
"searchEngineId": 0,
"numberOfStreams": 50,
"sidbBlockSizeKB": 128,
"auxCopyAlertGB": 0,
"numberOfCopies": 2,
"auxCopyAlertDays": 0,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "CCM_dedupe1",
"storagePolicyId": 105
}
}
],
"error": {
"errorMessage": "",
"errorCode": 0
}
}
Loading...