Queries the available burstable protection bandwidth of an Anti-DDoS Pro instance.

Note This API operation is suitable only for Anti-DDoS Pro.

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 DescribeElasticBandwidthSpec

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

InstanceId String Yes ddoscoo-cn-mp91j1ao****

The ID of the instance.

Note You can call the DescribeInstanceIds operation to query the IDs of all instances.
RegionId String No cn-hangzhou

The region ID of the instance. Set the value to cn-hangzhou, which indicates an Anti-DDoS Pro instance.

Response parameters

Parameter Type Example Description
ElasticBandwidthSpec List [5,10,20,30]

The available burstable protection bandwidth. Unit: Gbit/s.

RequestId String 0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeElasticBandwidthSpec
&InstanceId=ddoscoo-cn-mp91j1ao****
&<Common request parameters>

Sample success responses

XML format

<DescribeElasticBandwidthSpecResponse>
      <ElasticBandwidthSpec>5</ElasticBandwidthSpec>
      <ElasticBandwidthSpec>10</ElasticBandwidthSpec>
      <ElasticBandwidthSpec>20</ElasticBandwidthSpec>
      <ElasticBandwidthSpec>30</ElasticBandwidthSpec>
      <RequestId>0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc</RequestId>
</DescribeElasticBandwidthSpecResponse>

JSON format

{
    "ElasticBandwidthSpec": [
        5,
        10,
        20,
        30
    ],
    "RequestId": "0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc"
}

Error codes

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