Queries the details of Anti-DDoS Proxy instances.
Operation description
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
yundun-ddoscoo:DescribeInstances | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ResourceGroupId | string | No | The ID of the resource group to which the Anti-DDoS Proxy instance belongs in Resource Management. If you do not specify this parameter, the default resource group is used. | rg-acfm2pz25js**** |
PageNumber | string | Yes | The page number. Pages start from page 1. | 1 |
PageSize | string | Yes | The number of entries per page. Valid values: 1 to 50. | 10 |
Ip | string | No | The IP address of the Anti-DDoS instance that you want to query. | 203.107.XX.XX |
Remark | string | No | The remarks on the Anti-DDoS Proxy instance that you want to query. Fuzzy match is supported. | doc-test |
Edition | integer | No | The edition of the Anti-DDoS Proxy instance that you want to query. Valid values:
| 9 |
Enabled | integer | No | The service traffic forwarding status of the Anti-DDoS instance that you want to query. Valid values:
| 1 |
ExpireStartTime | integer | No | The earliest expiration time of the Anti-DDoS instance that you want to query. This parameter is used to query Anti-DDoS Proxy instances that expire after the time specified by ExpireStartTime. The value is a timestamp in milliseconds. | 1640361500000 |
ExpireEndTime | integer | No | The latest expiration time of the Anti-DDoS Proxy instance that you want to query. This parameter is used to query Anti-DDoS Proxy instances that expire before the time specified by ExpireEndTime. The value is a timestamp in milliseconds. | 1640361700000 |
| InstanceIds | array | No | The list of IDs of Anti-DDoS Proxy instances that you want to query. You can specify up to 200 Anti-DDoS Proxy instances. | |
string | No | The ID of the Anti-DDoS Proxy instance that you want to query. | ddoscoo-cn-7pp2g9ed**** | |
| Status | array | No | The list of statuses of Anti-DDoS Proxy instances that you want to query. You can specify up to two statuses. | |
integer | No | The status of the Anti-DDoS Proxy instance that you want to query. Valid values:
| 1 | |
| Tag | array<object> | No | The list of tags attached to the Anti-DDoS Proxy instance that you want to query. | |
object | No | |||
Key | string | No | The tag key attached to the Anti-DDoS Proxy instance that you want to query. The maximum value of N is 200. This indicates that you can specify up to 200 tag keys. The configuration rules are as follows:
Note Tag keys (Key) and tag values (Value) must appear in pairs. | test-key |
Value | string | No | The tag value attached to the Anti-DDoS Proxy instance that you want to query. The maximum value of N is 200. This indicates that you can specify up to 200 tag values. The configuration rules are as follows:
Note Tag keys (Key) and tag values (Value) must appear in pairs. | test-value |
Response elements
Parameter | Type | Description | Example |
object | |||
TotalCount | integer | The total number of Anti-DDoS Proxy instances that are queried. | 1 |
RequestId | string | The ID of the request, which is used to locate and troubleshoot issues. | A0AF40CC-814A-5A86-AEAA-6F19E88B8A39 |
| Instances | array<object> | The details of the Anti-DDoS Proxy instances. | |
object | |||
Status | integer | The status of the instance. Valid values:
| 1 |
IpMode | string | The IP forwarding mode of the instance. Valid values:
| fnat |
DebtStatus | integer | The overdue payment status of the instance. The value is fixed at 0, which indicates that no overdue payment exists. This is because Anti-DDoS Proxy services support only the subscription billing method. | 0 |
Edition | integer | The edition of the instance. Valid values:
| 9 |
IpVersion | string | The IP protocol version of the instance. Valid values:
| Ipv4 |
ExpireTime | integer | The expiration time of the instance. The value is a timestamp in milliseconds. | 1640361600000 |
Remark | string | The remarks on the instance. | doc-test |
CreateTime | integer | The time when the instance was created. The value is a timestamp in milliseconds. | 1637751953000 |
Enabled | integer | The service traffic forwarding status of the instance. Valid values:
| 1 |
InstanceId | string | The ID of the instance. | ddoscoo-cn-7pp2g9ed**** |
IsFirstOpenBw | integer | Indicates whether the 95th percentile burstable clean bandwidth billing method has been enabled for the instance. Valid values:
| 0 |
IsFirstOpenQps | integer | Indicates whether the 95th percentile burstable QPS billing method has been enabled for the instance. Valid values:
| 0 |
Ip | string | The IP address of the Anti-DDoS Proxy instance. | 203.199.XX.XX |
Examples
Success response
JSON format
{
"TotalCount": 1,
"RequestId": "A0AF40CC-814A-5A86-AEAA-6F19E88B8A39",
"Instances": [
{
"Status": 1,
"IpMode": "fnat",
"DebtStatus": 0,
"Edition": 9,
"IpVersion": "Ipv4",
"ExpireTime": 1640361600000,
"Remark": "doc-test",
"CreateTime": 1637751953000,
"Enabled": 1,
"InstanceId": "ddoscoo-cn-7pp2g9ed****",
"IsFirstOpenBw": 0,
"IsFirstOpenQps": 0,
"Ip": "203.199.XX.XX"
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.