Skip to content

AclRuleProps

Properties for defining a AclRule.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Waf;
new AclRuleProps {
    object Domain,
    object InstanceId,
    object Rules,
    object Region = null,
    object RuleId = null
};

Properties

Name Type Description
Domain object Property domain: Domain name.
InstanceId object Property instanceId: WAF instance ID.
Rules object Property rules: Detailed information of precise access control rules, expressed in JSON format strings.
Region object Property region: Examples of areas where the WAF.
RuleId object Property ruleId: Precise access control rule ID.

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.


RulesRequired

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

Property rules: Detailed information of precise access control rules, expressed in JSON format strings.


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


RuleIdOptional

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

Property ruleId: Precise access control rule ID.