NatGatewaysProps
Properties for defining a NatGateways
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgateways
Initializer
using AlibabaCloud.SDK.ROS.CDK.Vpc;
new NatGatewaysProps {
object InstanceChargeType = null,
object Name = null,
object NatGatewayId = null,
object NatType = null,
object NetworkType = null,
object RefreshOptions = null,
object ResourceGroupId = null,
object Status = null,
object VpcId = null,
object ZoneId = null
};
Properties
Name | Type | Description |
---|---|---|
InstanceChargeType |
object |
Property instanceChargeType: The billing method of the NAT gateway. |
Name |
object |
Property name: The name of the NAT gateway. |
NatGatewayId |
object |
Property natGatewayId: The ID of the NAT gateway. |
NatType |
object |
Property natType: The type of NAT gateway. |
NetworkType |
object |
Property networkType: The type of the NAT gateway. |
RefreshOptions |
object |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group to which the NAT gateway belongs. |
Status |
object |
Property status: The status of the NAT gateway. |
VpcId |
object |
Property vpcId: The ID of the VPC to which the NAT gateway belongs. |
ZoneId |
object |
Property zoneId: The ID of the zone to which the NAT gateway belongs. |
InstanceChargeType
Optional
public object InstanceChargeType { get; set; }
- Type: object
Property instanceChargeType: The billing method of the NAT gateway.
Set the value to PostPaid, which specifies the pay-as-you-go billing method.
Name
Optional
public object Name { get; set; }
- Type: object
Property name: The name of the NAT gateway.
NatGatewayId
Optional
public object NatGatewayId { get; set; }
- Type: object
Property natGatewayId: The ID of the NAT gateway.
NatType
Optional
public object NatType { get; set; }
- Type: object
Property natType: The type of NAT gateway.
Set the value to Enhanced (enhanced NAT gateway).
NetworkType
Optional
public object NetworkType { get; set; }
- Type: object
Property networkType: The type of the NAT gateway.
Valid values: internet: an Internet NAT gateway intranet: a VPC NAT gateway
RefreshOptions
Optional
public object RefreshOptions { get; set; }
- Type: object
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group to which the NAT gateway belongs.
Status
Optional
public object Status { get; set; }
- Type: object
Property status: The status of the NAT gateway.
Valid values: Creating: After you send a request to create a NAT gateway, the system creates the NAT gateway in the background. The NAT gateway remains in the Creating state until the operation is completed. Available: The NAT gateway remains in a stable state after the NAT gateway is created. Modifying: After you send a request to modify a NAT gateway, the system modifies the NAT gateway in the background. The NAT gateway remains in the Modifying state until the operation is completed. Deleting: After you send a request to delete a NAT gateway, the system deletes the NAT gateway in the background. The NAT gateway remains in the Deleting state until the operation is completed. Converting: After you send a request to upgrade a standard NAT gateway to an enhanced NAT gateway, the system upgrades the NAT gateway in the background. The NAT gateway remains in the Converting state until the operation is completed.
VpcId
Optional
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the VPC to which the NAT gateway belongs.
ZoneId
Optional
public object ZoneId { get; set; }
- Type: object
Property zoneId: The ID of the zone to which the NAT gateway belongs.