NatGateway

Import

Nat gateway can be imported using the id, e.g.

$ pulumi import alicloud:vpc/natGateway:NatGateway example <id>

Properties

Link copied to clipboard

Whether enable the deletion protection or not. Default value: false.

Link copied to clipboard
val description: Output<String>?

Description of the nat gateway, This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Defaults to null.

Link copied to clipboard
val dryRun: Output<Boolean>?

Specifies whether to only precheck this request. Default value: false.

Link copied to clipboard
val eipBindMode: Output<String>

The EIP binding mode of the NAT gateway. Default value: MULTI_BINDED. Valid values:

Link copied to clipboard
val force: Output<Boolean>?

Specifies whether to forcefully delete the NAT gateway.

Link copied to clipboard
val forwardTableIds: Output<String>

The nat gateway will auto create a forward item.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Field instance_charge_type has been deprecated from provider version 1.121.0. New field payment_type instead.

Link copied to clipboard

The internet charge type. Valid values PayByLcu and PayBySpec. The PayByLcu is only support enhanced NAT. NOTE: From 1.137.0+, The PayBySpec has been deprecated.

Link copied to clipboard
val name: Output<String>

Field name has been deprecated from provider version 1.121.0. New field nat_gateway_name instead.

Link copied to clipboard
val natGatewayName: Output<String>

Name of the nat gateway. The value can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin or end with a hyphen, and must not begin with http:// or https://. Defaults to null.

Link copied to clipboard
val natType: Output<String>

The type of NAT gateway. Valid values: Normal and Enhanced. NOTE: From 1.137.0+, The Normal has been deprecated.

Link copied to clipboard
val networkType: Output<String>

Indicates the type of the created NAT gateway. Valid values internet and intranet. internet: Internet NAT Gateway. intranet: VPC NAT Gateway.

Link copied to clipboard
val paymentType: Output<String>

The billing method of the NAT gateway. Valid values are PayAsYouGo and Subscription. Default to PayAsYouGo.

Link copied to clipboard
val period: Output<Int>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val snatTableIds: Output<String>

The nat gateway will auto create a snat item.

Link copied to clipboard
val specification: Output<String>

The specification of the nat gateway. Valid values are Small, Middle and Large. Effective when internet_charge_type is PayBySpec and network_type is internet. Details refer to Nat Gateway Specification.

Link copied to clipboard
val status: Output<String>

(Available in 1.121.0+) The status of NAT gateway.

Link copied to clipboard
val tags: Output<Map<String, Any>>?

The tags of NAT gateway.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The VPC ID.

Link copied to clipboard
val vswitchId: Output<String>?

The id of VSwitch.