Get Storage Policies
This operation returns a list of storage policies.
Query Parameters
- propertyLevel integer
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Storage Policy
- Storage Policy with property level 30
Schema
policies object[]
numberOfStreams integerstoragePolicy object
storagePolicyName stringstoragePolicyId integer
{
"policies": [
{
"numberOfStreams": 0,
"storagePolicy": {
"storagePolicyName": "string",
"storagePolicyId": 0
}
}
]
}
{
"policies": [
{
"numberOfStreams": 1,
"storagePolicy": {
"storagePolicyName": "CommServeDR",
"storagePolicyId": 2
}
},
{
"numberOfStreams": 50,
"storagePolicy": {
"storagePolicyName": "CSSP",
"storagePolicyId": 3
}
},
{
"numberOfStreams": 50,
"storagePolicy": {
"storagePolicyName": "bdcsrvtest04",
"storagePolicyId": 28
}
},
{
"numberOfStreams": 100,
"storagePolicy": {
"storagePolicyName": "Server plan",
"storagePolicyId": 43
}
},
{
"numberOfStreams": 50,
"storagePolicy": {
"storagePolicyName": "storagepolicy_bdcsrvtest05",
"storagePolicyId": 55
}
},
{
"numberOfStreams": 100,
"storagePolicy": {
"storagePolicyName": "NewManPlan",
"storagePolicyId": 59
}
},
{
"numberOfStreams": 100,
"storagePolicy": {
"storagePolicyName": "Gold plan",
"storagePolicyId": 60
}
},
{
"numberOfStreams": 50,
"storagePolicy": {
"storagePolicyName": "storagepolicy_bdcsrvtest04",
"storagePolicyId": 65
}
},
{
"numberOfStreams": 50,
"storagePolicy": {
"storagePolicyName": "CCM_dedupe1",
"storagePolicyId": 105
}
},
{
"numberOfStreams": 50,
"storagePolicy": {
"storagePolicyName": "CCM_sp3",
"storagePolicyId": 106
}
},
{
"numberOfStreams": 50,
"storagePolicy": {
"storagePolicyName": "SujSP1",
"storagePolicyId": 110
}
},
{
"numberOfStreams": 50,
"storagePolicy": {
"storagePolicyName": "SujLogSP",
"storagePolicyId": 111
}
},
{
"numberOfStreams": 50,
"storagePolicy": {
"storagePolicyName": "Auto3SP",
"storagePolicyId": 137
}
},
{
"numberOfStreams": 100,
"storagePolicy": {
"storagePolicyName": "UpdatedPlanName 1562148121264 (3)",
"storagePolicyId": 162
}
},
{
"numberOfStreams": 100,
"storagePolicy": {
"storagePolicyName": "UpdatedPlanName 1563276664861 (3)",
"storagePolicyId": 168
}
},
{
"numberOfStreams": 100,
"storagePolicy": {
"storagePolicyName": "UpdatedPlanName 1563861511050 (3)",
"storagePolicyId": 175
}
},
{
"numberOfStreams": 100,
"storagePolicy": {
"storagePolicyName": "UpdatedPlanName 1564475798133 (3)",
"storagePolicyId": 180
}
}
]
}
{
"policies": [
{
"type": 2,
"numberOfStreams": 1,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "CommServeDR",
"storagePolicyId": 2
}
},
{
"type": 1,
"numberOfStreams": 50,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "CSSP",
"storagePolicyId": 3
}
},
{
"type": 1,
"numberOfStreams": 50,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "bdcsrvtest04",
"storagePolicyId": 28
}
},
{
"type": 1,
"numberOfStreams": 100,
"numberOfCopies": 2,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"considerIncrSnapsAsFull": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "Server plan",
"storagePolicyId": 43
},
"plans": [
{
"planName": "Server plan",
"planId": 1
}
]
},
{
"type": 1,
"numberOfStreams": 50,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "storagepolicy_bdcsrvtest05",
"storagePolicyId": 55
}
},
{
"type": 1,
"numberOfStreams": 100,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "NewManPlan",
"storagePolicyId": 59
},
"plans": [
{
"planName": "NewManPlan",
"planId": 2
}
]
},
{
"type": 1,
"numberOfStreams": 100,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "Gold plan",
"storagePolicyId": 60
},
"plans": [
{
"planName": "Gold plan",
"planId": 3
}
]
},
{
"type": 1,
"numberOfStreams": 50,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "storagepolicy_bdcsrvtest04",
"storagePolicyId": 65
}
},
{
"type": 1,
"numberOfStreams": 50,
"numberOfCopies": 2,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "CCM_dedupe1",
"storagePolicyId": 105
}
},
{
"type": 1,
"numberOfStreams": 50,
"numberOfCopies": 2,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "CCM_sp3",
"storagePolicyId": 106
}
},
{
"type": 1,
"numberOfStreams": 50,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "SujSP1",
"storagePolicyId": 110
}
},
{
"type": 1,
"numberOfStreams": 50,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "SujLogSP",
"storagePolicyId": 111
}
},
{
"type": 1,
"numberOfStreams": 50,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "Auto3SP",
"storagePolicyId": 137
}
},
{
"type": 1,
"numberOfStreams": 100,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "UpdatedPlanName 1562148121264 (3)",
"storagePolicyId": 162
}
},
{
"type": 1,
"numberOfStreams": 100,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "UpdatedPlanName 1563276664861 (3)",
"storagePolicyId": 168
}
},
{
"type": 1,
"numberOfStreams": 100,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "UpdatedPlanName 1563861511050 (3)",
"storagePolicyId": 175
}
},
{
"type": 1,
"numberOfStreams": 100,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"blockLevelDedup": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "UpdatedPlanName 1564475798133 (3)",
"storagePolicyId": 180
}
},
{
"type": 1,
"numberOfStreams": 14,
"numberOfCopies": 1,
"smReplicationProtocolType": 0,
"flag": {
"distributeDataEvenlyAmongStreams": 1,
"cacheResourceReservationForJobs": 1,
"randomizeStream": 1
},
"incrementalStoragePolicy": {
"storagePolicyName": "",
"storagePolicyId": 0
},
"storagePolicy": {
"storagePolicyName": "TestSP11",
"storagePolicyId": 195
}
}
],
"error": {
"errorMessage": "",
"errorCode": 0
}
}
Loading...