Edit data reallocation
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/editDataReallocation.adm HTTP/1.1
Host:{manager.dsnet}
id={spId}&rateLimitEnabled={true|false}
&rateLimitMB={limitInMB}
&reallocationPaused={true|false}
&rateLimitEnabledMap[{spId2}]={true|false}
&rateLimitEnabledMap[{spId3}]={true|false}
&rateLimitMBMap[{spId2}]={limitInMB}
&rateLimitMBMap[{spId3}]={limitInMB}
&reallocationPausedMap[{spId2}]=false
&reallocationPausedMap[{spId3}]=false
&useGlobalPropertyMap[{spId1}]={true|false}Curl method
curl -X POST
-u admin:test
-k ”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/editDataReallocation.adm“
-d ”id={spId}&rateLimitEnabled={true|false}
&rateLimitMB={limitInMB}
&reallocationPaused={true|false}
&rateLimitEnabledMap[{spId2}]={true|false}
&rateLimitEnabledMap[{spId3}]={true|false}
&rateLimitMBMap[{spId2}]={limitInMB}
&rateLimitMBMap[{spId3}]={limitInMB}
&reallocationPausedMap[{spId2}]=false
&reallocationPausedMap[{spId3}]=false
&useGlobalPropertyMap[{spId1}]={true|false}“Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| Parameter | Optional | Type |
Description |
|
| id | Long | Required |
Storage Pool ID. |
|
| rateLimitEnabled | Boolean | Required |
Used when setting if rate limit is enabled on all storage sets marked as true in the useGlobalPropertyMap. |
|
| rateLimitMB | Integer | Optional |
Used when setting what rate limit (in MB) should be used for all storage sets marked as true in the useGlobalPropertyMap. |
|
| reallocationPaused | Boolean | Required |
Should reallocation be paused on all storage sets marked as true in the useGlobalPropertyMap. |
|
| rateLimitEnabledMap | Map | Required |
A map of Storage Pool IDs to a boolean for if the rate limit should be enabled. |
|
| rateLimitMBMap | Map | Optional |
A map of Storage Pool IDs to a number that the rate limit should be set as in MB. |
|
| reallocationPausedMap | Map | Required |
A map of Storage Pool IDs to a boolean for if the reallocation should be paused. |
|
| useGlobalPropertyMap | Map | Required |
A map of Storage Pool IDs that are mapped to a boolean value whether they should get overwritten with the top-level rateLimitEnabled, rateLimitMB, and isReallocationPaused properties. |
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.