Create a Storage Pool
Select
SaaS
Customer Managed
This operation creates a Storage Pool.
Query Parameters
- Action string
Default value:
create
- application/json
Request Body
- storagePolicyName string required
Name of the storage pool to be created
- type integer
Default value:
1
- copyName string
Name of the storage pool copy to be created
- numberOfCopies integer
clientGroup object
storage object[] required
storagePolicyCopyInfo object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- responseType integer
archiveGroupCopy object
error object
{
"responseType": 0,
"archiveGroupCopy": {
"storagePolicyName": "string",
"storagePolicyId": 0,
"copyId": 0,
"_type_": 0,
"copyName": "string"
},
"error": {
"errorCode": 0
}
}
{
"responseType": 0,
"archiveGroupCopy": {
"storagePolicyName": "newmanStoragePool1672130278265",
"storagePolicyId": 121787,
"copyId": 122053,
"_type_": 18,
"copyName": "newmanStoragePoolCopy1672130278265"
},
"error": {
"errorCode": 0
}
}
POST /storagepool
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/StoragePool' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyName": "string",
"type": 1,
"copyName": "string",
"numberOfCopies": 0,
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"storage": [
{
"path": "string",
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"credentials": {}
}
],
"storagePolicyCopyInfo": {
"copyType": 0,
"isFromGui": true,
"active": 0,
"isDefault": 0,
"numberOfStreamsToCombine": 0,
"dedupeFlags": {
"enableDASHFull": 0,
"hostGlobalDedupStore": 0,
"enableDeduplication": 0
},
"storagePolicyFlags": {
"blockLevelDedup": 0,
"enableGlobalDeduplication": 0,
"globalStoragePolicy": 0
},
"DDBPartitionInfo": {
"maInfoList": [
{
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"subStoreList": [
{
"diskFreeWarningThreshholdMB": 0,
"diskFreeThresholdMB": 0,
"accessPath": {
"path": "string"
}
}
]
}
]
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/StoragePool' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyName": "string",
"type": 1,
"copyName": "string",
"numberOfCopies": 0,
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"storage": [
{
"path": "string",
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"credentials": {}
}
],
"storagePolicyCopyInfo": {
"copyType": 0,
"isFromGui": true,
"active": 0,
"isDefault": 0,
"numberOfStreamsToCombine": 0,
"dedupeFlags": {
"enableDASHFull": 0,
"hostGlobalDedupStore": 0,
"enableDeduplication": 0
},
"storagePolicyFlags": {
"blockLevelDedup": 0,
"enableGlobalDeduplication": 0,
"globalStoragePolicy": 0
},
"DDBPartitionInfo": {
"maInfoList": [
{
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"subStoreList": [
{
"diskFreeWarningThreshholdMB": 0,
"diskFreeThresholdMB": 0,
"accessPath": {
"path": "string"
}
}
]
}
]
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/StoragePool' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyName": "string",
"type": 1,
"copyName": "string",
"numberOfCopies": 0,
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"storage": [
{
"path": "string",
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"credentials": {}
}
],
"storagePolicyCopyInfo": {
"copyType": 0,
"isFromGui": true,
"active": 0,
"isDefault": 0,
"numberOfStreamsToCombine": 0,
"dedupeFlags": {
"enableDASHFull": 0,
"hostGlobalDedupStore": 0,
"enableDeduplication": 0
},
"storagePolicyFlags": {
"blockLevelDedup": 0,
"enableGlobalDeduplication": 0,
"globalStoragePolicy": 0
},
"DDBPartitionInfo": {
"maInfoList": [
{
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"subStoreList": [
{
"diskFreeWarningThreshholdMB": 0,
"diskFreeThresholdMB": 0,
"accessPath": {
"path": "string"
}
}
]
}
]
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/StoragePool' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyName": "string",
"type": 1,
"copyName": "string",
"numberOfCopies": 0,
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"storage": [
{
"path": "string",
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"credentials": {}
}
],
"storagePolicyCopyInfo": {
"copyType": 0,
"isFromGui": true,
"active": 0,
"isDefault": 0,
"numberOfStreamsToCombine": 0,
"dedupeFlags": {
"enableDASHFull": 0,
"hostGlobalDedupStore": 0,
"enableDeduplication": 0
},
"storagePolicyFlags": {
"blockLevelDedup": 0,
"enableGlobalDeduplication": 0,
"globalStoragePolicy": 0
},
"DDBPartitionInfo": {
"maInfoList": [
{
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"subStoreList": [
{
"diskFreeWarningThreshholdMB": 0,
"diskFreeThresholdMB": 0,
"accessPath": {
"path": "string"
}
}
]
}
]
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/StoragePool' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyName": "string",
"type": 1,
"copyName": "string",
"numberOfCopies": 0,
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"storage": [
{
"path": "string",
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"credentials": {}
}
],
"storagePolicyCopyInfo": {
"copyType": 0,
"isFromGui": true,
"active": 0,
"isDefault": 0,
"numberOfStreamsToCombine": 0,
"dedupeFlags": {
"enableDASHFull": 0,
"hostGlobalDedupStore": 0,
"enableDeduplication": 0
},
"storagePolicyFlags": {
"blockLevelDedup": 0,
"enableGlobalDeduplication": 0,
"globalStoragePolicy": 0
},
"DDBPartitionInfo": {
"maInfoList": [
{
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"subStoreList": [
{
"diskFreeWarningThreshholdMB": 0,
"diskFreeThresholdMB": 0,
"accessPath": {
"path": "string"
}
}
]
}
]
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/StoragePool' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyName": "string",
"type": 1,
"copyName": "string",
"numberOfCopies": 0,
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"storage": [
{
"path": "string",
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"credentials": {}
}
],
"storagePolicyCopyInfo": {
"copyType": 0,
"isFromGui": true,
"active": 0,
"isDefault": 0,
"numberOfStreamsToCombine": 0,
"dedupeFlags": {
"enableDASHFull": 0,
"hostGlobalDedupStore": 0,
"enableDeduplication": 0
},
"storagePolicyFlags": {
"blockLevelDedup": 0,
"enableGlobalDeduplication": 0,
"globalStoragePolicy": 0
},
"DDBPartitionInfo": {
"maInfoList": [
{
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"subStoreList": [
{
"diskFreeWarningThreshholdMB": 0,
"diskFreeThresholdMB": 0,
"accessPath": {
"path": "string"
}
}
]
}
]
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/StoragePool' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"storagePolicyName": "string",
"type": 1,
"copyName": "string",
"numberOfCopies": 0,
"clientGroup": {
"clientGroupId": 0,
"clientGroupName": "string"
},
"storage": [
{
"path": "string",
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"credentials": {}
}
],
"storagePolicyCopyInfo": {
"copyType": 0,
"isFromGui": true,
"active": 0,
"isDefault": 0,
"numberOfStreamsToCombine": 0,
"dedupeFlags": {
"enableDASHFull": 0,
"hostGlobalDedupStore": 0,
"enableDeduplication": 0
},
"storagePolicyFlags": {
"blockLevelDedup": 0,
"enableGlobalDeduplication": 0,
"globalStoragePolicy": 0
},
"DDBPartitionInfo": {
"maInfoList": [
{
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
},
"subStoreList": [
{
"diskFreeWarningThreshholdMB": 0,
"diskFreeThresholdMB": 0,
"accessPath": {
"path": "string"
}
}
]
}
]
},
"library": {
"libraryName": "string",
"libraryId": 0
},
"mediaAgent": {
"mediaAgentId": 0,
"mediaAgentName": "string"
}
}
}'