Uses of Class
com.tencentcloudapi.lighthouse.v20200324.models.ModifyFirewallRulesResponse
-
Packages that use ModifyFirewallRulesResponse Package Description com.tencentcloudapi.lighthouse.v20200324 com.tencentcloudapi.lighthouse.v20200324.models -
-
Uses of ModifyFirewallRulesResponse in com.tencentcloudapi.lighthouse.v20200324
Methods in com.tencentcloudapi.lighthouse.v20200324 that return ModifyFirewallRulesResponse Modifier and Type Method Description ModifyFirewallRulesResponse
LighthouseClient. ModifyFirewallRules(ModifyFirewallRulesRequest req)
本接口(ModifyFirewallRules)用于重置实例防火墙规则。 本接口先删除当前实例的所有防火墙规则,然后添加新的规则。 FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接重置防火墙规则。 在 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 ModifyFirewallRulesResponse in com.tencentcloudapi.lighthouse.v20200324.models
Constructors in com.tencentcloudapi.lighthouse.v20200324.models with parameters of type ModifyFirewallRulesResponse Constructor Description ModifyFirewallRulesResponse(ModifyFirewallRulesResponse 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.
-