Uses of Class
com.tencentcloudapi.lighthouse.v20200324.models.CreateFirewallRulesRequest
-
Packages that use CreateFirewallRulesRequest Package Description com.tencentcloudapi.lighthouse.v20200324 com.tencentcloudapi.lighthouse.v20200324.models -
-
Uses of CreateFirewallRulesRequest in com.tencentcloudapi.lighthouse.v20200324
Methods in com.tencentcloudapi.lighthouse.v20200324 with parameters of type CreateFirewallRulesRequest Modifier and Type Method Description CreateFirewallRulesResponse
LighthouseClient. CreateFirewallRules(CreateFirewallRulesRequest req)
本接口(CreateFirewallRules)用于在实例上添加防火墙规则。 FirewallVersion 为防火墙版本号,用户每次更新防火墙规则版本会自动加1,防止您更新的规则已过期,不填不考虑冲突。 在 FirewallRules 参数中: Protocol 字段支持输入 TCP,UDP,ICMP,ALL。 Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。 CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。 Action 字段只允许输入 ACCEPT 或 DROP。 FirewallRuleDescription 字段长度不得超过 64。 -
Uses of CreateFirewallRulesRequest in com.tencentcloudapi.lighthouse.v20200324.models
Constructors in com.tencentcloudapi.lighthouse.v20200324.models with parameters of type CreateFirewallRulesRequest Constructor Description CreateFirewallRulesRequest(CreateFirewallRulesRequest 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.
-