This topic describes the API operations provided by Web Application Firewall (WAF).

instance information

Name Description
DescribeRegions You can call this operation to query the regions supported by WAF.
DescribePayInfo You can call this operation to query the information of the WAF instance in a specified region.
DescribeWafSourceIpSegment Queries DescribeWafSourceIpSegment CIDR blocks of the WAF instance.

Domain configurations

Name Description
DescribeDomainNames You can call this operation to obtain a list of domains that have been added to a specified WAF instance.
DescribeDomainConfig You can call this operation to query the forwarding configurations of a specified domain name.
DescribeDomainConfigStatus You can call this operation to query whether the forwarding configuration of a specified domain name takes effect.
CreateDomainConfig Adds CreateDomainConfig domain name configuration information.
ModifyDomainConfig You can call this operation to modify the configuration of a specified domain name.
DeleteDomainConfig You can call this operation to delete the configurations of a specified domain name.
CreateCertAndKey You can call this operation to upload CreateCertAndKey and private key information for a specified domain configuration record.

Configure Web attack protection

Name Description
ModifyWafSwitch Call the ModifyWafSwitch API to enable or disable Web attack protection.

Configure access control list

Name Description
CreateAclRule Adds an HTTP-based ACL rule for a specified domain.
DeleteAclRule Deletes a specified ACL rule.
ModifyAclRule Modifies a specified ACL rule.
DescribeAclRules You can call this operation to query the list of precise access control rules for a specified domain name.

Asynchronous task information

Name Description
DescribeAsyncTaskStatus You can call this operation to query the DescribeAsyncTaskStatus of a WAF task.