Edit storage pool replication work distribution
Edit replication work distribution for a storage pool.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST
/manager/api/{apiResponseType}/1.0/editStoragePoolReplicationWorkDistribution.adm
HTTP/1.1 Host:{manager.dsnet}
id={storage-pool-
id}&useDefaultDistribution={true|false}&accessPoolDistributions[n]={work-
percent}&accessEnabledStoragePoolWorkDistribution={accesser-work-percent
Curl method
curl -u {admin}:{password}
-k
"https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editStoragePoolReplicat
ionWorkDistribution.adm"
-d "id={storage-pool-
id}&useDefaultDistribution={true|false}&accessPoolDistributions[{access-pool-id-
1}]={work-percentage-1}&accessPoolDistributions[{access-pool-id-2}]={work-
percentage-2}"
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
Manager-generated ID of a storage pool. |
|
| useDefaultDistribution | Boolean | Required |
Flag indicating whether to use default values for scanning work distribution. |
|
| accessPoolDistributions | Map | Optional |
A map of access pools ids and the percentage of work each should be assigned. The total of all percentages must equal 100. |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.