You can call this operation to query the details in the configuration records of domains 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 Boolean No DescribeDomainAdvanceConfigs

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

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

Domains that have been added to WAF. You can enter multiple domains separated with commas (,).

InstanceId String No waf_elasticity-cn-0xldbqtm005

The ID of the WAF instance.

Note You can call the DescribeInstanceInfo operation to query the ID of the WAF instance.
ResourceGroupId String Yes rg-atstuj3rtoptyui

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

Response parameters

Parameter Type Example Description
DomainConfigs Array

The configuration information of domains.

Domain String 1.example.com

The domain that you add in WAF.

Profile Struct

The configuration information.

CertStatus Integer 0

Indicates whether the domain certificate is uploaded and whether the HTTPS protocol is enabled.

  • 0: The domain certificate is not uploaded and the HTTPS protocol is disabled.
  • 1: The domain 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 record that the WAF instance generates for the domain.

ExclusiveVipStatus Integer 0

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

  • 0: no
  • 1: yes
GSLBStatus Integer 0

Indicates whether intelligent load balancing is enabled. Valid values:

  • 0: no
  • 1: yes
Http2Port String [443]

The HTTP 2.0 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 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 black hole.
RequestId String D7861F61-5B61-46CE-A47C-6B19160D5EB0

The ID of the request.

Samples

Sample request

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

Sample success responses

XML format

<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>0</GSLBStatus>
        <Cname>xxxxxx.yundunwaf3.com</Cname>
        <ResolvedType>0</ResolvedType>
        <HttpsPort>443</HttpsPort>
    </Profile>
</DomainConfigs>
<RequestId>B4A6239E-835F-40FD-8B00-C50AE3CE40A7</RequestId>

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":0,
                "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.