You can call this operation to set the mode of layer 7 HTTP flood protection for domains.

Request parameters

Name Type Required Description
Domain String Yes The domain name that you want to change settings for.
Template String Yes The mode of HTTP flood protection that you want to use. Valid values:
  • default: Normal
  • gf_under_attack: Emergency
  • gf_sos_verify: Strict
  • gf_sos_enhance: Super Strict

Response parameters

Name Type Description
RequestId String The GUID generated by Alibaba Cloud for the request.

Examples

Sample requests
{
  "Domain": "www.alibaba.com",
  "Template":"XXXX"
}
Sample responses
{
  "RequestId": "0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc"
}