1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cloudfirewall
  5. getNatFirewalls
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.cloudfirewall.getNatFirewalls

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

This data source provides Cloud Firewall Nat Firewall available to the user.What is Nat Firewall

NOTE: Available since v1.243.0.

Using getNatFirewalls

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 getNatFirewalls(args: GetNatFirewallsArgs, opts?: InvokeOptions): Promise<GetNatFirewallsResult>
function getNatFirewallsOutput(args: GetNatFirewallsOutputArgs, opts?: InvokeOptions): Output<GetNatFirewallsResult>
Copy
def get_nat_firewalls(ids: Optional[Sequence[str]] = None,
                      lang: Optional[str] = None,
                      member_uid: Optional[int] = None,
                      nat_gateway_id: Optional[str] = None,
                      output_file: Optional[str] = None,
                      page_number: Optional[int] = None,
                      page_size: Optional[int] = None,
                      proxy_id: Optional[str] = None,
                      proxy_name: Optional[str] = None,
                      region_no: Optional[str] = None,
                      status: Optional[str] = None,
                      vpc_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetNatFirewallsResult
def get_nat_firewalls_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                      lang: Optional[pulumi.Input[str]] = None,
                      member_uid: Optional[pulumi.Input[int]] = None,
                      nat_gateway_id: 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,
                      proxy_id: Optional[pulumi.Input[str]] = None,
                      proxy_name: Optional[pulumi.Input[str]] = None,
                      region_no: Optional[pulumi.Input[str]] = None,
                      status: Optional[pulumi.Input[str]] = None,
                      vpc_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetNatFirewallsResult]
Copy
func GetNatFirewalls(ctx *Context, args *GetNatFirewallsArgs, opts ...InvokeOption) (*GetNatFirewallsResult, error)
func GetNatFirewallsOutput(ctx *Context, args *GetNatFirewallsOutputArgs, opts ...InvokeOption) GetNatFirewallsResultOutput
Copy

> Note: This function is named GetNatFirewalls in the Go SDK.

public static class GetNatFirewalls 
{
    public static Task<GetNatFirewallsResult> InvokeAsync(GetNatFirewallsArgs args, InvokeOptions? opts = null)
    public static Output<GetNatFirewallsResult> Invoke(GetNatFirewallsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNatFirewallsResult> getNatFirewalls(GetNatFirewallsArgs args, InvokeOptions options)
public static Output<GetNatFirewallsResult> getNatFirewalls(GetNatFirewallsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:cloudfirewall/getNatFirewalls:getNatFirewalls
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Ids Changes to this property will trigger replacement. List<string>
A list of Nat Firewall IDs.
Lang Changes to this property will trigger replacement. string
Lang
MemberUid Changes to this property will trigger replacement. int
Member Account ID
NatGatewayId Changes to this property will trigger replacement. string
NAT gateway ID
OutputFile Changes to this property will trigger replacement. string
File name where to save data source results (after running pulumi preview).
PageNumber Changes to this property will trigger replacement. int
Page No
PageSize Changes to this property will trigger replacement. int
Page Size
ProxyId Changes to this property will trigger replacement. string
NAT firewall ID
ProxyName Changes to this property will trigger replacement. string
NAT firewall name
RegionNo Changes to this property will trigger replacement. string
Region
Status Changes to this property will trigger replacement. string
The status of the resource
VpcId Changes to this property will trigger replacement. string
The ID of the VPC instance.
Ids Changes to this property will trigger replacement. []string
A list of Nat Firewall IDs.
Lang Changes to this property will trigger replacement. string
Lang
MemberUid Changes to this property will trigger replacement. int
Member Account ID
NatGatewayId Changes to this property will trigger replacement. string
NAT gateway ID
OutputFile Changes to this property will trigger replacement. string
File name where to save data source results (after running pulumi preview).
PageNumber Changes to this property will trigger replacement. int
Page No
PageSize Changes to this property will trigger replacement. int
Page Size
ProxyId Changes to this property will trigger replacement. string
NAT firewall ID
ProxyName Changes to this property will trigger replacement. string
NAT firewall name
RegionNo Changes to this property will trigger replacement. string
Region
Status Changes to this property will trigger replacement. string
The status of the resource
VpcId Changes to this property will trigger replacement. string
The ID of the VPC instance.
ids Changes to this property will trigger replacement. List<String>
A list of Nat Firewall IDs.
lang Changes to this property will trigger replacement. String
Lang
memberUid Changes to this property will trigger replacement. Integer
Member Account ID
natGatewayId Changes to this property will trigger replacement. String
NAT gateway ID
outputFile Changes to this property will trigger replacement. String
File name where to save data source results (after running pulumi preview).
pageNumber Changes to this property will trigger replacement. Integer
Page No
pageSize Changes to this property will trigger replacement. Integer
Page Size
proxyId Changes to this property will trigger replacement. String
NAT firewall ID
proxyName Changes to this property will trigger replacement. String
NAT firewall name
regionNo Changes to this property will trigger replacement. String
Region
status Changes to this property will trigger replacement. String
The status of the resource
vpcId Changes to this property will trigger replacement. String
The ID of the VPC instance.
ids Changes to this property will trigger replacement. string[]
A list of Nat Firewall IDs.
lang Changes to this property will trigger replacement. string
Lang
memberUid Changes to this property will trigger replacement. number
Member Account ID
natGatewayId Changes to this property will trigger replacement. string
NAT gateway ID
outputFile Changes to this property will trigger replacement. string
File name where to save data source results (after running pulumi preview).
pageNumber Changes to this property will trigger replacement. number
Page No
pageSize Changes to this property will trigger replacement. number
Page Size
proxyId Changes to this property will trigger replacement. string
NAT firewall ID
proxyName Changes to this property will trigger replacement. string
NAT firewall name
regionNo Changes to this property will trigger replacement. string
Region
status Changes to this property will trigger replacement. string
The status of the resource
vpcId Changes to this property will trigger replacement. string
The ID of the VPC instance.
ids Changes to this property will trigger replacement. Sequence[str]
A list of Nat Firewall IDs.
lang Changes to this property will trigger replacement. str
Lang
member_uid Changes to this property will trigger replacement. int
Member Account ID
nat_gateway_id Changes to this property will trigger replacement. str
NAT gateway ID
output_file Changes to this property will trigger replacement. str
File name where to save data source results (after running pulumi preview).
page_number Changes to this property will trigger replacement. int
Page No
page_size Changes to this property will trigger replacement. int
Page Size
proxy_id Changes to this property will trigger replacement. str
NAT firewall ID
proxy_name Changes to this property will trigger replacement. str
NAT firewall name
region_no Changes to this property will trigger replacement. str
Region
status Changes to this property will trigger replacement. str
The status of the resource
vpc_id Changes to this property will trigger replacement. str
The ID of the VPC instance.
ids Changes to this property will trigger replacement. List<String>
A list of Nat Firewall IDs.
lang Changes to this property will trigger replacement. String
Lang
memberUid Changes to this property will trigger replacement. Number
Member Account ID
natGatewayId Changes to this property will trigger replacement. String
NAT gateway ID
outputFile Changes to this property will trigger replacement. String
File name where to save data source results (after running pulumi preview).
pageNumber Changes to this property will trigger replacement. Number
Page No
pageSize Changes to this property will trigger replacement. Number
Page Size
proxyId Changes to this property will trigger replacement. String
NAT firewall ID
proxyName Changes to this property will trigger replacement. String
NAT firewall name
regionNo Changes to this property will trigger replacement. String
Region
status Changes to this property will trigger replacement. String
The status of the resource
vpcId Changes to this property will trigger replacement. String
The ID of the VPC instance.

getNatFirewalls Result

The following output properties are available:

Firewalls List<Pulumi.AliCloud.CloudFirewall.Outputs.GetNatFirewallsFirewall>
A list of Nat Firewall Entries. Each element contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
A list of Nat Firewall IDs.
Lang string
MemberUid int
Member Account ID
NatGatewayId string
NAT gateway ID
OutputFile string
PageNumber int
PageSize int
ProxyId string
NAT firewall ID
ProxyName string
NAT firewall name
RegionNo string
Status string
VpcId string
The ID of the VPC instance.
Firewalls []GetNatFirewallsFirewall
A list of Nat Firewall Entries. Each element contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
A list of Nat Firewall IDs.
Lang string
MemberUid int
Member Account ID
NatGatewayId string
NAT gateway ID
OutputFile string
PageNumber int
PageSize int
ProxyId string
NAT firewall ID
ProxyName string
NAT firewall name
RegionNo string
Status string
VpcId string
The ID of the VPC instance.
firewalls List<GetNatFirewallsFirewall>
A list of Nat Firewall Entries. Each element contains the following attributes:
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of Nat Firewall IDs.
lang String
memberUid Integer
Member Account ID
natGatewayId String
NAT gateway ID
outputFile String
pageNumber Integer
pageSize Integer
proxyId String
NAT firewall ID
proxyName String
NAT firewall name
regionNo String
status String
vpcId String
The ID of the VPC instance.
firewalls GetNatFirewallsFirewall[]
A list of Nat Firewall Entries. Each element contains the following attributes:
id string
The provider-assigned unique ID for this managed resource.
ids string[]
A list of Nat Firewall IDs.
lang string
memberUid number
Member Account ID
natGatewayId string
NAT gateway ID
outputFile string
pageNumber number
pageSize number
proxyId string
NAT firewall ID
proxyName string
NAT firewall name
regionNo string
status string
vpcId string
The ID of the VPC instance.
firewalls Sequence[GetNatFirewallsFirewall]
A list of Nat Firewall Entries. Each element contains the following attributes:
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
A list of Nat Firewall IDs.
lang str
member_uid int
Member Account ID
nat_gateway_id str
NAT gateway ID
output_file str
page_number int
page_size int
proxy_id str
NAT firewall ID
proxy_name str
NAT firewall name
region_no str
status str
vpc_id str
The ID of the VPC instance.
firewalls List<Property Map>
A list of Nat Firewall Entries. Each element contains the following attributes:
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of Nat Firewall IDs.
lang String
memberUid Number
Member Account ID
natGatewayId String
NAT gateway ID
outputFile String
pageNumber Number
pageSize Number
proxyId String
NAT firewall ID
proxyName String
NAT firewall name
regionNo String
status String
vpcId String
The ID of the VPC instance.

Supporting Types

GetNatFirewallsFirewall

AliUid This property is required. int
Alibaba Cloud account ID
Id This property is required. string
The ID of the resource supplied above.
MemberUid This property is required. int
Member Account ID
NatGatewayId This property is required. string
NAT gateway ID
NatGatewayName This property is required. string
NAT Gateway name
NatRouteEntryLists This property is required. List<Pulumi.AliCloud.CloudFirewall.Inputs.GetNatFirewallsFirewallNatRouteEntryList>
The list of routes to be switched by the NAT gateway.
ProxyId This property is required. string
NAT firewall ID
ProxyName This property is required. string
NAT firewall name
StrictMode This property is required. int
Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
VpcId This property is required. string
The ID of the VPC instance.
AliUid This property is required. int
Alibaba Cloud account ID
Id This property is required. string
The ID of the resource supplied above.
MemberUid This property is required. int
Member Account ID
NatGatewayId This property is required. string
NAT gateway ID
NatGatewayName This property is required. string
NAT Gateway name
NatRouteEntryLists This property is required. []GetNatFirewallsFirewallNatRouteEntryList
The list of routes to be switched by the NAT gateway.
ProxyId This property is required. string
NAT firewall ID
ProxyName This property is required. string
NAT firewall name
StrictMode This property is required. int
Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
VpcId This property is required. string
The ID of the VPC instance.
aliUid This property is required. Integer
Alibaba Cloud account ID
id This property is required. String
The ID of the resource supplied above.
memberUid This property is required. Integer
Member Account ID
natGatewayId This property is required. String
NAT gateway ID
natGatewayName This property is required. String
NAT Gateway name
natRouteEntryLists This property is required. List<GetNatFirewallsFirewallNatRouteEntryList>
The list of routes to be switched by the NAT gateway.
proxyId This property is required. String
NAT firewall ID
proxyName This property is required. String
NAT firewall name
strictMode This property is required. Integer
Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
vpcId This property is required. String
The ID of the VPC instance.
aliUid This property is required. number
Alibaba Cloud account ID
id This property is required. string
The ID of the resource supplied above.
memberUid This property is required. number
Member Account ID
natGatewayId This property is required. string
NAT gateway ID
natGatewayName This property is required. string
NAT Gateway name
natRouteEntryLists This property is required. GetNatFirewallsFirewallNatRouteEntryList[]
The list of routes to be switched by the NAT gateway.
proxyId This property is required. string
NAT firewall ID
proxyName This property is required. string
NAT firewall name
strictMode This property is required. number
Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
vpcId This property is required. string
The ID of the VPC instance.
ali_uid This property is required. int
Alibaba Cloud account ID
id This property is required. str
The ID of the resource supplied above.
member_uid This property is required. int
Member Account ID
nat_gateway_id This property is required. str
NAT gateway ID
nat_gateway_name This property is required. str
NAT Gateway name
nat_route_entry_lists This property is required. Sequence[GetNatFirewallsFirewallNatRouteEntryList]
The list of routes to be switched by the NAT gateway.
proxy_id This property is required. str
NAT firewall ID
proxy_name This property is required. str
NAT firewall name
strict_mode This property is required. int
Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
vpc_id This property is required. str
The ID of the VPC instance.
aliUid This property is required. Number
Alibaba Cloud account ID
id This property is required. String
The ID of the resource supplied above.
memberUid This property is required. Number
Member Account ID
natGatewayId This property is required. String
NAT gateway ID
natGatewayName This property is required. String
NAT Gateway name
natRouteEntryLists This property is required. List<Property Map>
The list of routes to be switched by the NAT gateway.
proxyId This property is required. String
NAT firewall ID
proxyName This property is required. String
NAT firewall name
strictMode This property is required. Number
Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
vpcId This property is required. String
The ID of the VPC instance.

GetNatFirewallsFirewallNatRouteEntryList

DestinationCidr This property is required. string
The destination network segment of the default route.
NexthopId This property is required. string
The next hop address of the original NAT gateway.
NexthopType This property is required. string
The network type of the next hop. Value: NatGateway : NAT Gateway.
RouteTableId This property is required. string
The route table where the default route of the NAT gateway is located.
DestinationCidr This property is required. string
The destination network segment of the default route.
NexthopId This property is required. string
The next hop address of the original NAT gateway.
NexthopType This property is required. string
The network type of the next hop. Value: NatGateway : NAT Gateway.
RouteTableId This property is required. string
The route table where the default route of the NAT gateway is located.
destinationCidr This property is required. String
The destination network segment of the default route.
nexthopId This property is required. String
The next hop address of the original NAT gateway.
nexthopType This property is required. String
The network type of the next hop. Value: NatGateway : NAT Gateway.
routeTableId This property is required. String
The route table where the default route of the NAT gateway is located.
destinationCidr This property is required. string
The destination network segment of the default route.
nexthopId This property is required. string
The next hop address of the original NAT gateway.
nexthopType This property is required. string
The network type of the next hop. Value: NatGateway : NAT Gateway.
routeTableId This property is required. string
The route table where the default route of the NAT gateway is located.
destination_cidr This property is required. str
The destination network segment of the default route.
nexthop_id This property is required. str
The next hop address of the original NAT gateway.
nexthop_type This property is required. str
The network type of the next hop. Value: NatGateway : NAT Gateway.
route_table_id This property is required. str
The route table where the default route of the NAT gateway is located.
destinationCidr This property is required. String
The destination network segment of the default route.
nexthopId This property is required. String
The next hop address of the original NAT gateway.
nexthopType This property is required. String
The network type of the next hop. Value: NatGateway : NAT Gateway.
routeTableId This property is required. String
The route table where the default route of the NAT gateway is located.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi