Alibaba Cloud v3.95.0 published on Thursday, Feb 12, 2026 by Pulumi
Alibaba Cloud v3.95.0 published on Thursday, Feb 12, 2026 by Pulumi
This data source provides Cloud Firewall Nat Firewall available to the user.What is Nat Firewall
NOTE: Available since v1.243.0.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const defaultikZ0gD = new alicloud.vpc.Network("defaultikZ0gD", {
cidrBlock: "172.16.0.0/12",
vpcName: name,
});
const defaultp4O7qi = new alicloud.vpc.Switch("defaultp4O7qi", {
vpcId: defaultikZ0gD.id,
cidrBlock: "172.16.6.0/24",
vswitchName: name,
zoneId: "cn-shenzhen-e",
});
const default2iRZpC = new alicloud.vpc.NatGateway("default2iRZpC", {
description: name,
natGatewayName: name,
eipBindMode: "MULTI_BINDED",
natType: "Enhanced",
vpcId: defaultikZ0gD.id,
paymentType: "PayAsYouGo",
networkType: "internet",
});
const defaultyiRwgs = new alicloud.ecs.EipAddress("defaultyiRwgs", {});
const defaults2MTuO = new alicloud.ecs.EipAssociation("defaults2MTuO", {
instanceId: default2iRZpC.id,
allocationId: defaultyiRwgs.allocationId,
mode: "NAT",
instanceType: "NAT",
vpcId: default2iRZpC.vpcId,
});
const defaultAKE43g = new alicloud.vpc.SnatEntry("defaultAKE43g", {
snatIp: defaultyiRwgs.ipAddress,
snatTableId: default2iRZpC.snatTableIds[0],
eipAffinity: 1,
sourceVswitchId: defaultp4O7qi.id,
});
const defaultNatFirewall = new alicloud.cloudfirewall.NatFirewall("default", {
regionNo: "cn-shenzhen",
vswitchAuto: "true",
strictMode: 0,
vpcId: defaultikZ0gD.id,
proxyName: name,
lang: "zh",
natGatewayId: default2iRZpC.id,
natRouteEntryLists: [{
nexthopId: default2iRZpC.id,
destinationCidr: "0.0.0.0/0",
nexthopType: "NatGateway",
routeTableId: defaultp4O7qi.routeTableId,
}],
firewallSwitch: "close",
vswitchCidr: "172.16.5.0/24",
status: "closed",
vswitchId: defaultp4O7qi.id,
});
const _default = alicloud.cloudfirewall.getNatFirewallsOutput({
ids: [defaultNatFirewall.id],
lang: "zh",
natGatewayId: default2iRZpC.id,
proxyName: name,
regionNo: "cn-shenzhen",
status: "closed",
vpcId: defaultikZ0gD.id,
});
export const alicloudCloudFirewallNatFirewallExampleId = _default.apply(_default => _default.firewalls?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
defaultik_z0g_d = alicloud.vpc.Network("defaultikZ0gD",
cidr_block="172.16.0.0/12",
vpc_name=name)
defaultp4_o7qi = alicloud.vpc.Switch("defaultp4O7qi",
vpc_id=defaultik_z0g_d.id,
cidr_block="172.16.6.0/24",
vswitch_name=name,
zone_id="cn-shenzhen-e")
default2i_r_zp_c = alicloud.vpc.NatGateway("default2iRZpC",
description=name,
nat_gateway_name=name,
eip_bind_mode="MULTI_BINDED",
nat_type="Enhanced",
vpc_id=defaultik_z0g_d.id,
payment_type="PayAsYouGo",
network_type="internet")
defaultyi_rwgs = alicloud.ecs.EipAddress("defaultyiRwgs")
defaults2_m_tu_o = alicloud.ecs.EipAssociation("defaults2MTuO",
instance_id=default2i_r_zp_c.id,
allocation_id=defaultyi_rwgs.allocation_id,
mode="NAT",
instance_type="NAT",
vpc_id=default2i_r_zp_c.vpc_id)
default_ake43g = alicloud.vpc.SnatEntry("defaultAKE43g",
snat_ip=defaultyi_rwgs.ip_address,
snat_table_id=default2i_r_zp_c.snat_table_ids[0],
eip_affinity=1,
source_vswitch_id=defaultp4_o7qi.id)
default_nat_firewall = alicloud.cloudfirewall.NatFirewall("default",
region_no="cn-shenzhen",
vswitch_auto="true",
strict_mode=0,
vpc_id=defaultik_z0g_d.id,
proxy_name=name,
lang="zh",
nat_gateway_id=default2i_r_zp_c.id,
nat_route_entry_lists=[{
"nexthop_id": default2i_r_zp_c.id,
"destination_cidr": "0.0.0.0/0",
"nexthop_type": "NatGateway",
"route_table_id": defaultp4_o7qi.route_table_id,
}],
firewall_switch="close",
vswitch_cidr="172.16.5.0/24",
status="closed",
vswitch_id=defaultp4_o7qi.id)
default = alicloud.cloudfirewall.get_nat_firewalls_output(ids=[default_nat_firewall.id],
lang="zh",
nat_gateway_id=default2i_r_zp_c.id,
proxy_name=name,
region_no="cn-shenzhen",
status="closed",
vpc_id=defaultik_z0g_d.id)
pulumi.export("alicloudCloudFirewallNatFirewallExampleId", default.firewalls[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example";
if param := cfg.Get("name"); param != ""{
name = param
}
defaultikZ0gD, err := vpc.NewNetwork(ctx, "defaultikZ0gD", &vpc.NetworkArgs{
CidrBlock: pulumi.String("172.16.0.0/12"),
VpcName: pulumi.String(name),
})
if err != nil {
return err
}
defaultp4O7qi, err := vpc.NewSwitch(ctx, "defaultp4O7qi", &vpc.SwitchArgs{
VpcId: defaultikZ0gD.ID(),
CidrBlock: pulumi.String("172.16.6.0/24"),
VswitchName: pulumi.String(name),
ZoneId: pulumi.String("cn-shenzhen-e"),
})
if err != nil {
return err
}
default2iRZpC, err := vpc.NewNatGateway(ctx, "default2iRZpC", &vpc.NatGatewayArgs{
Description: pulumi.String(name),
NatGatewayName: pulumi.String(name),
EipBindMode: pulumi.String("MULTI_BINDED"),
NatType: pulumi.String("Enhanced"),
VpcId: defaultikZ0gD.ID(),
PaymentType: pulumi.String("PayAsYouGo"),
NetworkType: pulumi.String("internet"),
})
if err != nil {
return err
}
defaultyiRwgs, err := ecs.NewEipAddress(ctx, "defaultyiRwgs", nil)
if err != nil {
return err
}
_, err = ecs.NewEipAssociation(ctx, "defaults2MTuO", &ecs.EipAssociationArgs{
InstanceId: default2iRZpC.ID(),
AllocationId: defaultyiRwgs.AllocationId,
Mode: pulumi.String("NAT"),
InstanceType: pulumi.String("NAT"),
VpcId: default2iRZpC.VpcId,
})
if err != nil {
return err
}
_, err = vpc.NewSnatEntry(ctx, "defaultAKE43g", &vpc.SnatEntryArgs{
SnatIp: defaultyiRwgs.IpAddress,
SnatTableId: pulumi.String(default2iRZpC.SnatTableIds.ApplyT(func(snatTableIds string) (interface{}, error) {
return snatTableIds[0], nil
}).(pulumi.Interface{}Output)),
EipAffinity: pulumi.Int(1),
SourceVswitchId: defaultp4O7qi.ID(),
})
if err != nil {
return err
}
defaultNatFirewall, err := cloudfirewall.NewNatFirewall(ctx, "default", &cloudfirewall.NatFirewallArgs{
RegionNo: pulumi.String("cn-shenzhen"),
VswitchAuto: pulumi.String("true"),
StrictMode: pulumi.Int(0),
VpcId: defaultikZ0gD.ID(),
ProxyName: pulumi.String(name),
Lang: pulumi.String("zh"),
NatGatewayId: default2iRZpC.ID(),
NatRouteEntryLists: cloudfirewall.NatFirewallNatRouteEntryListArray{
&cloudfirewall.NatFirewallNatRouteEntryListArgs{
NexthopId: default2iRZpC.ID(),
DestinationCidr: pulumi.String("0.0.0.0/0"),
NexthopType: pulumi.String("NatGateway"),
RouteTableId: defaultp4O7qi.RouteTableId,
},
},
FirewallSwitch: pulumi.String("close"),
VswitchCidr: pulumi.String("172.16.5.0/24"),
Status: pulumi.String("closed"),
VswitchId: defaultp4O7qi.ID(),
})
if err != nil {
return err
}
_default := cloudfirewall.GetNatFirewallsOutput(ctx, cloudfirewall.GetNatFirewallsOutputArgs{
Ids: pulumi.StringArray{
defaultNatFirewall.ID(),
},
Lang: pulumi.String("zh"),
NatGatewayId: default2iRZpC.ID(),
ProxyName: pulumi.String(name),
RegionNo: pulumi.String("cn-shenzhen"),
Status: pulumi.String("closed"),
VpcId: defaultikZ0gD.ID(),
}, nil);
ctx.Export("alicloudCloudFirewallNatFirewallExampleId", _default.ApplyT(func(_default cloudfirewall.GetNatFirewallsResult) (*string, error) {
return &default.Firewalls[0].Id, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var defaultikZ0gD = new AliCloud.Vpc.Network("defaultikZ0gD", new()
{
CidrBlock = "172.16.0.0/12",
VpcName = name,
});
var defaultp4O7qi = new AliCloud.Vpc.Switch("defaultp4O7qi", new()
{
VpcId = defaultikZ0gD.Id,
CidrBlock = "172.16.6.0/24",
VswitchName = name,
ZoneId = "cn-shenzhen-e",
});
var default2iRZpC = new AliCloud.Vpc.NatGateway("default2iRZpC", new()
{
Description = name,
NatGatewayName = name,
EipBindMode = "MULTI_BINDED",
NatType = "Enhanced",
VpcId = defaultikZ0gD.Id,
PaymentType = "PayAsYouGo",
NetworkType = "internet",
});
var defaultyiRwgs = new AliCloud.Ecs.EipAddress("defaultyiRwgs");
var defaults2MTuO = new AliCloud.Ecs.EipAssociation("defaults2MTuO", new()
{
InstanceId = default2iRZpC.Id,
AllocationId = defaultyiRwgs.AllocationId,
Mode = "NAT",
InstanceType = "NAT",
VpcId = default2iRZpC.VpcId,
});
var defaultAKE43g = new AliCloud.Vpc.SnatEntry("defaultAKE43g", new()
{
SnatIp = defaultyiRwgs.IpAddress,
SnatTableId = default2iRZpC.SnatTableIds.Apply(snatTableIds => snatTableIds[0]),
EipAffinity = 1,
SourceVswitchId = defaultp4O7qi.Id,
});
var defaultNatFirewall = new AliCloud.CloudFirewall.NatFirewall("default", new()
{
RegionNo = "cn-shenzhen",
VswitchAuto = "true",
StrictMode = 0,
VpcId = defaultikZ0gD.Id,
ProxyName = name,
Lang = "zh",
NatGatewayId = default2iRZpC.Id,
NatRouteEntryLists = new[]
{
new AliCloud.CloudFirewall.Inputs.NatFirewallNatRouteEntryListArgs
{
NexthopId = default2iRZpC.Id,
DestinationCidr = "0.0.0.0/0",
NexthopType = "NatGateway",
RouteTableId = defaultp4O7qi.RouteTableId,
},
},
FirewallSwitch = "close",
VswitchCidr = "172.16.5.0/24",
Status = "closed",
VswitchId = defaultp4O7qi.Id,
});
var @default = AliCloud.CloudFirewall.GetNatFirewalls.Invoke(new()
{
Ids = new[]
{
defaultNatFirewall.Id,
},
Lang = "zh",
NatGatewayId = default2iRZpC.Id,
ProxyName = name,
RegionNo = "cn-shenzhen",
Status = "closed",
VpcId = defaultikZ0gD.Id,
});
return new Dictionary<string, object?>
{
["alicloudCloudFirewallNatFirewallExampleId"] = @default.Apply(@default => @default.Apply(getNatFirewallsResult => getNatFirewallsResult.Firewalls[0]?.Id)),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.vpc.NatGateway;
import com.pulumi.alicloud.vpc.NatGatewayArgs;
import com.pulumi.alicloud.ecs.EipAddress;
import com.pulumi.alicloud.ecs.EipAssociation;
import com.pulumi.alicloud.ecs.EipAssociationArgs;
import com.pulumi.alicloud.vpc.SnatEntry;
import com.pulumi.alicloud.vpc.SnatEntryArgs;
import com.pulumi.alicloud.cloudfirewall.NatFirewall;
import com.pulumi.alicloud.cloudfirewall.NatFirewallArgs;
import com.pulumi.alicloud.cloudfirewall.inputs.NatFirewallNatRouteEntryListArgs;
import com.pulumi.alicloud.cloudfirewall.CloudfirewallFunctions;
import com.pulumi.alicloud.cloudfirewall.inputs.GetNatFirewallsArgs;
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("terraform-example");
var defaultikZ0gD = new Network("defaultikZ0gD", NetworkArgs.builder()
.cidrBlock("172.16.0.0/12")
.vpcName(name)
.build());
var defaultp4O7qi = new Switch("defaultp4O7qi", SwitchArgs.builder()
.vpcId(defaultikZ0gD.id())
.cidrBlock("172.16.6.0/24")
.vswitchName(name)
.zoneId("cn-shenzhen-e")
.build());
var default2iRZpC = new NatGateway("default2iRZpC", NatGatewayArgs.builder()
.description(name)
.natGatewayName(name)
.eipBindMode("MULTI_BINDED")
.natType("Enhanced")
.vpcId(defaultikZ0gD.id())
.paymentType("PayAsYouGo")
.networkType("internet")
.build());
var defaultyiRwgs = new EipAddress("defaultyiRwgs");
var defaults2MTuO = new EipAssociation("defaults2MTuO", EipAssociationArgs.builder()
.instanceId(default2iRZpC.id())
.allocationId(defaultyiRwgs.allocationId())
.mode("NAT")
.instanceType("NAT")
.vpcId(default2iRZpC.vpcId())
.build());
var defaultAKE43g = new SnatEntry("defaultAKE43g", SnatEntryArgs.builder()
.snatIp(defaultyiRwgs.ipAddress())
.snatTableId(default2iRZpC.snatTableIds().applyValue(_snatTableIds -> _snatTableIds[0]))
.eipAffinity(1)
.sourceVswitchId(defaultp4O7qi.id())
.build());
var defaultNatFirewall = new NatFirewall("defaultNatFirewall", NatFirewallArgs.builder()
.regionNo("cn-shenzhen")
.vswitchAuto("true")
.strictMode(0)
.vpcId(defaultikZ0gD.id())
.proxyName(name)
.lang("zh")
.natGatewayId(default2iRZpC.id())
.natRouteEntryLists(NatFirewallNatRouteEntryListArgs.builder()
.nexthopId(default2iRZpC.id())
.destinationCidr("0.0.0.0/0")
.nexthopType("NatGateway")
.routeTableId(defaultp4O7qi.routeTableId())
.build())
.firewallSwitch("close")
.vswitchCidr("172.16.5.0/24")
.status("closed")
.vswitchId(defaultp4O7qi.id())
.build());
final var default = CloudfirewallFunctions.getNatFirewalls(GetNatFirewallsArgs.builder()
.ids(defaultNatFirewall.id())
.lang("zh")
.natGatewayId(default2iRZpC.id())
.proxyName(name)
.regionNo("cn-shenzhen")
.status("closed")
.vpcId(defaultikZ0gD.id())
.build());
ctx.export("alicloudCloudFirewallNatFirewallExampleId", default_.applyValue(_default_ -> _default_.firewalls()[0].id()));
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultikZ0gD:
type: alicloud:vpc:Network
properties:
cidrBlock: 172.16.0.0/12
vpcName: ${name}
defaultp4O7qi:
type: alicloud:vpc:Switch
properties:
vpcId: ${defaultikZ0gD.id}
cidrBlock: 172.16.6.0/24
vswitchName: ${name}
zoneId: cn-shenzhen-e
default2iRZpC:
type: alicloud:vpc:NatGateway
properties:
description: ${name}
natGatewayName: ${name}
eipBindMode: MULTI_BINDED
natType: Enhanced
vpcId: ${defaultikZ0gD.id}
paymentType: PayAsYouGo
networkType: internet
defaultyiRwgs:
type: alicloud:ecs:EipAddress
defaults2MTuO:
type: alicloud:ecs:EipAssociation
properties:
instanceId: ${default2iRZpC.id}
allocationId: ${defaultyiRwgs.allocationId}
mode: NAT
instanceType: NAT
vpcId: ${default2iRZpC.vpcId}
defaultAKE43g:
type: alicloud:vpc:SnatEntry
properties:
snatIp: ${defaultyiRwgs.ipAddress}
snatTableId: ${default2iRZpC.snatTableIds[0]}
eipAffinity: '1'
sourceVswitchId: ${defaultp4O7qi.id}
defaultNatFirewall:
type: alicloud:cloudfirewall:NatFirewall
name: default
properties:
regionNo: cn-shenzhen
vswitchAuto: 'true'
strictMode: '0'
vpcId: ${defaultikZ0gD.id}
proxyName: ${name}
lang: zh
natGatewayId: ${default2iRZpC.id}
natRouteEntryLists:
- nexthopId: ${default2iRZpC.id}
destinationCidr: 0.0.0.0/0
nexthopType: NatGateway
routeTableId: ${defaultp4O7qi.routeTableId}
firewallSwitch: close
vswitchCidr: 172.16.5.0/24
status: closed
vswitchId: ${defaultp4O7qi.id}
variables:
default:
fn::invoke:
function: alicloud:cloudfirewall:getNatFirewalls
arguments:
ids:
- ${defaultNatFirewall.id}
lang: zh
natGatewayId: ${default2iRZpC.id}
proxyName: ${name}
regionNo: cn-shenzhen
status: closed
vpcId: ${defaultikZ0gD.id}
outputs:
alicloudCloudFirewallNatFirewallExampleId: ${default.firewalls[0].id}
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>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]func GetNatFirewalls(ctx *Context, args *GetNatFirewallsArgs, opts ...InvokeOption) (*GetNatFirewallsResult, error)
func GetNatFirewallsOutput(ctx *Context, args *GetNatFirewallsOutputArgs, opts ...InvokeOption) GetNatFirewallsResultOutput> 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)
}public static CompletableFuture<GetNatFirewallsResult> getNatFirewalls(GetNatFirewallsArgs args, InvokeOptions options)
public static Output<GetNatFirewallsResult> getNatFirewalls(GetNatFirewallsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:cloudfirewall/getNatFirewalls:getNatFirewalls
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Nat Firewall IDs.
- Lang string
- Lang
- Member
Uid int - Member Account ID
- Nat
Gateway stringId - NAT gateway ID
- Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Page No
- Page
Size int - Page Size
- Proxy
Id string - NAT firewall ID
- Proxy
Name string - NAT firewall name
- Region
No string - Region
- Status string
- The status of the resource
- Vpc
Id string - The ID of the VPC instance.
- Ids []string
- A list of Nat Firewall IDs.
- Lang string
- Lang
- Member
Uid int - Member Account ID
- Nat
Gateway stringId - NAT gateway ID
- Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Page No
- Page
Size int - Page Size
- Proxy
Id string - NAT firewall ID
- Proxy
Name string - NAT firewall name
- Region
No string - Region
- Status string
- The status of the resource
- Vpc
Id string - The ID of the VPC instance.
- ids List<String>
- A list of Nat Firewall IDs.
- lang String
- Lang
- member
Uid Integer - Member Account ID
- nat
Gateway StringId - NAT gateway ID
- output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Integer - Page No
- page
Size Integer - Page Size
- proxy
Id String - NAT firewall ID
- proxy
Name String - NAT firewall name
- region
No String - Region
- status String
- The status of the resource
- vpc
Id String - The ID of the VPC instance.
- ids string[]
- A list of Nat Firewall IDs.
- lang string
- Lang
- member
Uid number - Member Account ID
- nat
Gateway stringId - NAT gateway ID
- output
File string - File name where to save data source results (after running
pulumi preview). - page
Number number - Page No
- page
Size number - Page Size
- proxy
Id string - NAT firewall ID
- proxy
Name string - NAT firewall name
- region
No string - Region
- status string
- The status of the resource
- vpc
Id string - The ID of the VPC instance.
- ids Sequence[str]
- A list of Nat Firewall IDs.
- lang str
- Lang
- member_
uid int - Member Account ID
- nat_
gateway_ strid - NAT gateway ID
- output_
file str - File name where to save data source results (after running
pulumi preview). - page_
number int - Page No
- page_
size int - Page Size
- proxy_
id str - NAT firewall ID
- proxy_
name str - NAT firewall name
- region_
no str - Region
- status str
- The status of the resource
- vpc_
id str - The ID of the VPC instance.
- ids List<String>
- A list of Nat Firewall IDs.
- lang String
- Lang
- member
Uid Number - Member Account ID
- nat
Gateway StringId - NAT gateway ID
- output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Number - Page No
- page
Size Number - Page Size
- proxy
Id String - NAT firewall ID
- proxy
Name String - NAT firewall name
- region
No String - Region
- status String
- The status of the resource
- vpc
Id String - The ID of the VPC instance.
getNatFirewalls Result
The following output properties are available:
- Firewalls
List<Pulumi.
Ali Cloud. Cloud Firewall. Outputs. Get Nat Firewalls Firewall> - 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
- Member
Uid int - Member Account ID
- Nat
Gateway stringId - NAT gateway ID
- Output
File string - Page
Number int - Page
Size int - Proxy
Id string - NAT firewall ID
- Proxy
Name string - NAT firewall name
- Region
No string - Status string
- Vpc
Id string - The ID of the VPC instance.
- Firewalls
[]Get
Nat Firewalls Firewall - 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
- Member
Uid int - Member Account ID
- Nat
Gateway stringId - NAT gateway ID
- Output
File string - Page
Number int - Page
Size int - Proxy
Id string - NAT firewall ID
- Proxy
Name string - NAT firewall name
- Region
No string - Status string
- Vpc
Id string - The ID of the VPC instance.
- firewalls
List<Get
Nat Firewalls Firewall> - 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
- member
Uid Integer - Member Account ID
- nat
Gateway StringId - NAT gateway ID
- output
File String - page
Number Integer - page
Size Integer - proxy
Id String - NAT firewall ID
- proxy
Name String - NAT firewall name
- region
No String - status String
- vpc
Id String - The ID of the VPC instance.
- firewalls
Get
Nat Firewalls Firewall[] - 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
- member
Uid number - Member Account ID
- nat
Gateway stringId - NAT gateway ID
- output
File string - page
Number number - page
Size number - proxy
Id string - NAT firewall ID
- proxy
Name string - NAT firewall name
- region
No string - status string
- vpc
Id string - The ID of the VPC instance.
- firewalls
Sequence[Get
Nat Firewalls Firewall] - 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_ strid - 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
- member
Uid Number - Member Account ID
- nat
Gateway StringId - NAT gateway ID
- output
File String - page
Number Number - page
Size Number - proxy
Id String - NAT firewall ID
- proxy
Name String - NAT firewall name
- region
No String - status String
- vpc
Id String - The ID of the VPC instance.
Supporting Types
GetNatFirewallsFirewall
- Ali
Uid int - Alibaba Cloud account ID
- Id string
- The ID of the resource supplied above.
- Member
Uid int - Member Account ID
- Nat
Gateway stringId - NAT gateway ID
- Nat
Gateway stringName - NAT Gateway name
- Nat
Route List<Pulumi.Entry Lists Ali Cloud. Cloud Firewall. Inputs. Get Nat Firewalls Firewall Nat Route Entry List> - The list of routes to be switched by the NAT gateway.
- Proxy
Id string - NAT firewall ID
- Proxy
Name string - NAT firewall name
- Strict
Mode int - Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
- Vpc
Id string - The ID of the VPC instance.
- Ali
Uid int - Alibaba Cloud account ID
- Id string
- The ID of the resource supplied above.
- Member
Uid int - Member Account ID
- Nat
Gateway stringId - NAT gateway ID
- Nat
Gateway stringName - NAT Gateway name
- Nat
Route []GetEntry Lists Nat Firewalls Firewall Nat Route Entry List - The list of routes to be switched by the NAT gateway.
- Proxy
Id string - NAT firewall ID
- Proxy
Name string - NAT firewall name
- Strict
Mode int - Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
- Vpc
Id string - The ID of the VPC instance.
- ali
Uid Integer - Alibaba Cloud account ID
- id String
- The ID of the resource supplied above.
- member
Uid Integer - Member Account ID
- nat
Gateway StringId - NAT gateway ID
- nat
Gateway StringName - NAT Gateway name
- nat
Route List<GetEntry Lists Nat Firewalls Firewall Nat Route Entry List> - The list of routes to be switched by the NAT gateway.
- proxy
Id String - NAT firewall ID
- proxy
Name String - NAT firewall name
- strict
Mode Integer - Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
- vpc
Id String - The ID of the VPC instance.
- ali
Uid number - Alibaba Cloud account ID
- id string
- The ID of the resource supplied above.
- member
Uid number - Member Account ID
- nat
Gateway stringId - NAT gateway ID
- nat
Gateway stringName - NAT Gateway name
- nat
Route GetEntry Lists Nat Firewalls Firewall Nat Route Entry List[] - The list of routes to be switched by the NAT gateway.
- proxy
Id string - NAT firewall ID
- proxy
Name string - NAT firewall name
- strict
Mode number - Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
- vpc
Id string - The ID of the VPC instance.
- ali_
uid int - Alibaba Cloud account ID
- id str
- The ID of the resource supplied above.
- member_
uid int - Member Account ID
- nat_
gateway_ strid - NAT gateway ID
- nat_
gateway_ strname - NAT Gateway name
- nat_
route_ Sequence[Getentry_ lists Nat Firewalls Firewall Nat Route Entry List] - The list of routes to be switched by the NAT gateway.
- proxy_
id str - NAT firewall ID
- proxy_
name str - NAT firewall name
- strict_
mode int - Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
- vpc_
id str - The ID of the VPC instance.
- ali
Uid Number - Alibaba Cloud account ID
- id String
- The ID of the resource supplied above.
- member
Uid Number - Member Account ID
- nat
Gateway StringId - NAT gateway ID
- nat
Gateway StringName - NAT Gateway name
- nat
Route List<Property Map>Entry Lists - The list of routes to be switched by the NAT gateway.
- proxy
Id String - NAT firewall ID
- proxy
Name String - NAT firewall name
- strict
Mode Number - Whether strict mode is enabled1-Enable strict mode0-Disable strict mode
- vpc
Id String - The ID of the VPC instance.
GetNatFirewallsFirewallNatRouteEntryList
- Destination
Cidr string - The destination network segment of the default route.
- Nexthop
Id string - The next hop address of the original NAT gateway.
- Nexthop
Type string - The network type of the next hop. Value: NatGateway : NAT Gateway.
- Route
Table stringId - The route table where the default route of the NAT gateway is located.
- Destination
Cidr string - The destination network segment of the default route.
- Nexthop
Id string - The next hop address of the original NAT gateway.
- Nexthop
Type string - The network type of the next hop. Value: NatGateway : NAT Gateway.
- Route
Table stringId - The route table where the default route of the NAT gateway is located.
- destination
Cidr String - The destination network segment of the default route.
- nexthop
Id String - The next hop address of the original NAT gateway.
- nexthop
Type String - The network type of the next hop. Value: NatGateway : NAT Gateway.
- route
Table StringId - The route table where the default route of the NAT gateway is located.
- destination
Cidr string - The destination network segment of the default route.
- nexthop
Id string - The next hop address of the original NAT gateway.
- nexthop
Type string - The network type of the next hop. Value: NatGateway : NAT Gateway.
- route
Table stringId - The route table where the default route of the NAT gateway is located.
- destination_
cidr str - The destination network segment of the default route.
- nexthop_
id str - The next hop address of the original NAT gateway.
- nexthop_
type str - The network type of the next hop. Value: NatGateway : NAT Gateway.
- route_
table_ strid - The route table where the default route of the NAT gateway is located.
- destination
Cidr String - The destination network segment of the default route.
- nexthop
Id String - The next hop address of the original NAT gateway.
- nexthop
Type String - The network type of the next hop. Value: NatGateway : NAT Gateway.
- route
Table StringId - 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
alicloudTerraform Provider.
Alibaba Cloud v3.95.0 published on Thursday, Feb 12, 2026 by Pulumi
