SnatEntryArgs

data class SnatEntryArgs(val snatEntryName: Output<String>? = null, val snatIp: Output<String>? = null, val snatTableId: Output<String>? = null, val sourceCidr: Output<String>? = null, val sourceVswitchId: Output<String>? = null) : ConvertibleToJava<SnatEntryArgs>

Provides a snat resource.

Import

Snat Entry can be imported using the id, e.g.

$ pulumi import alicloud:vpc/snatEntry:SnatEntry foo stb-1aece3:snat-232ce2

Constructors

Link copied to clipboard
fun SnatEntryArgs(snatEntryName: Output<String>? = null, snatIp: Output<String>? = null, snatTableId: Output<String>? = null, sourceCidr: Output<String>? = null, sourceVswitchId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SnatEntryArgs

Properties

Link copied to clipboard
val snatEntryName: Output<String>? = null

The name of snat entry.

Link copied to clipboard
val snatIp: Output<String>? = null

The SNAT ip address, the ip must along bandwidth package public ip which alicloud.vpc.NatGateway argument bandwidth_packages.

Link copied to clipboard
val snatTableId: Output<String>? = null

The value can get from alicloud.vpc.NatGateway Attributes "snat_table_ids".

Link copied to clipboard
val sourceCidr: Output<String>? = null

The private network segment of Ecs. This parameter and the source_vswitch_id parameter are mutually exclusive and cannot appear at the same time.

Link copied to clipboard
val sourceVswitchId: Output<String>? = null

The vswitch ID.