Skip to content

ForwardEntryProps

Properties for defining a ForwardEntry.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-forwardentry

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.ForwardEntryProps {
    ExternalIp: interface{},
    ExternalPort: interface{},
    ForwardTableId: interface{},
    InternalIp: interface{},
    InternalPort: interface{},
    IpProtocol: interface{},
    ForwardEntryName: interface{},
    PortBreak: interface{},
}

Properties

Name Type Description
ExternalIp interface{} Property externalIp: Source IP, must belongs to bandwidth package internet IP.
ExternalPort interface{} Property externalPort: Source port, now support [1-65535]|Any|x\/y.
ForwardTableId interface{} Property forwardTableId: Create forward entry in specified forward table.
InternalIp interface{} Property internalIp: Destination IP, must belong to VPC private IP.
InternalPort interface{} Property internalPort: Destination port, now support [1-65535]|Any|x\/y.
IpProtocol interface{} Property ipProtocol: Supported protocol, Now support 'TCP|UDP|Any'.
ForwardEntryName interface{} Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
PortBreak interface{} Property portBreak: Specifies whether to remove limits on the port range.

ExternalIpRequired

ExternalIp interface{}
  • Type: interface{}

Property externalIp: Source IP, must belongs to bandwidth package internet IP.


ExternalPortRequired

ExternalPort interface{}
  • Type: interface{}

Property externalPort: Source port, now support [1-65535]|Any|x\/y.


ForwardTableIdRequired

ForwardTableId interface{}
  • Type: interface{}

Property forwardTableId: Create forward entry in specified forward table.


InternalIpRequired

InternalIp interface{}
  • Type: interface{}

Property internalIp: Destination IP, must belong to VPC private IP.


InternalPortRequired

InternalPort interface{}
  • Type: interface{}

Property internalPort: Destination port, now support [1-65535]|Any|x\/y.


IpProtocolRequired

IpProtocol interface{}
  • Type: interface{}

Property ipProtocol: Supported protocol, Now support 'TCP|UDP|Any'.


ForwardEntryNameOptional

ForwardEntryName interface{}
  • Type: interface{}

Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.


PortBreakOptional

PortBreak interface{}
  • Type: interface{}

Property portBreak: Specifies whether to remove limits on the port range.