Queries basic 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:ListBasicAccelerators | list |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region to which the basic GA instance belongs. 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. Valid values: 1 to 50. Default value: 10. | 10 |
AcceleratorId | string | No | The ID of the basic GA instance. | ga-bp17frjjh0udz4qz**** |
State | string | No | The state of the basic GA instance. Valid values:
| active |
ResourceGroupId | string | No | The ID of the resource group to which the basic GA instance belongs. | rg-aekzrnd67gq**** |
Tag | array<object> | No | The tags of the GA instance. | |
object | No | |||
Key | string | No | The key of tag N of the basic GA instance. 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. | Keytest |
Value | string | No | The value of tag N of the basic GA instance. 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. | Valuetest |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 1,
"PageSize": 10,
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45",
"Accelerators": [
{
"Type": "None",
"State": "active",
"CreateTime": 1637734547,
"BasicBandwidthPackage": {
"Bandwidth": 2,
"BandwidthType": "Basic",
"InstanceId": "gbwp-bp1d8xk8bg139j0fw****"
},
"RegionId": "cn-hangzhou",
"InstanceChargeType": "PREPAY",
"AcceleratorId": "ga-bp17frjjh0udz4qz****",
"Description": "BasicAccelerator",
"ExpiredTime": 1640326547,
"Name": "BasicAccelerator",
"CrossDomainBandwidthPackage": {
"Bandwidth": 2,
"InstanceId": "gbwp-bp1d8xk8bg139j0fw****"
},
"BasicEndpointGroupId": "epg-bp1dmlohjjz4kqaun****",
"BasicIpSetId": "ips-bp11ilwqjdkjeg9r7****",
"BandwidthBillingType": "BandwidthPackage",
"ResourceGroupId": "rg-aekzrnd67gq****",
"Tags": [
{
"Key": "Keytest",
"Value": "Valuetest"
}
],
"CrossBorderStatus": 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-07-20 | The Error code has changed | View Change Details |
2023-04-06 | The Error code has changed. The response structure of the API has changed | View Change Details |