Batch Modifying Forwarding Policy Priorities
Function
This API is used to batch modify the priorities of forwarding policies.
Constraints
This API is only used to update the priorities of forwarding policies added to a listener of a dedicated load balancer when action is set to REDIRECT_TO_POOL.
Calling Method
For details, see Calling APIs.
URI
POST /v3/{project_id}/elb/l7policies/batch-update-priority
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the token used for IAM authentication. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
l7policies |
No |
Array of BatchUpdatePriorityRequestBody objects |
Specifies the forwarding policy. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
id |
Yes |
String |
Specifies the ID of the forwarding policy. |
priority |
Yes |
Integer |
Specifies the forwarding policy priority. A smaller value indicates a higher priority. Value ranges:
Default value options:
Note:
This parameter is supported by forwarding policies of shared load balancers. |
Response Parameters
Status code: 202
Parameter |
Type |
Description |
---|---|---|
request_id |
String |
Specifies the request ID. |
Example Requests
Batch modifying the priorities of forwarding policies
POST https://{ELB_Endpoint}/v3/060576782980d5762f9ec014dd2f1148/elb/l7policies/batch-update-priority { "l7policies" : [ { "id" : "1fe93e12-6e07-47a9-8f81-3346c015601d", "priority" : 11 } ] }
Example Responses
Status code: 202
Created
{ "request_id" : "e5c07525-1470-47b6-9b0c-567527a036aa" }
Status Codes
Status Code |
Description |
---|---|
202 |
Created |
Error Codes
See Error Codes.
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