Queries the information about on-demand instances.
Operation Description
Queries the information about on-demand instances, such as whether an on-demand instance is enabled and the CIDR block of each on-demand instance.
Limits
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PageNo | integer | Yes | The page number of the page to return. | 1 |
PageSize | integer | Yes | The number of entries to return on each page. Maximum value: 50. | 10 |
RegionId | string | No | The region ID of the on-demand instance that you want to query. NoteYou can call the DescribeRegions operation to query the most recent region list. | cn-zhangjiakou |
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Examples
Sample success responses
JSON
format
{
"Total": "1",
"RequestId": "CF33B4C3-196E-4015-AADD-5CAD00057B80",
"Instances": [
{
"DefenseStatus": "Defense",
"InstanceId": "ddosbgp-cn-z2q1qzxb****",
"Remark": "123",
"RegionId": "cn-zhangjiakou",
"Ipnet": [
"47.***.***.0/24"
]
}
]
}
Error codes
For a list of error codes, visit the Service error codes.