Mengkueri instans layanan cloud yang disinkronkan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeProductInstances |
get |
*All Resource
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans Web Application Firewall (WAF). Catatan
Anda dapat memanggil operasi DescribeInstance untuk mengkueri ID instans WAF saat ini. |
waf_v3prepaid_public_cn-zxu****9d02 |
| ResourceInstanceId |
string |
No |
ID instans layanan cloud. |
lb-2zeugkfj81jvo****4tqm |
ResourceName
deprecated
|
string |
No |
Nama instans. |
exampleResourceName |
| ResourceRegionId |
string |
No |
ID Wilayah instans. Nilai valid:
|
cn-hangzhou |
| ResourceProduct |
string |
No |
Tipe layanan cloud. Nilai valid:
|
clb7 |
| PageNumber |
integer |
No |
Nomor halaman yang dikembalikan. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. |
10 |
ResourceIp
deprecated
|
string |
No |
Alamat IP publik instans. |
1.X.X.1 |
| OwnerUserId |
string |
No |
ID akun Alibaba Cloud tempat instans berada. |
1704********9107 |
| ResourceInstanceIp |
string |
No |
Alamat IP instans yang ditambahkan ke WAF. |
1.X.X.1 |
| ResourceInstanceName |
string |
No |
Nama instans yang ditambahkan ke WAF. |
demoInstanceName |
| ResourceInstanceAccessStatus |
string |
No |
Status perlindungan WAF. Nilai valid:
|
all |
| RegionId |
string |
No |
Wilayah tempat instans WAF di-deploy. Nilai valid:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-aekz6ql****5uzi |
| ResourceDomain |
string |
No |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
FDCBAE1E-2B3F-5C13-AD20-844B9473**** |
| TotalCount |
integer |
The total number of entries returned. |
100 |
| ProductInstances |
array<object> |
The information about the instances. |
|
|
array<object> |
The details of the cloud service. |
||
| ResourceInstanceId |
string |
The instance ID. |
i-2ze1tm4pvghp****cluv |
ResourceName
deprecated
|
string |
The name of the instance. |
ecs-test |
| ResourceRegionId |
string |
The region ID of the instance. Valid values:
|
cn-beijing |
| ResourceProduct |
string |
The type of the cloud service. Valid values:
|
clb4 |
| ResourcePorts |
array<object> |
The information about the ports. |
|
|
array<object> |
The details of the port. |
||
| Port |
integer |
The port. |
443 |
| Protocol |
string |
The protocol type. Valid values:
|
https |
| Certificates |
array<object> |
The information about the certificates. |
|
|
object |
The certificate. |
||
| CertificateName |
string |
The name of the certificate. |
demoCertName |
| CertificateId |
string |
The certificate ID. |
1234567 |
| Domain |
string |
The domain name bound to the certificate. |
www.test.com |
| AppliedType |
string |
The type of the HTTPS certificate. Valid values:
|
default |
ResourceIp
deprecated
|
string |
The public IP address of the instance. |
1.X.X.1 |
| OwnerUserId |
string |
The user ID (UID) of the Alibaba Cloud account to which the instance belongs. |
1704********9107 |
| ResourceInstanceIp |
string |
The IP address of the instance. |
1.X.X.1 |
| ResourceInstanceName |
string |
The name of the instance. |
demoInstanceName |
| AccessPorts |
array |
The list of ports added to WAF. |
|
|
integer |
The port added to WAF. |
80 |
|
| ResourceInstanceAccessStatus |
string |
The protection status of WAF. Valid values:
|
all |
| AccessPortAndProtocols |
array<object> |
The port and protocol information of the cloud service added to WAF. |
|
|
object |
The port and protocol information of the cloud service added to WAF. |
||
| Port |
integer |
The port of the cloud service added to WAF. |
443 |
| Protocol |
string |
The protocol type. Valid values:
|
http |
| CertificateIds |
array |
The certificates. |
|
|
string |
The certificate ID. |
5379758 |
|
| AccessInstanceId |
string |
The ID of the instance added to WAF. |
i-2ze1tm4pvghp****cluv |
| ResourceInstanceEdition |
string |
The edition of the instance. |
ecs.e-c1m1.large |
| ResourceDomain |
string |
Contoh
Respons sukses
JSONformat
{
"RequestId": "FDCBAE1E-2B3F-5C13-AD20-844B9473****",
"TotalCount": 100,
"ProductInstances": [
{
"ResourceInstanceId": "i-2ze1tm4pvghp****cluv",
"ResourceName": "ecs-test",
"ResourceRegionId": "cn-beijing",
"ResourceProduct": "clb4",
"ResourcePorts": [
{
"Port": 443,
"Protocol": "https",
"Certificates": [
{
"CertificateName": "demoCertName",
"CertificateId": "1234567",
"Domain": "www.test.com",
"AppliedType": "default"
}
]
}
],
"ResourceIp": "1.X.X.1",
"OwnerUserId": "1704********9107",
"ResourceInstanceIp": "1.X.X.1",
"ResourceInstanceName": "demoInstanceName",
"AccessPorts": [
80
],
"ResourceInstanceAccessStatus": "all",
"AccessPortAndProtocols": [
{
"Port": 443,
"Protocol": "http",
"CertificateIds": [
"5379758"
]
}
],
"AccessInstanceId": "i-2ze1tm4pvghp****cluv\n",
"ResourceInstanceEdition": "ecs.e-c1m1.large"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.