Queries the details about the configurations of domain names added to WAF.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDomainAdvanceConfigs

The operation that you want to perform. Set the value to DescribeDomainAdvanceConfigs.

DomainList String Yes 1.example.com,2.example.com

Domain names that you add to WAF.

You can enter multiple domain names separated with commas (,).

InstanceId String Yes waf_elasticity-cn-0xldbqt****

The ID of the WAF instance.

Note You can call the DescribeInstanceInfo operation to query the ID of the WAF instance.
ResourceGroupId String No rg-atstuj3rtop****

The ID of the resource group to which the queried domain name belongs in Resource Management. By default, no value is specified, indicating that the domain name belongs to the default resource group.

Response parameters

Parameter Type Example Description
DomainConfigs Array of DomainConfig

The configuration information of the domain name.

Domain String 1.example.com

The domain name that you add to WAF.

Profile Struct

The configuration information.

CertStatus Integer 0

Indicates whether the domain name certificate is uploaded and whether the HTTPS protocol is enabled. Valid values:

  • 0: The domain name certificate is not uploaded and the HTTPS protocol is disabled.
  • 1: The domain name certificate is uploaded and the HTTPS protocol is enabled.
ClusterType Integer 0

The type of the WAF cluster. Valid values:

  • 0: shared cluster (default)
  • 1: exclusive cluster
Cname String xxxxxx.yundunwaf3.com

The CNAME address that the WAF instance generates for the domain name.

ExclusiveVipStatus Integer 0

Indicates whether an exclusive WAF IP address is used. Valid values:

  • 0: no
  • 1: yes
GSLBStatus String off

Indicates whether intelligent load balancing is enabled. Valid values:

  • off: no
  • on: yes
Http2Port String [443]

The HTTP/2 port.

HttpPort String [80]

The HTTP port.

HttpsPort String [443]

The HTTPS port.

Ipv6Status Integer 0

Indicates whether protection against malicious IPv6 traffic is enabled. Valid values:

  • 0: disables protection.
  • 1: enables protection.
ResolvedType Integer 0

The IP address to which the CNAME record points. Valid values:

  • -1: The IP address of the origin server.
  • 0: The IP address of the WAF instance.
  • 1: The IP address of the exclusive WAF cluster.
Rs String ["1.1.1.1"]

The IP address of the origin server.

VipServiceStatus Integer 0

The service status of the IP address of the WAF instance or the exclusive WAF cluster. Valid values:

  • 0: The IP address is normal.
  • 1: The traffic to the IP address is being scrubbed.
  • 2: The IP address is in the blackhole.
RequestId String D7861F61-5B61-46CE-A47C-6B19160D5EB0

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeDomainAdvanceConfigs
&DomainList=1.example.com,2.example.com
&InstanceId=waf_elasticity-cn-0xldbqt****
&<Common request parameters>

Sample success responses

XML format

<DescribeDomainAdvanceConfigsResponse>
      <DomainConfigs>
            <Domain>1.example.com</Domain>
            <Profile>
                  <HttpPort>80</HttpPort>
                  <Rs>1.1.1.1</Rs>
                  <VipServiceStatus>0</VipServiceStatus>
                  <Http2Port>443</Http2Port>
                  <CertStatus>1</CertStatus>
                  <Ipv6Status>0</Ipv6Status>
                  <ExclusiveVipStatus>0</ExclusiveVipStatus>
                  <GSLBStatus>off</GSLBStatus>
                  <Cname>xxxxxx.yundunwaf3.com</Cname>
                  <ResolvedType>0</ResolvedType>
                  <HttpsPort>443</HttpsPort>
            </Profile>
      </DomainConfigs>
      <RequestId>B4A6239E-835F-40FD-8B00-C50AE3CE40A7</RequestId>
</DescribeDomainAdvanceConfigsResponse>

JSON format

{
    "DomainConfigs": [
        {
            "Domain": "1.example.com",
            "Profile": {
                "HttpPort": [
                    80
                ],
                "Rs": [
                    "1.1.1.1"
                ],
                "VipServiceStatus": 0,
                "Http2Port": [
                    443
                ],
                "CertStatus": 1,
                "Ipv6Status": 0,
                "ExclusiveVipStatus": 0,
                "GSLBStatus": "off",
                "Cname": "xxxxxx.yundunwaf3.com",
                "ResolvedType": 0,
                "HttpsPort": [
                    443
                ]
            }
        }
    ],
    "RequestId": "B4A6239E-835F-40FD-8B00-C50AE3CE40A7"
}

Error codes

For a list of error codes, visit the API Error Center.