NatGatewayArgs

data class NatGatewayArgs(val deletionProtection: Output<Boolean>? = null, val description: Output<String>? = null, val dryRun: Output<Boolean>? = null, val eipBindMode: Output<String>? = null, val force: Output<Boolean>? = null, val instanceChargeType: Output<String>? = null, val internetChargeType: Output<String>? = null, val name: Output<String>? = null, val natGatewayName: Output<String>? = null, val natType: Output<String>? = null, val networkType: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val specification: Output<String>? = null, val tags: Output<Map<String, Any>>? = null, val vpcId: Output<String>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<NatGatewayArgs>

Import

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

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

Constructors

Link copied to clipboard
fun NatGatewayArgs(deletionProtection: Output<Boolean>? = null, description: Output<String>? = null, dryRun: Output<Boolean>? = null, eipBindMode: Output<String>? = null, force: Output<Boolean>? = null, instanceChargeType: Output<String>? = null, internetChargeType: Output<String>? = null, name: Output<String>? = null, natGatewayName: Output<String>? = null, natType: Output<String>? = null, networkType: Output<String>? = null, paymentType: Output<String>? = null, period: Output<Int>? = null, specification: Output<String>? = null, tags: Output<Map<String, Any>>? = null, vpcId: Output<String>? = null, vswitchId: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val deletionProtection: Output<Boolean>? = null

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

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

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>? = null

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

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

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

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

Specifies whether to forcefully delete the NAT gateway.

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

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

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

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>? = null

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>? = null

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>? = null

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>? = null

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>? = null

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

Link copied to clipboard
val period: Output<Int>? = null

The duration that you will buy the resource, in month. It is valid when payment_type is Subscription. Valid values: 1-9, 12, 24, 36. At present, the provider does not support modify "period" and you can do that via web console. NOTE: International station only supports Subscription.

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

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 tags: Output<Map<String, Any>>? = null

The tags of NAT gateway.

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

The VPC ID.

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

The id of VSwitch.