| Package | Description |
|---|---|
| com.tencentcloudapi.waf.v20180125.models |
| Modifier and Type | Method and Description |
|---|---|
PortItem[] |
DescribeSpartaProtectionInfoResponse.getPorts()
Get Port information
|
PortItem[] |
AddSpartaProtectionRequest.getPorts()
Get Service port list configuration
NginxServerId: fill in '0' in this function
Port: listening port number
Protocol: port protocol
UpstreamPort: same as Port
UpstreamProtocol: same as Protocol
|
| Modifier and Type | Method and Description |
|---|---|
void |
DescribeSpartaProtectionInfoResponse.setPorts(PortItem[] Ports)
Set Port information
|
void |
AddSpartaProtectionRequest.setPorts(PortItem[] Ports)
Set Service port list configuration
NginxServerId: fill in '0' in this function
Port: listening port number
Protocol: port protocol
UpstreamPort: same as Port
UpstreamProtocol: same as 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.