You can call this operation to query the priority range of access control policies that match specific query conditions.

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 DescribePolicyPriorUsed

The operation that you want to perform. Set the value to DescribePolicyPriorUsed.

Direction String Yes in

The traffic direction defined in the access control policy. Valid values:

  • in: inbound traffic
  • out: outbound traffic
Lang String No zh

The language of the request and response. Valid values:

  • en: English
  • zh: Chinese
SourceIp String No 1.2.3.4

The source IP address of the request.

Response parameters

Parameter Type Example Description
End Integer 150

The lowest priority among the returned access control policies.

RequestId String CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D

The ID of the request.

Start Integer 1

The highest priority among the returned access control policies.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribePolicyPriorUsed
&Direction=in
&<Common request parameters>

Sample success responses

XML format

<DescribePolicyPriorUsed>
	  <RequestId>CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D</RequestId>
	  <Start>1</Start>
	  <End>150</End>
</DescribePolicyPriorUsed>

JSON format

{
	"End":150,
	"Start":1,
	"RequestId":"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D"
}

Error codes

For a list of error codes, visit the API Error Center.