Queries Global Accelerator (GA) instances.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
ga:ListAccelerators | list |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where the GA instance is deployed. Set the value to cn-hangzhou. | cn-hangzhou |
PageNumber | integer | No | The page number. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. Maximum value: 50. Default value: 10. | 10 |
AcceleratorId | string | No | The ID of the GA instance. | ga-bp1odcab8tmno0hdq**** |
State | string | No | The status of the GA instance. Valid values:
| active |
ResourceGroupId | string | No | The ID of the resource group. | rg-aekztkx4zwc**** |
Tag | array<object> | No | The tags of the GA instance. | |
object | No | The tags of the GA instance. | ||
Key | string | No | The tag key of the GA resource. The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot contain You can specify up to 20 tag keys. | tag-key |
Value | string | No | The tag value of the GA resource. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain You can specify up to 20 tag values. | tag-value |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 10,
"PageSize": 10,
"RequestId": "DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6",
"Accelerators": [
{
"DnsName": "ga-bp15u1i2hmtbk8c3i****.aliyunga0019.com",
"Type": "Invalid parameter\n",
"SecondDnsName": "ga-bp1f609c76zg6zuna****-1.aliyunga0047.com",
"Spec": "1",
"State": "active",
"CreateTime": 1650643200,
"CenId": "cen-hjfufhjfuwff****",
"DdosId": "ddoscoo-cn-zz11vq7j****",
"BasicBandwidthPackage": {
"Bandwidth": 2,
"BandwidthType": "Basic",
"InstanceId": "gbwp-bp1d8xk8bg139j0fw****"
},
"RegionId": "cn-hangzhou",
"InstanceChargeType": "PREPAY",
"AcceleratorId": "ga-bp1odcab8tmno0hdq****",
"Description": "Accelerator",
"Bandwidth": 5,
"BandwidthBillingType": "CDT",
"ExpiredTime": 1653235200,
"Name": "Accelerator",
"CrossDomainBandwidthPackage": {
"Bandwidth": 2,
"InstanceId": "gbwp-bp1d8xk8bg139j0fw****"
},
"IpSetConfig": {
"AccessMode": "UserDefine"
},
"ResourceGroupId": "rg-aekztkx4zwc****",
"Tags": [
{
"Key": "test-key",
"Value": "tast-value"
}
],
"CrossBorderMode": "bpgPro",
"CrossBorderStatus": false,
"UpgradableStatus": "notUpgradable",
"ServiceId": "ALB",
"ServiceManaged": true,
"ServiceManagedInfos": [
{
"Action": "Update",
"ChildType": "Listener",
"IsManaged": false
}
]
}
],
"PageNumber": 1
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | An error occurred while the request was being processed. Try again later. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-08-15 | The Error code has changed. The response structure of the API has changed | View Change Details |
2023-07-20 | The Error code has changed | View Change Details |
2023-06-14 | The Error code has changed. The response structure of the API has changed | View Change Details |
2023-04-06 | The Error code has changed. The response structure of the API has changed | View Change Details |