Queries the list of synchronized cloud service assets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeProductInstances |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID of the WAF instance. Note
You can call the DescribeInstance operation to query instance ID of the current WAF instance. |
waf_v3prepaid_public_cn-zxu****9d02 |
| ResourceInstanceId |
string |
No |
The instance ID of the cloud service. |
lb-2zeugkfj81jvo****4tqm |
ResourceName
deprecated
|
string |
No |
The instance name of the cloud service. |
exampleResourceName |
| ResourceRegionId |
string |
No |
The region ID of the cloud service. Valid values:
|
cn-hangzhou |
| ResourceProduct |
string |
No |
The type of the cloud service. Valid values:
|
clb7 |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page when paging. Default value: 10. |
10 |
ResourceIp
deprecated
|
string |
No |
The public IP address of the cloud service. |
1.X.X.1 |
| OwnerUserId |
string |
No |
The UID of the resource ownership user. |
1704********9107 |
| ResourceInstanceIp |
string |
No |
The IP address of the instance that is added to WAF. |
1.X.X.1 |
| ResourceInstanceName |
string |
No |
The name of the instance that is added to WAF. |
demoInstanceName |
| ResourceInstanceAccessStatus |
string |
No |
The WAF protection status. Valid values:
|
all |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The Alibaba Cloud resource group ID. |
rg-aekz6ql****5uzi |
| ResourceDomain |
string |
No |
The domain name that is added to WAF. Note
This parameter is supported only when the cloud service type is ddos. |
www.c**sw.net |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
FDCBAE1E-2B3F-5C13-AD20-844B9473**** |
| TotalCount |
integer |
The total number of entries returned. |
100 |
| ProductInstances |
array<object> |
The list of cloud service information. |
|
|
array<object> |
The cloud service information. |
||
| ResourceInstanceId |
string |
The instance ID of the cloud service. |
i-2ze1tm4pvghp****cluv |
ResourceName
deprecated
|
string |
The instance name of the cloud service. |
ecs-test |
| ResourceRegionId |
string |
The region ID of the cloud service. Valid values:
|
cn-beijing |
| ResourceProduct |
string |
The type of the cloud service. Valid values:
|
clb4 |
| ResourcePorts |
array<object> |
The list of port information. |
|
|
array<object> |
The port information. |
||
| Port |
integer |
The port. |
443 |
| Protocol |
string |
The network protocol type. Valid values:
|
https |
| Certificates |
array<object> |
The list of certificate information. |
|
|
object |
The certificate information. |
||
| CertificateName |
string |
The SSL certificate name. |
demoCertName |
| CertificateId |
string |
The certificate ID. |
1234567 |
| Domain |
string |
The domain name bound to the certificate. |
www.test.com |
| AppliedType |
string |
The certificate type for the HTTPS protocol. Valid values:
|
default |
ResourceIp
deprecated
|
string |
The public IP address of the cloud service. |
1.X.X.1 |
| OwnerUserId |
string |
The UID of the resource ownership user. |
1704********9107 |
| ResourceInstanceIp |
string |
The IP address of the cloud service instance. |
1.X.X.1 |
| ResourceInstanceName |
string |
The instance name of the cloud service. |
demoInstanceName |
| AccessPorts |
array |
The list of ports that are added to WAF. |
|
|
integer |
The port that is added to WAF. |
80 |
|
| ResourceInstanceAccessStatus |
string |
The WAF protection status. Valid values:
|
all |
| AccessPortAndProtocols |
array<object> |
The port and protocol information of the cloud service that is added to WAF. |
|
|
object |
The port and protocol information of the cloud service that is added to WAF. |
||
| Port |
integer |
The port of the cloud service that is added to WAF. |
443 |
| Protocol |
string |
The protocol type. Valid values:
|
http |
| CertificateIds |
array |
The list of certificate IDs. |
|
|
string |
The certificate ID. |
5379758 |
|
| AccessInstanceId |
string |
The instance ID of the instance that is added to WAF. |
i-2ze1tm4pvghp****cluv |
| ResourceInstanceEdition |
string |
The edition of the cloud service instance. |
ecs.e-c1m1.large |
| ResourceDomain |
string |
The domain name that is added to WAF. |
www.c**sw.net |
Examples
Success response
JSON format
{
"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",
"ResourceDomain": "www.c**sw.net"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.