Mengambil daftar instans Anti-DDoS Proxy.
Deskripsi operasi
Use this operation to retrieve paginated details for Anti-DDoS instances in your Alibaba Cloud account. The response includes the instance ID, version, expiration time, and service traffic forwarding status.
QPS limit
This operation is limited to 10 calls per second per user. Exceeding this limit triggers throttling, which can disrupt your services.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddoscoo:DescribeInstances |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya tempat instans Anti-DDoS Proxy berada di Resource Management. Jika Anda menghilangkan parameter ini, sistem menggunakan kelompok sumber daya default. |
rg-acfm2pz25js**** |
| PageNumber |
string |
Yes |
Nomor halaman yang dikembalikan. Halaman dimulai dari 1. |
1 |
| PageSize |
string |
Yes |
Jumlah instans yang dikembalikan per halaman. Nilai valid: 1 hingga 50. |
10 |
| Ip |
string |
No |
Alamat IP instans Anti-DDoS Proxy. |
203.107.XX.XX |
| Remark |
string |
No |
Keterangan instans Anti-DDoS Proxy. Pencocokan fuzzy didukung. |
doc-test |
| Edition |
integer |
No |
Edisi instans Anti-DDoS Proxy. Nilai valid:
|
9 |
| Enabled |
integer |
No |
Status penerusan lalu lintas layanan instans Anti-DDoS Proxy. Nilai valid:
|
1 |
| ExpireStartTime |
integer |
No |
Awal rentang pengatur waktu kedaluwarsa yang akan dikueri. Operasi ini hanya mengembalikan instans yang kedaluwarsa setelah pengatur waktu ini. Nilainya adalah stempel waktu UNIX dalam milidetik. |
1640361500000 |
| ExpireEndTime |
integer |
No |
Akhir rentang pengatur waktu kedaluwarsa yang akan dikueri. Operasi ini hanya mengembalikan instans yang kedaluwarsa pada atau sebelum pengatur waktu ini. Nilainya adalah stempel waktu UNIX dalam milidetik. |
1640361700000 |
| InstanceIds |
array |
No |
Array ID instans Anti-DDoS Proxy. Anda dapat menentukan hingga 200 ID instans. |
|
|
string |
No |
The ID of an Anti-DDoS Proxy instance. |
ddoscoo-cn-7pp2g9ed**** |
|
| Status |
array |
No |
Array status instans untuk pemfilteran. Anda dapat menentukan hingga dua status. |
|
|
integer |
No |
The status of the Anti-DDoS Proxy instance. Valid values:
|
1 |
|
| Tag |
array<object> |
No |
Array tag untuk memfilter instans. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key used for filtering. You can specify up to 200 tags.
Catatan
The Key and Value parameters for a tag must be specified as a pair. |
test-key |
| Value |
string |
No |
The tag value used for filtering. You can specify up to 200 tags.
Catatan
The Key and Value parameters for a tag must be specified as a pair. |
test-value |
Saat Anda memanggil API ini, Anda harus menyertakan parameter permintaan khusus API dan parameter permintaan umum Alibaba Cloud. Untuk informasi selengkapnya, lihat Common parameters.
Untuk format permintaan, lihat contoh permintaan di bagian Examples.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of instances found. |
1 |
| RequestId |
string |
The request ID. Alibaba Cloud generates this unique ID for the request. Use it to locate and troubleshoot issues. |
A0AF40CC-814A-5A86-AEAA-6F19E88B8A39 |
| Instances |
array<object> |
A list of instance details. |
|
|
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 no overdue payment. This is because both Anti-DDoS Pro (Chinese Mainland) and Anti-DDoS Proxy (Outside Chinese Mainland) are subscription-based. |
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, provided as a UNIX timestamp in milliseconds. |
1640361600000 |
| Remark |
string |
The remark for the instance. |
doc-test |
| CreateTime |
integer |
The creation time of the instance, provided as a UNIX 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 |
Specifies whether the 95th percentile burstable clean bandwidth billing method has been previously enabled. Valid values:
|
0 |
| IsFirstOpenQps |
integer |
Specifies whether the 95th percentile burstable QPS billing method has been previously enabled. Valid values:
|
0 |
| Ip |
string |
The IP address of the instance. |
203.199.XX.XX |
Contoh
Respons sukses
JSONformat
{
"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"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.