Nat Gateway
Import
Nat gateway can be imported using the id, e.g.
$ pulumi import alicloud:vpc/natGateway:NatGateway example <id>Properties
Whether enable the deletion protection or not. Default value: false.
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.
The EIP binding mode of the NAT gateway. Default value: MULTI_BINDED. Valid values:
The nat gateway will auto create a forward item.
Field instance_charge_type has been deprecated from provider version 1.121.0. New field payment_type instead.
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.
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.
Indicates the type of the created NAT gateway. Valid values internet and intranet. internet: Internet NAT Gateway. intranet: VPC NAT Gateway.
The billing method of the NAT gateway. Valid values are PayAsYouGo and Subscription. Default to PayAsYouGo.
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.
The nat gateway will auto create a snat item.
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.