Queries a specified basic Global Accelerator (GA) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetBasicAccelerator | The operation that you want to perform. Set the value to GetBasicAccelerator. |
RegionId | String | Yes | cn-hangzhou | The ID of the region to which the basic GA instance belongs. Set the value to cn-hangzhou. |
AcceleratorId | String | Yes | ga-bp17frjjh0udz4qz**** | The ID of the basic GA instance that you want to query. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Description | String | BasicAccelerator | The description of the basic GA instance. |
RequestId | String | F591955F-5CB5-4CCE-A75D-17CF2085CE22 | The ID of the request. |
InstanceChargeType | String | PREPAY | The billing method of the basic GA instance. Only PREPAY is returned, which indicates the subscription billing method. |
CreateTime | Long | 1637734547 | The timestamp that indicates when the basic GA instance was created. |
CrossDomainBandwidthPackage | Object | Details about the cross-region acceleration bandwidth plan that is associated with the GA instance. This parameter is returned only when you call this operation on the International site (alibabacloud.com). | |
Bandwidth | Integer | 2 | The bandwidth value of the cross-region acceleration bandwidth plan. Unit: Mbit/s. |
InstanceId | String | gbwp-bp1d8xk8bg139j0fw**** | The ID of the cross-region acceleration bandwidth plan. |
Name | String | BasicAccelerator | The name of the basic GA instance. |
BasicBandwidthPackage | Object | Details about the basic bandwidth plan that is associated with the basic GA instance. | |
Bandwidth | Integer | 2 | The bandwidth value of the basic bandwidth plan. Unit: Mbit/s. |
BandwidthType | String | Basic | The type of the bandwidth that is provided by the basic bandwidth plan.
|
InstanceId | String | gbwp-bp1d8xk8bg139j0fw**** | The ID of the basic bandwidth plan. |
State | String | active | The state of the basic GA instance.
|
ExpiredTime | Long | 1640326547 | The timestamp that indicates when the basic GA instance expires. The time follows the UNIX time format. It is the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
CenId | String | cen-hjkduu767hc**** | The ID of the Cloud Enterprise Network (CEN) instance to which the basic GA instance is attached. |
RegionId | String | cn-hangzhou | The ID of the region where the basic GA instance is deployed. |
AcceleratorId | String | ga-bp17frjjh0udz4qz**** | The ID of the basic GA instance. |
BasicEndpointGroupId | String | epg-bp1dmlohjjz4kqaun**** | The ID of the endpoint group that is associated with the basic GA instance. |
BasicIpSetId | String | ips-bp11ilwqjdkjeg9r7**** | The ID of the acceleration region where the basic GA instance is deployed. |
BandwidthBillingType | String | CDT | The bandwidth billing method.
|
CrossPrivateState | String | false | Indicates whether cross-border communication is enabled.
|
ResourceGroupId | String | rg-aekzrnd67gq**** | The ID of the resource group to which the basic GA instance belongs. |
Tags | Array of Tags | The tags of the basic GA instance. | |
Key | String | tag-key | The tag key of the basic GA instance. |
Value | String | tag-value | The tag value of the basic GA instance. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=GetBasicAccelerator
&RegionId=cn-hangzhou
&AcceleratorId=ga-bp17frjjh0udz4qz****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<GetBasicAcceleratorResponse>
<Description>BasicAccelerator</Description>
<RequestId>F591955F-5CB5-4CCE-A75D-17CF2085CE22</RequestId>
<InstanceChargeType>PREPAY</InstanceChargeType>
<CreateTime>1637734547</CreateTime>
<CrossDomainBandwidthPackage>
<Bandwidth>2</Bandwidth>
<InstanceId>gbwp-bp1d8xk8bg139j0fw****</InstanceId>
</CrossDomainBandwidthPackage>
<Name>BasicAccelerator</Name>
<BasicBandwidthPackage>
<Bandwidth>2</Bandwidth>
<BandwidthType>Basic</BandwidthType>
<InstanceId>gbwp-bp1d8xk8bg139j0fw****</InstanceId>
</BasicBandwidthPackage>
<State>active</State>
<ExpiredTime>1640326547</ExpiredTime>
<CenId>cen-hjkduu767hc****</CenId>
<RegionId>cn-hangzhou</RegionId>
<AcceleratorId>ga-bp17frjjh0udz4qz****</AcceleratorId>
<BasicEndpointGroupId>epg-bp1dmlohjjz4kqaun****</BasicEndpointGroupId>
<BasicIpSetId>ips-bp11ilwqjdkjeg9r7****</BasicIpSetId>
<BandwidthBillingType>CDT</BandwidthBillingType>
<CrossPrivateState>false</CrossPrivateState>
<ResourceGroupId>rg-aekzrnd67gq****</ResourceGroupId>
<Tags>
<Key>tag-key</Key>
<Value>tag-value</Value>
</Tags>
</GetBasicAcceleratorResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"Description" : "BasicAccelerator",
"RequestId" : "F591955F-5CB5-4CCE-A75D-17CF2085CE22",
"InstanceChargeType" : "PREPAY",
"CreateTime" : 1637734547,
"CrossDomainBandwidthPackage" : {
"Bandwidth" : 2,
"InstanceId" : "gbwp-bp1d8xk8bg139j0fw****"
},
"Name" : "BasicAccelerator",
"BasicBandwidthPackage" : {
"Bandwidth" : 2,
"BandwidthType" : "Basic",
"InstanceId" : "gbwp-bp1d8xk8bg139j0fw****"
},
"State" : "active",
"ExpiredTime" : 1640326547,
"CenId" : "cen-hjkduu767hc****",
"RegionId" : "cn-hangzhou",
"AcceleratorId" : "ga-bp17frjjh0udz4qz****",
"BasicEndpointGroupId" : "epg-bp1dmlohjjz4kqaun****",
"BasicIpSetId" : "ips-bp11ilwqjdkjeg9r7****",
"BandwidthBillingType" : "CDT",
"CrossPrivateState" : "false",
"ResourceGroupId" : "rg-aekzrnd67gq****",
"Tags" : [ {
"Key" : "tag-key",
"Value" : "tag-value"
} ]
}
Error codes
For a list of error codes, see Service error codes.