NatGatewayProps
Properties for defining a NatGateway.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-natgateway
Initializer
using AlibabaCloud.SDK.ROS.CDK.Vpc;
new NatGatewayProps {
    object VpcId,
    object VSwitchId,
    object AutoPay = null,
    object DeletionForce = null,
    object DeletionProtection = null,
    object Description = null,
    object Duration = null,
    object EipBindMode = null,
    object IcmpReplyEnabled = null,
    object InstanceChargeType = null,
    object InternetChargeType = null,
    object NatGatewayName = null,
    object NatType = null,
    object NetworkType = null,
    object PricingCycle = null,
    object SecurityProtectionEnabled = null,
    TagsProperty[] Tags = null
};
Properties
| Name | Type | Description | 
|---|---|---|
VpcId | 
object | 
Property vpcId: The VPC id to create NAT gateway. | 
VSwitchId | 
object | 
Property vSwitchId: The VSwitch id to create NAT gateway. | 
AutoPay | 
object | 
Property autoPay: Specifies whether to enable automatic payment. | 
DeletionForce | 
object | 
Property deletionForce: Whether force delete the relative snat and dnat entries in the net gateway and unbind eips. | 
DeletionProtection | 
object | 
Property deletionProtection: Whether to enable deletion protection. | 
Description | 
object | 
Property description: Description of the NAT gateway, [2, 256] characters. | 
Duration | 
object | 
Property duration: The subscription duration. | 
EipBindMode | 
object | 
Property eipBindMode: The mode in which the EIP is associated with the NAT gateway. | 
IcmpReplyEnabled | 
object | 
Property icmpReplyEnabled: Specifies whether to enable the ICMP non-retrieval feature. | 
InstanceChargeType | 
object | 
Property instanceChargeType: The billing method. | 
InternetChargeType | 
object | 
Property internetChargeType: The billing method for the NAT gateway. | 
NatGatewayName | 
object | 
Property natGatewayName: Display name of the NAT gateway, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'. | 
NatType | 
object | 
Property natType: The type of the NAT gateway. | 
NetworkType | 
object | 
Property networkType: The type of the created NAT gateway. | 
PricingCycle | 
object | 
Property pricingCycle: Price cycle of the resource. | 
SecurityProtectionEnabled | 
object | 
Property securityProtectionEnabled: Specifies whether to enable the firewall feature. | 
Tags | 
TagsProperty[] | 
Property tags: Tags to attach to natgateway. | 
VpcIdRequired 
public object VpcId { get; set; }
- Type: object
 
Property vpcId: The VPC id to create NAT gateway.
VSwitchIdRequired 
public object VSwitchId { get; set; }
- Type: object
 
Property vSwitchId: The VSwitch id to create NAT gateway.
AutoPayOptional 
public object AutoPay { get; set; }
- Type: object
 
Property autoPay: Specifies whether to enable automatic payment.
Default is true.
DeletionForceOptional 
public object DeletionForce { get; set; }
- Type: object
 
Property deletionForce: Whether force delete the relative snat and dnat entries in the net gateway and unbind eips.
Default value is false.
DeletionProtectionOptional 
public object DeletionProtection { get; set; }
- Type: object
 
Property deletionProtection: Whether to enable deletion protection.
Default to False.
DescriptionOptional 
public object Description { get; set; }
- Type: object
 
Property description: Description of the NAT gateway, [2, 256] characters.
Do not fill or empty, the default is empty.
DurationOptional 
public object Duration { get; set; }
- Type: object
 
Property duration: The subscription duration.
While choose by pay by month, it could be from 1 to 9 or 12, 24, 36. While choose pay by year, it could be from 1 to 3.
EipBindModeOptional 
public object EipBindMode { get; set; }
- Type: object
 
Property eipBindMode: The mode in which the EIP is associated with the NAT gateway.
Valid values:MULTI_BINDED (default): the multi-EIP-to-ENI mode. NAT: NAT mode. IPv4 gateways are supported. Note If the EIP is associated with the NAT gateway in NAT mode, the EIP occupies a private IP address of the vSwitch to which the NAT gateway belongs. Make sure that the vSwitch has sufficient private IP addresses. Otherwise, the EIP cannot be associated with the NAT gateway. In NAT mode, a maximum number of 50 EIPs can be associated with each NAT gateway.
IcmpReplyEnabledOptional 
public object IcmpReplyEnabled { get; set; }
- Type: object
 
Property icmpReplyEnabled: Specifies whether to enable the ICMP non-retrieval feature.
Default: True
InstanceChargeTypeOptional 
public object InstanceChargeType { get; set; }
- Type: object
 
Property instanceChargeType: The billing method.
The default value is PostPaid (which means pay-as-you-go).
InternetChargeTypeOptional 
public object InternetChargeType { get; set; }
- Type: object
 
Property internetChargeType: The billing method for the NAT gateway.
Valid values: PayBySpec: billed on a pay-by-specification basis.
NatGatewayNameOptional 
public object NatGatewayName { get; set; }
- Type: object
 
Property natGatewayName: Display name of the NAT gateway, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
NatTypeOptional 
public object NatType { get; set; }
- Type: object
 
Property natType: The type of the NAT gateway.
Valid values:
- Enhanced: enhanced NAT gateway.
 
NetworkTypeOptional 
public object NetworkType { get; set; }
- Type: object
 
Property networkType: The type of the created NAT gateway.
Internet: public network NAT gateway. Intranet: VPC NAT gateway.
PricingCycleOptional 
public object PricingCycle { get; set; }
- Type: object
 
Property pricingCycle: Price cycle of the resource.
This property has no default value.
SecurityProtectionEnabledOptional 
public object SecurityProtectionEnabled { get; set; }
- Type: object
 
Property securityProtectionEnabled: Specifies whether to enable the firewall feature.
Default: False
TagsOptional 
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
 
Property tags: Tags to attach to natgateway.
Max support 20 tags to add during create natgateway. Each tag with two properties Key and Value, and Key is required.