Edit storage pool object expiration work distribution
Edit object expiration 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/editStoragePoolObjectExpirationWorkDistribution.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/editStoragePoolObjectExpirationWorkDistribution.adm"
-d "id={storage-pool-id}&useDefaultDistribution={true|false}&accessPoolDistributions[n]={work-percent}&accessEnabledStoragePoolWorkDistribution={accesser-work-percent}"
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. |
|
| accessEnabledStoragePoolWorkDistribution | String | Optional |
For embedded IBM Accesser configurations: the percentage of work that should be assigned to the storage pool. |
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.