Modifying Redistribution Configurations
Function
This API is used to modify redistribution configurations.
Calling Method
For details, see Calling APIs.
URI
PUT /v2/{project_id}/clusters/{cluster_id}/redistribution/configurations
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Definition Project ID. To obtain the value, see Obtaining a Project ID. Constraints N/A Range N/A Default Value N/A |
cluster_id |
Yes |
String |
Definition Cluster ID. For details about how to obtain the value, see Obtaining the Cluster ID. Constraints N/A Range N/A Default Value N/A |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
parallel_jobs |
Yes |
Integer |
Definition Concurrency. The default value is 4. Constraints N/A Range 1 to 200 Default Value N/A |
priority_policy |
Yes |
String |
Definition Redistribution priority policy. Constraints N/A Range
Default Value N/A |
Response Parameters
Status code: 200
Operation succeeded.
None
Example Requests
Set the number of concurrent tasks to 4 and the redistribution priority to large tables.
PUT https://{Endpoint}/v2/05f2cff45100d5112f4bc00b794ea08e/clusters/496c3032-c08f-4cd1-8c66-9b56a89a274d/redistribution/configurations { "parallel_jobs" : 4, "priority_policy" : "large" }
Example Responses
Status code: 200
Operation succeeded.
{ }
Status Codes
Status Code |
Description |
---|---|
200 |
Operation succeeded. |
400 |
Request error. |
401 |
Authentication failed. |
403 |
You do not have required permissions. |
404 |
No resources found. |
500 |
Internal server error. |
503 |
Service unavailable. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot