Skip to content

SNatEntryProps

Properties for defining a SNatEntry.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.SNatEntryProps {
    SNatIp: interface{},
    SNatTableId: interface{},
    SnatEntryName: interface{},
    SourceCidr: interface{},
    SourceVSwitchId: interface{},
}

Properties

Name Type Description
SNatIp interface{} Property sNatIp: Source IP, must belongs to bandwidth package internet IP.
SNatTableId interface{} Property sNatTableId: Create SNAT entry in specified SNAT table.
SnatEntryName interface{} Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
SourceCidr interface{} Property sourceCidr: Specifies the network segment of the switch.
SourceVSwitchId interface{} Property sourceVSwitchId: Allow which switch can access internet.

SNatIpRequired

SNatIp interface{}
  • Type: interface{}

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


SNatTableIdRequired

SNatTableId interface{}
  • Type: interface{}

Property sNatTableId: Create SNAT entry in specified SNAT table.


SnatEntryNameOptional

SnatEntryName interface{}
  • Type: interface{}

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


SourceCidrOptional

SourceCidr interface{}
  • Type: interface{}

Property sourceCidr: Specifies the network segment of the switch.

For example, 10.0.0.1/24. This parameter and the SourceVSwtichId parameter are mutually exclusive and cannot appear at the same time.


SourceVSwitchIdOptional

SourceVSwitchId interface{}
  • Type: interface{}

Property sourceVSwitchId: Allow which switch can access internet.