Queries the information about application acceleration rules that are added to a bandwidth plan for application acceleration.

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 ListApplicationAccelerateRules

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

RegionId String Yes cn-shanghai

The region ID of the bandwidth plan for application acceleration.

You can call the DescribeRegions operation to query the most recent region list.

ApplicationBandwidthPackageId String Yes abwp-7963l7iqnquyj3****

The ID of the bandwidth plan for application acceleration.

NextToken String No dd20****

The token for returning the next page when the data is returned in more than one page.

MaxResults Integer No 10

The number of entries to return on each page. Valid values: 1 to 20. Default value: 10.

Response parameters

Parameter Type Example Description
ApplicationAccelerateRules Array of ApplicationAccelerateRule

The list of application acceleration rules.

ApplicationAccelerateRuleId String abwpr-arjtt9kbi9bdd6****

The ID of the application acceleration rule.

ServiceRegionId String cn-hongkong

The ID of the service region, which is the region ID of the applications.

Bandwidth Integer 1

The maximum bandwidth value of the application acceleration rule. Unit: Mbit/s.

CreateTime String 1625727845000

The timestamp generated when the application acceleration rule was created.

Applications Array of String O365

The applications that you want to accelerate.

MaxResults Integer 10

The number of entries returned on each page.

NextToken String dd20****

The token for returning the next page when the data is returned in more than one page.

RequestId String 4EFE55C4-8FF3-4F02-B3EF-EDB7EB3C62F0

The ID of the request.

TotalCount Integer 1

The total number of entries returned.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListApplicationAccelerateRules
&RegionId=cn-shanghai
&ApplicationBandwidthPackageId=abwp-7963l7iqnquyj3****
&NextToken=dd20****
&MaxResults=10
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ListApplicationAccelerateRulesResponse>
    <TotalCount>1</TotalCount>
    <RequestId>4EFE55C4-8FF3-4F02-B3EF-EDB7EB3C62F0</RequestId>
    <MaxResults>10</MaxResults>
    <ApplicationAccelerateRules>
        <ApplicationAccelerateRuleId>abwpr-arjtt9kbi9bdd6****</ApplicationAccelerateRuleId>
        <ServiceRegionId>cn-hongkong</ServiceRegionId>
        <Applications>O365</Applications>
        <Bandwidth>1</Bandwidth>
        <CreateTime>1625727845000</CreateTime>
    </ApplicationAccelerateRules>
</ListApplicationAccelerateRulesResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "TotalCount" : 1,
  "RequestId" : "4EFE55C4-8FF3-4F02-B3EF-EDB7EB3C62F0",
  "MaxResults" : 10,
  "ApplicationAccelerateRules" : [ {
    "ApplicationAccelerateRuleId" : "abwpr-arjtt9kbi9bdd6****",
    "ServiceRegionId" : "cn-hongkong",
    "Applications" : [ "O365" ],
    "Bandwidth" : 1,
    "CreateTime" : 1625727845000
  } ]
}

Error codes

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