PortProps
Properties for defining a Port
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddospro-port
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkddospro"
&alicloudroscdkddospro.PortProps {
FrontendProtocol: interface{},
InstanceId: interface{},
RealServers: interface{},
BackendPort: interface{},
FrontendPort: interface{},
}
Properties
Name | Type | Description |
---|---|---|
FrontendProtocol |
interface{} |
Property frontendProtocol: The type of the protocol. |
InstanceId |
interface{} |
Property instanceId: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs. |
RealServers |
interface{} |
Property realServers: An array that consists of the IP addresses of origin servers. |
BackendPort |
interface{} |
Property backendPort: The port of the origin server. |
FrontendPort |
interface{} |
Property frontendPort: The forwarding port. |
FrontendProtocol
Required
FrontendProtocol interface{}
- Type: interface{}
Property frontendProtocol: The type of the protocol.
Valid values: tcp udp
InstanceId
Required
InstanceId interface{}
- Type: interface{}
Property instanceId: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
RealServers
Required
RealServers interface{}
- Type: interface{}
Property realServers: An array that consists of the IP addresses of origin servers.
BackendPort
Optional
BackendPort interface{}
- Type: interface{}
Property backendPort: The port of the origin server.
Valid values: 0 to 65535.
FrontendPort
Optional
FrontendPort interface{}
- Type: interface{}
Property frontendPort: The forwarding port.
Valid values: 0 to 65535.