alicloud.vpc.getNatGateways
Explore with Pulumi AI
This data source provides a list of Nat Gateways owned by an Alibaba Cloud account.
NOTE: Available in 1.37.0+.
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.NatGateway;
import com.pulumi.alicloud.vpc.NatGatewayArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetNatGatewaysArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("natGatewaysDatasource");
final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableResourceCreation("VSwitch")
.build());
var fooNetwork = new Network("fooNetwork", NetworkArgs.builder()
.cidrBlock("172.16.0.0/12")
.vpcName(name)
.build());
var fooNatGateway = new NatGateway("fooNatGateway", NatGatewayArgs.builder()
.natGateName(name)
.specification("Small")
.vpcId(fooNetwork.id())
.build());
final var fooNatGateways = VpcFunctions.getNatGateways(GetNatGatewaysArgs.builder()
.ids(fooNatGateway.id())
.nameRegex(fooNatGateway.name())
.vpcId(fooNetwork.id())
.build());
}
}
Coming soon!
Coming soon!
configuration:
name:
type: string
default: natGatewaysDatasource
resources:
fooNetwork:
type: alicloud:vpc:Network
properties:
cidrBlock: 172.16.0.0/12
vpcName: ${name}
fooNatGateway:
type: alicloud:vpc:NatGateway
properties:
natGateName: ${name}
specification: Small
vpcId: ${fooNetwork.id}
variables:
default:
fn::invoke:
Function: alicloud:getZones
Arguments:
availableResourceCreation: VSwitch
fooNatGateways:
fn::invoke:
Function: alicloud:vpc:getNatGateways
Arguments:
ids:
- ${fooNatGateway.id}
nameRegex: ${fooNatGateway.name}
vpcId: ${fooNetwork.id}
Using getNatGateways
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNatGateways(args: GetNatGatewaysArgs, opts?: InvokeOptions): Promise<GetNatGatewaysResult>
function getNatGatewaysOutput(args: GetNatGatewaysOutputArgs, opts?: InvokeOptions): Output<GetNatGatewaysResult>
def get_nat_gateways(dry_run: Optional[bool] = None,
enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
nat_gateway_name: Optional[str] = None,
nat_type: Optional[str] = None,
output_file: Optional[str] = None,
page_number: Optional[int] = None,
page_size: Optional[int] = None,
payment_type: Optional[str] = None,
resource_group_id: Optional[str] = None,
specification: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNatGatewaysResult
def get_nat_gateways_output(dry_run: Optional[pulumi.Input[bool]] = None,
enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
nat_gateway_name: Optional[pulumi.Input[str]] = None,
nat_type: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
page_number: Optional[pulumi.Input[int]] = None,
page_size: Optional[pulumi.Input[int]] = None,
payment_type: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
specification: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNatGatewaysResult]
func GetNatGateways(ctx *Context, args *GetNatGatewaysArgs, opts ...InvokeOption) (*GetNatGatewaysResult, error)
func GetNatGatewaysOutput(ctx *Context, args *GetNatGatewaysOutputArgs, opts ...InvokeOption) GetNatGatewaysResultOutput
> Note: This function is named GetNatGateways
in the Go SDK.
public static class GetNatGateways
{
public static Task<GetNatGatewaysResult> InvokeAsync(GetNatGatewaysArgs args, InvokeOptions? opts = null)
public static Output<GetNatGatewaysResult> Invoke(GetNatGatewaysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNatGatewaysResult> getNatGateways(GetNatGatewaysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:vpc/getNatGateways:getNatGateways
arguments:
# arguments dictionary
The following arguments are supported:
- Dry
Run bool Specifies whether to only precheck the request.
- Enable
Details bool Default to
false
. Set it totrue
can output more details about resource attributes.- Ids List<string>
A list of NAT gateways IDs.
- Name
Regex string A regex string to filter nat gateways by name.
- Nat
Gateway stringName The name of NAT gateway.
- Nat
Type string The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- Output
File string File name where to save data source results (after running
pulumi preview
).- Page
Number int - Page
Size int - Payment
Type string The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- Resource
Group stringId The resource group id of NAT gateway.
- Specification string
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- Status string
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- Dictionary<string, object>
The tags of NAT gateway.
- Vpc
Id string The ID of the VPC.
- Dry
Run bool Specifies whether to only precheck the request.
- Enable
Details bool Default to
false
. Set it totrue
can output more details about resource attributes.- Ids []string
A list of NAT gateways IDs.
- Name
Regex string A regex string to filter nat gateways by name.
- Nat
Gateway stringName The name of NAT gateway.
- Nat
Type string The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- Output
File string File name where to save data source results (after running
pulumi preview
).- Page
Number int - Page
Size int - Payment
Type string The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- Resource
Group stringId The resource group id of NAT gateway.
- Specification string
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- Status string
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- map[string]interface{}
The tags of NAT gateway.
- Vpc
Id string The ID of the VPC.
- dry
Run Boolean Specifies whether to only precheck the request.
- enable
Details Boolean Default to
false
. Set it totrue
can output more details about resource attributes.- ids List<String>
A list of NAT gateways IDs.
- name
Regex String A regex string to filter nat gateways by name.
- nat
Gateway StringName The name of NAT gateway.
- nat
Type String The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- output
File String File name where to save data source results (after running
pulumi preview
).- page
Number Integer - page
Size Integer - payment
Type String The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- resource
Group StringId The resource group id of NAT gateway.
- specification String
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- status String
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- Map<String,Object>
The tags of NAT gateway.
- vpc
Id String The ID of the VPC.
- dry
Run boolean Specifies whether to only precheck the request.
- enable
Details boolean Default to
false
. Set it totrue
can output more details about resource attributes.- ids string[]
A list of NAT gateways IDs.
- name
Regex string A regex string to filter nat gateways by name.
- nat
Gateway stringName The name of NAT gateway.
- nat
Type string The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- output
File string File name where to save data source results (after running
pulumi preview
).- page
Number number - page
Size number - payment
Type string The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- resource
Group stringId The resource group id of NAT gateway.
- specification string
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- status string
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- {[key: string]: any}
The tags of NAT gateway.
- vpc
Id string The ID of the VPC.
- dry_
run bool Specifies whether to only precheck the request.
- enable_
details bool Default to
false
. Set it totrue
can output more details about resource attributes.- ids Sequence[str]
A list of NAT gateways IDs.
- name_
regex str A regex string to filter nat gateways by name.
- nat_
gateway_ strname The name of NAT gateway.
- nat_
type str The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- output_
file str File name where to save data source results (after running
pulumi preview
).- page_
number int - page_
size int - payment_
type str The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- resource_
group_ strid The resource group id of NAT gateway.
- specification str
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- status str
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- Mapping[str, Any]
The tags of NAT gateway.
- vpc_
id str The ID of the VPC.
- dry
Run Boolean Specifies whether to only precheck the request.
- enable
Details Boolean Default to
false
. Set it totrue
can output more details about resource attributes.- ids List<String>
A list of NAT gateways IDs.
- name
Regex String A regex string to filter nat gateways by name.
- nat
Gateway StringName The name of NAT gateway.
- nat
Type String The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- output
File String File name where to save data source results (after running
pulumi preview
).- page
Number Number - page
Size Number - payment
Type String The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- resource
Group StringId The resource group id of NAT gateway.
- specification String
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- status String
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- Map<Any>
The tags of NAT gateway.
- vpc
Id String The ID of the VPC.
getNatGateways Result
The following output properties are available:
- Gateways
List<Pulumi.
Ali Cloud. Vpc. Outputs. Get Nat Gateways Gateway> A list of Nat gateways. Each element contains the following attributes:
- Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
(Optional) A list of Nat gateways IDs.
- Names List<string>
A list of Nat gateways names.
- Total
Count int - Dry
Run bool - Enable
Details bool - Name
Regex string - Nat
Gateway stringName The name of the NAT gateway.
- Nat
Type string The type of the NAT gateway.
- Output
File string - Page
Number int - Page
Size int - Payment
Type string The billing method of the NAT gateway.
- Resource
Group stringId The ID of the resource group.
- Specification string
The specification of the NAT gateway.
- Status string
The status of the NAT gateway.
- Dictionary<string, object>
The tags of NAT gateway.
- Vpc
Id string The ID of the VPC.
- Gateways
[]Get
Nat Gateways Gateway A list of Nat gateways. Each element contains the following attributes:
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
(Optional) A list of Nat gateways IDs.
- Names []string
A list of Nat gateways names.
- Total
Count int - Dry
Run bool - Enable
Details bool - Name
Regex string - Nat
Gateway stringName The name of the NAT gateway.
- Nat
Type string The type of the NAT gateway.
- Output
File string - Page
Number int - Page
Size int - Payment
Type string The billing method of the NAT gateway.
- Resource
Group stringId The ID of the resource group.
- Specification string
The specification of the NAT gateway.
- Status string
The status of the NAT gateway.
- map[string]interface{}
The tags of NAT gateway.
- Vpc
Id string The ID of the VPC.
- gateways
List<Get
Nat Gateways Gateway> A list of Nat gateways. Each element contains the following attributes:
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
(Optional) A list of Nat gateways IDs.
- names List<String>
A list of Nat gateways names.
- total
Count Integer - dry
Run Boolean - enable
Details Boolean - name
Regex String - nat
Gateway StringName The name of the NAT gateway.
- nat
Type String The type of the NAT gateway.
- output
File String - page
Number Integer - page
Size Integer - payment
Type String The billing method of the NAT gateway.
- resource
Group StringId The ID of the resource group.
- specification String
The specification of the NAT gateway.
- status String
The status of the NAT gateway.
- Map<String,Object>
The tags of NAT gateway.
- vpc
Id String The ID of the VPC.
- gateways
Get
Nat Gateways Gateway[] A list of Nat gateways. Each element contains the following attributes:
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
(Optional) A list of Nat gateways IDs.
- names string[]
A list of Nat gateways names.
- total
Count number - dry
Run boolean - enable
Details boolean - name
Regex string - nat
Gateway stringName The name of the NAT gateway.
- nat
Type string The type of the NAT gateway.
- output
File string - page
Number number - page
Size number - payment
Type string The billing method of the NAT gateway.
- resource
Group stringId The ID of the resource group.
- specification string
The specification of the NAT gateway.
- status string
The status of the NAT gateway.
- {[key: string]: any}
The tags of NAT gateway.
- vpc
Id string The ID of the VPC.
- gateways
Sequence[Get
Nat Gateways Gateway] A list of Nat gateways. Each element contains the following attributes:
- id str
The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
(Optional) A list of Nat gateways IDs.
- names Sequence[str]
A list of Nat gateways names.
- total_
count int - dry_
run bool - enable_
details bool - name_
regex str - nat_
gateway_ strname The name of the NAT gateway.
- nat_
type str The type of the NAT gateway.
- output_
file str - page_
number int - page_
size int - payment_
type str The billing method of the NAT gateway.
- resource_
group_ strid The ID of the resource group.
- specification str
The specification of the NAT gateway.
- status str
The status of the NAT gateway.
- Mapping[str, Any]
The tags of NAT gateway.
- vpc_
id str The ID of the VPC.
- gateways List<Property Map>
A list of Nat gateways. Each element contains the following attributes:
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
(Optional) A list of Nat gateways IDs.
- names List<String>
A list of Nat gateways names.
- total
Count Number - dry
Run Boolean - enable
Details Boolean - name
Regex String - nat
Gateway StringName The name of the NAT gateway.
- nat
Type String The type of the NAT gateway.
- output
File String - page
Number Number - page
Size Number - payment
Type String The billing method of the NAT gateway.
- resource
Group StringId The ID of the resource group.
- specification String
The specification of the NAT gateway.
- status String
The status of the NAT gateway.
- Map<Any>
The tags of NAT gateway.
- vpc
Id String The ID of the VPC.
Supporting Types
GetNatGatewaysGateway
- Business
Status string The state of the NAT gateway.
- Deletion
Protection bool Indicates whether deletion protection is enabled.
- Description string
The description of the NAT gateway.
- Ecs
Metric boolEnabled Indicates whether the traffic monitoring feature is enabled.
- Expired
Time string The time when the NAT gateway expires.
- Forward
Table List<string>Ids The ID of the DNAT table.
- Id string
The ID of the NAT gateway.
- Internet
Charge stringType The metering method of the NAT gateway.
- Ip
Lists List<string> The ip address of the bind eip.
- Name string
Name of the NAT gateway.
- Nat
Gateway stringId The ID of the NAT gateway.
- Nat
Gateway stringName The name of NAT gateway.
- Nat
Type string The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- Network
Type string (Available in 1.137.0+) Indicates the type of the created NAT gateway. Valid values
internet
andintranet
.- Payment
Type string The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- Resource
Group stringId The resource group id of NAT gateway.
- Snat
Table List<string>Ids The ID of the SNAT table that is associated with the NAT gateway.
- Spec string
The specification of the NAT gateway.
- Specification string
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- Status string
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- Dictionary<string, object>
The tags of NAT gateway.
- Vpc
Id string The ID of the VPC.
- Vswitch
Id string The ID of the vSwitch to which the NAT gateway belongs.
- Business
Status string The state of the NAT gateway.
- Deletion
Protection bool Indicates whether deletion protection is enabled.
- Description string
The description of the NAT gateway.
- Ecs
Metric boolEnabled Indicates whether the traffic monitoring feature is enabled.
- Expired
Time string The time when the NAT gateway expires.
- Forward
Table []stringIds The ID of the DNAT table.
- Id string
The ID of the NAT gateway.
- Internet
Charge stringType The metering method of the NAT gateway.
- Ip
Lists []string The ip address of the bind eip.
- Name string
Name of the NAT gateway.
- Nat
Gateway stringId The ID of the NAT gateway.
- Nat
Gateway stringName The name of NAT gateway.
- Nat
Type string The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- Network
Type string (Available in 1.137.0+) Indicates the type of the created NAT gateway. Valid values
internet
andintranet
.- Payment
Type string The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- Resource
Group stringId The resource group id of NAT gateway.
- Snat
Table []stringIds The ID of the SNAT table that is associated with the NAT gateway.
- Spec string
The specification of the NAT gateway.
- Specification string
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- Status string
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- map[string]interface{}
The tags of NAT gateway.
- Vpc
Id string The ID of the VPC.
- Vswitch
Id string The ID of the vSwitch to which the NAT gateway belongs.
- business
Status String The state of the NAT gateway.
- deletion
Protection Boolean Indicates whether deletion protection is enabled.
- description String
The description of the NAT gateway.
- ecs
Metric BooleanEnabled Indicates whether the traffic monitoring feature is enabled.
- expired
Time String The time when the NAT gateway expires.
- forward
Table List<String>Ids The ID of the DNAT table.
- id String
The ID of the NAT gateway.
- internet
Charge StringType The metering method of the NAT gateway.
- ip
Lists List<String> The ip address of the bind eip.
- name String
Name of the NAT gateway.
- nat
Gateway StringId The ID of the NAT gateway.
- nat
Gateway StringName The name of NAT gateway.
- nat
Type String The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- network
Type String (Available in 1.137.0+) Indicates the type of the created NAT gateway. Valid values
internet
andintranet
.- payment
Type String The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- resource
Group StringId The resource group id of NAT gateway.
- snat
Table List<String>Ids The ID of the SNAT table that is associated with the NAT gateway.
- spec String
The specification of the NAT gateway.
- specification String
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- status String
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- Map<String,Object>
The tags of NAT gateway.
- vpc
Id String The ID of the VPC.
- vswitch
Id String The ID of the vSwitch to which the NAT gateway belongs.
- business
Status string The state of the NAT gateway.
- deletion
Protection boolean Indicates whether deletion protection is enabled.
- description string
The description of the NAT gateway.
- ecs
Metric booleanEnabled Indicates whether the traffic monitoring feature is enabled.
- expired
Time string The time when the NAT gateway expires.
- forward
Table string[]Ids The ID of the DNAT table.
- id string
The ID of the NAT gateway.
- internet
Charge stringType The metering method of the NAT gateway.
- ip
Lists string[] The ip address of the bind eip.
- name string
Name of the NAT gateway.
- nat
Gateway stringId The ID of the NAT gateway.
- nat
Gateway stringName The name of NAT gateway.
- nat
Type string The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- network
Type string (Available in 1.137.0+) Indicates the type of the created NAT gateway. Valid values
internet
andintranet
.- payment
Type string The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- resource
Group stringId The resource group id of NAT gateway.
- snat
Table string[]Ids The ID of the SNAT table that is associated with the NAT gateway.
- spec string
The specification of the NAT gateway.
- specification string
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- status string
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- {[key: string]: any}
The tags of NAT gateway.
- vpc
Id string The ID of the VPC.
- vswitch
Id string The ID of the vSwitch to which the NAT gateway belongs.
- business_
status str The state of the NAT gateway.
- deletion_
protection bool Indicates whether deletion protection is enabled.
- description str
The description of the NAT gateway.
- ecs_
metric_ boolenabled Indicates whether the traffic monitoring feature is enabled.
- expired_
time str The time when the NAT gateway expires.
- forward_
table_ Sequence[str]ids The ID of the DNAT table.
- id str
The ID of the NAT gateway.
- internet_
charge_ strtype The metering method of the NAT gateway.
- ip_
lists Sequence[str] The ip address of the bind eip.
- name str
Name of the NAT gateway.
- nat_
gateway_ strid The ID of the NAT gateway.
- nat_
gateway_ strname The name of NAT gateway.
- nat_
type str The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- network_
type str (Available in 1.137.0+) Indicates the type of the created NAT gateway. Valid values
internet
andintranet
.- payment_
type str The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- resource_
group_ strid The resource group id of NAT gateway.
- snat_
table_ Sequence[str]ids The ID of the SNAT table that is associated with the NAT gateway.
- spec str
The specification of the NAT gateway.
- specification str
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- status str
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- Mapping[str, Any]
The tags of NAT gateway.
- vpc_
id str The ID of the VPC.
- vswitch_
id str The ID of the vSwitch to which the NAT gateway belongs.
- business
Status String The state of the NAT gateway.
- deletion
Protection Boolean Indicates whether deletion protection is enabled.
- description String
The description of the NAT gateway.
- ecs
Metric BooleanEnabled Indicates whether the traffic monitoring feature is enabled.
- expired
Time String The time when the NAT gateway expires.
- forward
Table List<String>Ids The ID of the DNAT table.
- id String
The ID of the NAT gateway.
- internet
Charge StringType The metering method of the NAT gateway.
- ip
Lists List<String> The ip address of the bind eip.
- name String
Name of the NAT gateway.
- nat
Gateway StringId The ID of the NAT gateway.
- nat
Gateway StringName The name of NAT gateway.
- nat
Type String The nat type of NAT gateway. Valid values
Enhanced
andNormal
.- network
Type String (Available in 1.137.0+) Indicates the type of the created NAT gateway. Valid values
internet
andintranet
.- payment
Type String The payment type of NAT gateway. Valid values
PayAsYouGo
andSubscription
.- resource
Group StringId The resource group id of NAT gateway.
- snat
Table List<String>Ids The ID of the SNAT table that is associated with the NAT gateway.
- spec String
The specification of the NAT gateway.
- specification String
The specification of NAT gateway. Valid values
Middle
,Large
,Small
andXLarge.1
. Default value isSmall
.- status String
The status of NAT gateway. Valid values
Available
,Converting
,Creating
,Deleting
andModifying
.- Map<Any>
The tags of NAT gateway.
- vpc
Id String The ID of the VPC.
- vswitch
Id String The ID of the vSwitch to which the NAT gateway belongs.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.