Skip to content

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.

FrontendProtocolRequired

FrontendProtocol interface{}
  • Type: interface{}

Property frontendProtocol: The type of the protocol.

Valid values: tcp udp


InstanceIdRequired

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.


RealServersRequired

RealServers interface{}
  • Type: interface{}

Property realServers: An array that consists of the IP addresses of origin servers.


BackendPortOptional

BackendPort interface{}
  • Type: interface{}

Property backendPort: The port of the origin server.

Valid values: 0 to 65535.


FrontendPortOptional

FrontendPort interface{}
  • Type: interface{}

Property frontendPort: The forwarding port.

Valid values: 0 to 65535.