SNatEntryProps
Properties for defining a SNatEntry
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snatentry
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new SNatEntryProps {
object SNatIp,
object SNatTableId,
object SnatEntryName = null,
object SourceCidr = null,
object SourceVSwitchId = null
};
Properties
Name | Type | Description |
---|---|---|
SNatIp |
object |
Property sNatIp: Source IP, must belongs to bandwidth package internet IP. |
SNatTableId |
object |
Property sNatTableId: Create SNAT entry in specified SNAT table. |
SnatEntryName |
object |
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 |
object |
Property sourceCidr: Specifies the network segment of the switch. |
SourceVSwitchId |
object |
Property sourceVSwitchId: Allow which switch can access internet. |
SNatIp
Required
public object SNatIp { get; set; }
- Type: object
Property sNatIp: Source IP, must belongs to bandwidth package internet IP.
SNatTableId
Required
public object SNatTableId { get; set; }
- Type: object
Property sNatTableId: Create SNAT entry in specified SNAT table.
SnatEntryName
Optional
public object SnatEntryName { get; set; }
- Type: object
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
Optional
public object SourceCidr { get; set; }
- Type: object
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.
SourceVSwitchId
Optional
public object SourceVSwitchId { get; set; }
- Type: object
Property sourceVSwitchId: Allow which switch can access internet.