WafRuleProps
Properties for defining a WafRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-wafrule
Initializer
using AlibabaCloud.SDK.ROS.CDK.Esa;
new WafRuleProps {
object Phase,
object SiteId,
object Config = null,
object RulesetId = null,
object Shared = null,
object SiteVersion = null
};
Properties
| Name | Type | Description |
|---|---|---|
Phase | object | Property phase: The version of the website. |
SiteId | object | Property siteId: The website ID, which can be obtained by calling the ListSites operation. |
Config | object | Property config: The configuration of the rule. |
RulesetId | object | Property rulesetId: The ID of the WAF ruleset, which can be obtained by calling the ListWafRulesets operation. |
Shared | object | Property shared: The configurations shared by multiple rules. |
SiteVersion | object | Property siteVersion: The website ID, which can be obtained by calling the ListSites operation. |
PhaseRequired
public object Phase { get; set; }
- Type: object
Property phase: The version of the website.
SiteIdRequired
public object SiteId { get; set; }
- Type: object
Property siteId: The website ID, which can be obtained by calling the ListSites operation.
ConfigOptional
public object Config { get; set; }
- Type: object
Property config: The configuration of the rule.
RulesetIdOptional
public object RulesetId { get; set; }
- Type: object
Property rulesetId: The ID of the WAF ruleset, which can be obtained by calling the ListWafRulesets operation.
SharedOptional
public object Shared { get; set; }
- Type: object
Property shared: The configurations shared by multiple rules.
SiteVersionOptional
public object SiteVersion { get; set; }
- Type: object
Property siteVersion: The website ID, which can be obtained by calling the ListSites operation.