Modifies the priority of an access control policy that is created for a virtual private cloud (VPC) firewall in a specific policy group.

Description

You can call the ModifyVpcFirewallControlPolicyPosition operation to modify the priority of an access control policy that is created for a VPC firewall in a specific policy group.

Limits

You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyVpcFirewallControlPolicyPosition

The operation that you want to perform.

Set the value to ModifyVpcFirewallControlPolicyPosition.

NewOrder String Yes 1

The new priority of the access control policy.

OldOrder String Yes 5

The original priority of the access control policy.

VpcFirewallId String Yes vfw-a42bbb7b887148c9****

The ID of the policy group to which the access control policy belongs. You can call the DescribeVpcFirewallAclGroupList operation to query the ID.

Valid values:

  • If the VPC firewall is used to protect a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance.

    Example: cen-ervw0g12b5jbw****

  • If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.

    Example: vfw-a42bbb7b887148c9****

Lang String No zh

The natural language of the request and response.

Valid values:

  • zh: Chinese (default)
  • en: English

Response parameters

Parameter Type Example Description
RequestId String 850A84D6-0DE4-4797-A1E8-00090125EEB1

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyVpcFirewallControlPolicyPosition
&VpcFirewallId=vfw-a42bbb7b887148c9****
&NewOrder=1
&OldOrder=5
&<Common request parameters>

Sample success responses

XML format

<ModifyVpcFirewallControlPolicyPositionResponse>
  <RequestId>850A84D6-0DE4-4797-A1E8-00090125EEB1</RequestId>
</ModifyVpcFirewallControlPolicyPositionResponse>

JSON format

{
    "RequestId": "850A84D6-0DE4-4797-A1E8-00090125EEB1"
}