Queries a list of Global Accelerator instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListAccelerators |
list |
*Accelerator
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the Global Accelerator 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 to return on each page. Maximum value: 50. Default value: 10. |
10 |
| AcceleratorId |
string |
No |
The ID of the Global Accelerator instance. |
ga-bp1odcab8tmno0hdq**** |
| State |
string |
No |
The status of the Global Accelerator instance. Valid values:
|
active |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-aekztkx4zwc**** |
| Tag |
array<object> |
No |
The tags of the resource. |
|
|
object |
No |
The tags of the resource. |
||
| Key |
string |
No |
The tag key of the Global Accelerator resource. The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with Specify up to 20 tag keys. |
tag-key |
| Value |
string |
No |
The tag value of the Global Accelerator resource. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with Specify up to 20 tag values. |
tag-value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned information. |
||
| TotalCount |
integer |
The number of entries returned. |
10 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| RequestId |
string |
The request ID. |
DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6 |
| Accelerators |
array<object> |
The information about the Global Accelerator instances. |
|
|
array<object> |
The information about the Global Accelerator instances. |
||
| DnsName |
string |
The canonical name (CNAME) assigned to the Global Accelerator instance. |
ga-bp15u1i2hmtbk8c3i****.aliyunga0019.com |
| Type |
string |
This parameter is invalid. |
|
| SecondDnsName |
string |
The CNAME that is assigned after the Global Accelerator instance is associated with an Anti-DDoS Pro/Premium instance. |
ga-bp1f609c76zg6zuna****-1.aliyunga0047.com |
| Spec |
string |
The specification of the Global Accelerator instance. Valid values:
Note
The Large III and higher specifications are available only to users on the whitelist. To use these specifications, contact your account manager. The definitions of instance specifications vary. For more information, see Instance specifications. |
1 |
| State |
string |
The status of the Global Accelerator instance. Valid values:
|
active |
| CreateTime |
integer |
The timestamp that indicates when the Global Accelerator instance was created. |
1650643200 |
| CenId |
string |
The Cloud Enterprise Network (CEN) instance that is associated with the Global Accelerator instance. |
cen-hjfufhjfuwff**** |
DdosId
deprecated
|
string |
The ID of the Anti-DDoS Pro/Premium instance that is associated with the Global Accelerator instance. |
ddoscoo-cn-zz11vq7j**** |
| BasicBandwidthPackage |
object |
The details of the basic bandwidth plan that is associated with the Global Accelerator instance. |
|
| Bandwidth |
integer |
The bandwidth of the basic bandwidth plan. Unit: Mbps. |
2 |
| BandwidthType |
string |
The type of the bandwidth. Valid values:
|
Basic |
| InstanceId |
string |
The ID of the basic bandwidth plan. |
gbwp-bp1d8xk8bg139j0fw**** |
| RegionId |
string |
The ID of the region where the Global Accelerator instance is deployed. The value is set to cn-hangzhou. |
cn-hangzhou |
| InstanceChargeType |
string |
The billing method of the Global Accelerator instance. |
PREPAY |
| AcceleratorId |
string |
The ID of the Global Accelerator instance. |
ga-bp1odcab8tmno0hdq**** |
| Description |
string |
The description of the Global Accelerator instance. |
Accelerator |
| Bandwidth |
integer |
The bandwidth of the Global Accelerator instance. Unit: Mbps. |
5 |
| BandwidthBillingType |
string |
The billing method of the bandwidth.
|
CDT |
| ExpiredTime |
integer |
The timestamp that indicates when the Global Accelerator instance expires. |
1653235200 |
| Name |
string |
The name of the Global Accelerator instance. |
Accelerator |
| CrossDomainBandwidthPackage |
object |
The details of the cross-region acceleration bandwidth plan that is associated with the Global Accelerator instance. This array is returned only on the Alibaba Cloud International website (www.alibabacloud.com). |
|
| Bandwidth |
integer |
The bandwidth of the cross-region acceleration bandwidth plan. Unit: Mbps. |
2 |
| InstanceId |
string |
The ID of the cross-region acceleration bandwidth plan. |
gbwp-bp1d8xk8bg139j0fw**** |
| IpSetConfig |
object |
The configurations of the acceleration area. |
|
| AccessMode |
string |
The access mode of the acceleration area. Valid values:
|
UserDefine |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-aekztkx4zwc**** |
| Tags |
array<object> |
The tags of the resource. |
|
|
object |
The tags of the resource. |
||
| Key |
string |
The tag key. |
test-key |
| Value |
string |
The tag value. |
tast-value |
| CrossBorderMode |
string |
The type of cross-border acceleration for the instance that is billed on a pay-by-data-transfer basis. Valid values:
|
bpgPro |
| CrossBorderStatus |
boolean |
Indicates whether cross-border acceleration is enabled. Valid values:
|
false |
| UpgradableStatus |
string |
The upgrade status of the Global Accelerator instance. Valid values:
|
notUpgradable |
| ServiceId |
string |
The ID of the service that manages the instance. Note
This parameter is returned only when ServiceManaged is set to True. |
ALB |
| ServiceManaged |
boolean |
Indicates whether the instance is a managed instance. Valid values:
|
true |
| ServiceManagedInfos |
array<object> |
The actions that you can perform on the managed instance. Note
|
|
|
object |
The actions that you can perform on the managed instance. |
||
| Action |
string |
The name of the action on the managed instance. Valid values:
|
Update |
| ChildType |
string |
The type of the child resource. Valid values:
Note
This parameter is valid only when Action is set to CreateChild. |
Listener |
| IsManaged |
boolean |
Indicates whether the specified action is managed. Valid values:
|
false |
| DdosConfigList |
array<object> |
||
|
object |
|||
| DdosId |
string |
||
| DdosRegionId |
string |
||
| PageNumber |
integer |
The page number of the returned page. |
1 |
Examples
Success response
JSON format
{
"TotalCount": 10,
"PageSize": 10,
"RequestId": "DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6",
"Accelerators": [
{
"DnsName": "ga-bp15u1i2hmtbk8c3i****.aliyunga0019.com",
"Type": "",
"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
}
],
"DdosConfigList": [
{
"DdosId": "",
"DdosRegionId": ""
}
]
}
],
"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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.