Package | Description |
---|---|
com.tencentcloudapi.lighthouse.v20200324 |
Modifier and Type | Method and Description |
---|---|
CreateFirewallRulesResponse |
LighthouseClient.CreateFirewallRules(CreateFirewallRulesRequest req)
本接口(CreateFirewallRules)用于在实例上添加防火墙规则。
Protocol 字段支持输入 TCP,UDP,或 ALL。
Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。
|
Copyright © 2020. All rights reserved.