Skip to content

WafSwitchProps

Properties for defining a WafSwitch.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-waf-wafswitch

Initializer

using AlibabaCloud.SDK.ROS.CDK.Waf;
new WafSwitchProps {
    object Domain,
    object InstanceId,
    object ServiceOn,
    object Region = null
};

Properties

Name Type Description
Domain object Property domain: Domain name.
InstanceId object Property instanceId: WAF instance ID.
ServiceOn object Property serviceOn: Web attack protection switch, the value of: 0: closed.
Region object Property region: Examples of areas where the WAF.

DomainRequired

public object Domain { get; set; }
  • Type: object

Property domain: Domain name.


InstanceIdRequired

public object InstanceId { get; set; }
  • Type: object

Property instanceId: WAF instance ID.

Description Interface You can view your current WAF instance ID by calling DescribePayInfo.


ServiceOnRequired

public object ServiceOn { get; set; }
  • Type: object

Property serviceOn: Web attack protection switch, the value of: 0: closed.

1: indicate on.


RegionOptional

public object Region { get; set; }
  • Type: object

Property region: Examples of areas where the WAF.

Value: cn: China mainland (default) cn-hongkong: China HongKong and other overseas