All Products
Search
Document Center

Web Application Firewall:DescribeProductInstances

Last Updated:Apr 23, 2024

Queries the cloud service instances to be added to Web Application Firewall (WAF) in transparent proxy mode.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the WAF instance.

Note You can call the DescribeInstance operation to query the ID of the WAF instance.
waf_v3prepaid_public_cn-zxu****9d02
ResourceInstanceIdstringNo

The ID of the instance.

lb-2zeugkfj81jvo****4tqm
ResourceNamestringNo

The name of the instance.

exampleResourceName
ResourceRegionIdstringNo

The region ID of the instance. Valid values:

  • cn-chengdu: China (Chengdu).
  • cn-beijing: China (Beijing).
  • cn-zhangjiakou: China (Zhangjiakou).
  • cn-hangzhou: China (Hangzhou).
  • cn-shanghai: China (Shanghai).
  • cn-shenzhen: China (Shenzhen).
  • cn-qingdao: China (Qingdao).
  • cn-hongkong: China (Hong Kong).
  • ap-southeast-3: Malaysia (Kuala Lumpur).
  • ap-southeast-5: Indonesia (Jakarta).
cn-hangzhou
ResourceProductstringNo

The cloud service to which the instance belongs. Valid values:

  • clb4: Layer 4 Classic Load Balancer (CLB).
  • clb7: Layer 7 CLB.
  • ecs: Elastic Compute Service (ECS).
clb7
PageNumberlongNo

The page number. Default value: 1.

1
PageSizelongNo

The number of entries per page. Default value: 10.

10
ResourceIpstringNo

The public IP address of the instance.

1.X.X.1
OwnerUserIdstringNo

The ID of the Alibaba Cloud account to which the resource belongs.

1704********9107
ResourceManagerResourceGroupIdstringNo

The ID of the Alibaba Cloud resource group.

rg-aekz6ql****5uzi
RegionIdstringNo

The region in which the WAF instance is deployed. Valid values:

  • cn-hangzhou: Chinese mainland.
  • ap-southeast-1: outside the Chinese mainland.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

FDCBAE1E-2B3F-5C13-AD20-844B9473****
TotalCountlong

The total number of entries returned.

100
ProductInstancesobject []

The information about the instances.

ResourceInstanceIdstring

The ID of the instance.

i-2ze1tm4pvghp****cluv
ResourceNamestring

The name of the instance.

ecs-test
ResourceRegionIdstring

The region ID of the instance. Valid values:

  • cn-chengdu: China (Chengdu).
  • cn-beijing: China (Beijing).
  • cn-zhangjiakou: China (Zhangjiakou).
  • cn-hangzhou: China (Hangzhou).
  • cn-shanghai: China (Shanghai).
  • cn-shenzhen: China (Shenzhen).
  • cn-qingdao: China (Qingdao).
  • cn-hongkong: China (Hong Kong).
  • ap-southeast-3: Malaysia (Kuala Lumpur).
  • ap-southeast-5: Indonesia (Jakarta).
cn-beijing
ResourceProductstring

The cloud service to which the instance belongs. Valid values:

  • clb4: Layer 4 CLB.
  • clb7: Layer 7 CLB.
  • ecs: ECS.
clb4
ResourcePortsobject []

The information about the ports.

Portinteger

The port number.

443
Protocolstring

The protocol type. Valid values:

  • http
  • https
https
Certificatesobject []

The information about the certificates.

CertificateNamestring

The name of the certificate.

trafficxxxx.cn
CertificateIdstring

The ID of the certificate.

10106183
ResourceIpstring

The public IP address of the instance.

1.X.X.1
OwnerUserIdstring

The ID of the Alibaba Cloud account to which the resource belongs.

1704********9107

Examples

Sample success responses

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": "trafficxxxx.cn",
              "CertificateId": "10106183"
            }
          ]
        }
      ],
      "ResourceIp": "1.X.X.1",
      "OwnerUserId": "1704********9107"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-04-02The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: OwnerUserId