| Package | Description |
|---|---|
| com.tencentcloudapi.waf.v20180125.models |
| Modifier and Type | Method and Description |
|---|---|
PortItem[] |
DescribeSpartaProtectionInfoResponse.getPorts()
Get port信息
|
PortItem[] |
AddSpartaProtectionRequest.getPorts()
Get 服务端口列表配置。
NginxServerId:新增域名时填'0'
Port:监听端口号
Protocol:端口协议
UpstreamPort:与Port相同
UpstreamProtocol:与Protocol相同
|
| Modifier and Type | Method and Description |
|---|---|
void |
DescribeSpartaProtectionInfoResponse.setPorts(PortItem[] Ports)
Set port信息
|
void |
AddSpartaProtectionRequest.setPorts(PortItem[] Ports)
Set 服务端口列表配置。
NginxServerId:新增域名时填'0'
Port:监听端口号
Protocol:端口协议
UpstreamPort:与Port相同
UpstreamProtocol:与Protocol相同
|
| Constructor and Description |
|---|
PortItem(PortItem 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.