Package | Description |
---|---|
com.tencentcloudapi.teo.v20220901.models |
Modifier and Type | Method and Description |
---|---|
CustomRule[] |
CustomRules.getRules()
Get 自定义规则的定义列表。
使用 ModifySecurityPolicy 修改 Web 防护配置时: - 若未指定 Rules 参数,或 Rules 参数长度为零:清空所有自定义规则配置。 - 若 SecurityPolicy 参数中,未指定 CustomRules 参数值:保持已有自定义规则配置,不做修改。 |
Modifier and Type | Method and Description |
---|---|
void |
CustomRules.setRules(CustomRule[] Rules)
Set 自定义规则的定义列表。
使用 ModifySecurityPolicy 修改 Web 防护配置时: - 若未指定 Rules 参数,或 Rules 参数长度为零:清空所有自定义规则配置。 - 若 SecurityPolicy 参数中,未指定 CustomRules 参数值:保持已有自定义规则配置,不做修改。 |
Constructor and Description |
---|
CustomRule(CustomRule source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2025. All rights reserved.