NatGatewaysProps
Properties for defining a NatGateways
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgateways
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
&datasource.NatGatewaysProps {
InstanceChargeType: interface{},
Name: interface{},
NatGatewayId: interface{},
NatType: interface{},
NetworkType: interface{},
RefreshOptions: interface{},
ResourceGroupId: interface{},
Status: interface{},
VpcId: interface{},
ZoneId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
InstanceChargeType |
interface{} |
Property instanceChargeType: The billing method of the NAT gateway. |
Name |
interface{} |
Property name: The name of the NAT gateway. |
NatGatewayId |
interface{} |
Property natGatewayId: The ID of the NAT gateway. |
NatType |
interface{} |
Property natType: The type of NAT gateway. |
NetworkType |
interface{} |
Property networkType: The type of the NAT gateway. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group to which the NAT gateway belongs. |
Status |
interface{} |
Property status: The status of the NAT gateway. |
VpcId |
interface{} |
Property vpcId: The ID of the VPC to which the NAT gateway belongs. |
ZoneId |
interface{} |
Property zoneId: The ID of the zone to which the NAT gateway belongs. |
InstanceChargeType
Optional
InstanceChargeType interface{}
- Type: interface{}
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
Name interface{}
- Type: interface{}
Property name: The name of the NAT gateway.
NatGatewayId
Optional
NatGatewayId interface{}
- Type: interface{}
Property natGatewayId: The ID of the NAT gateway.
NatType
Optional
NatType interface{}
- Type: interface{}
Property natType: The type of NAT gateway.
Set the value to Enhanced (enhanced NAT gateway).
NetworkType
Optional
NetworkType interface{}
- Type: interface{}
Property networkType: The type of the NAT gateway.
Valid values: internet: an Internet NAT gateway intranet: a VPC NAT gateway
RefreshOptions
Optional
RefreshOptions interface{}
- Type: interface{}
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
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group to which the NAT gateway belongs.
Status
Optional
Status interface{}
- Type: interface{}
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
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the VPC to which the NAT gateway belongs.
ZoneId
Optional
ZoneId interface{}
- Type: interface{}
Property zoneId: The ID of the zone to which the NAT gateway belongs.