1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. getCfwNatFwClusterRegionStatus
Viewing docs for tencentcloud 1.83.2
published on Monday, Jun 15, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.2
published on Monday, Jun 15, 2026 by tencentcloudstack

    Use this data source to query detailed information of CFW NAT firewall cluster region status

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getCfwNatFwClusterRegionStatus({
        natClusterRegionStatusQueryLists: [{
            ccnId: "ccn-p3mlp0tj",
            natInsId: "nat-h1i1mf4n",
            assetType: "nat_ccn",
            routingMode: 0,
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_cfw_nat_fw_cluster_region_status(nat_cluster_region_status_query_lists=[{
        "ccn_id": "ccn-p3mlp0tj",
        "nat_ins_id": "nat-h1i1mf4n",
        "asset_type": "nat_ccn",
        "routing_mode": 0,
    }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetCfwNatFwClusterRegionStatus(ctx, &tencentcloud.GetCfwNatFwClusterRegionStatusArgs{
    			NatClusterRegionStatusQueryLists: []tencentcloud.GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryList{
    				{
    					CcnId:       "ccn-p3mlp0tj",
    					NatInsId:    "nat-h1i1mf4n",
    					AssetType:   "nat_ccn",
    					RoutingMode: pulumi.Float64Ref(0),
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetCfwNatFwClusterRegionStatus.Invoke(new()
        {
            NatClusterRegionStatusQueryLists = new[]
            {
                new Tencentcloud.Inputs.GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryListInputArgs
                {
                    CcnId = "ccn-p3mlp0tj",
                    NatInsId = "nat-h1i1mf4n",
                    AssetType = "nat_ccn",
                    RoutingMode = 0,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetCfwNatFwClusterRegionStatusArgs;
    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 example = TencentcloudFunctions.getCfwNatFwClusterRegionStatus(GetCfwNatFwClusterRegionStatusArgs.builder()
                .natClusterRegionStatusQueryLists(GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryListArgs.builder()
                    .ccnId("ccn-p3mlp0tj")
                    .natInsId("nat-h1i1mf4n")
                    .assetType("nat_ccn")
                    .routingMode(0)
                    .build())
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getCfwNatFwClusterRegionStatus
          arguments:
            natClusterRegionStatusQueryLists:
              - ccnId: ccn-p3mlp0tj
                natInsId: nat-h1i1mf4n
                assetType: nat_ccn
                routingMode: 0
    
    Example coming soon!
    

    Using getCfwNatFwClusterRegionStatus

    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 getCfwNatFwClusterRegionStatus(args: GetCfwNatFwClusterRegionStatusArgs, opts?: InvokeOptions): Promise<GetCfwNatFwClusterRegionStatusResult>
    function getCfwNatFwClusterRegionStatusOutput(args: GetCfwNatFwClusterRegionStatusOutputArgs, opts?: InvokeOptions): Output<GetCfwNatFwClusterRegionStatusResult>
    def get_cfw_nat_fw_cluster_region_status(id: Optional[str] = None,
                                             nat_cluster_region_status_query_lists: Optional[Sequence[GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryList]] = None,
                                             result_output_file: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetCfwNatFwClusterRegionStatusResult
    def get_cfw_nat_fw_cluster_region_status_output(id: pulumi.Input[Optional[str]] = None,
                                             nat_cluster_region_status_query_lists: pulumi.Input[Optional[Sequence[pulumi.Input[GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryListArgs]]]] = None,
                                             result_output_file: pulumi.Input[Optional[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetCfwNatFwClusterRegionStatusResult]
    func GetCfwNatFwClusterRegionStatus(ctx *Context, args *GetCfwNatFwClusterRegionStatusArgs, opts ...InvokeOption) (*GetCfwNatFwClusterRegionStatusResult, error)
    func GetCfwNatFwClusterRegionStatusOutput(ctx *Context, args *GetCfwNatFwClusterRegionStatusOutputArgs, opts ...InvokeOption) GetCfwNatFwClusterRegionStatusResultOutput

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

    public static class GetCfwNatFwClusterRegionStatus 
    {
        public static Task<GetCfwNatFwClusterRegionStatusResult> InvokeAsync(GetCfwNatFwClusterRegionStatusArgs args, InvokeOptions? opts = null)
        public static Output<GetCfwNatFwClusterRegionStatusResult> Invoke(GetCfwNatFwClusterRegionStatusInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCfwNatFwClusterRegionStatusResult> getCfwNatFwClusterRegionStatus(GetCfwNatFwClusterRegionStatusArgs args, InvokeOptions options)
    public static Output<GetCfwNatFwClusterRegionStatusResult> getCfwNatFwClusterRegionStatus(GetCfwNatFwClusterRegionStatusArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCfwNatFwClusterRegionStatus:getCfwNatFwClusterRegionStatus
      arguments:
        # arguments dictionary
    data "tencentcloud_getcfwnatfwclusterregionstatus" "name" {
        # arguments
    }

    The following arguments are supported:

    NatClusterRegionStatusQueryLists List<GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryList>
    List of query conditions for NAT firewall cluster region status.
    Id string
    ResultOutputFile string
    Used to save results.
    NatClusterRegionStatusQueryLists []GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryList
    List of query conditions for NAT firewall cluster region status.
    Id string
    ResultOutputFile string
    Used to save results.
    nat_cluster_region_status_query_lists list(object)
    List of query conditions for NAT firewall cluster region status.
    id string
    result_output_file string
    Used to save results.
    natClusterRegionStatusQueryLists List<GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryList>
    List of query conditions for NAT firewall cluster region status.
    id String
    resultOutputFile String
    Used to save results.
    natClusterRegionStatusQueryLists GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryList[]
    List of query conditions for NAT firewall cluster region status.
    id string
    resultOutputFile string
    Used to save results.
    nat_cluster_region_status_query_lists Sequence[GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryList]
    List of query conditions for NAT firewall cluster region status.
    id str
    result_output_file str
    Used to save results.
    natClusterRegionStatusQueryLists List<Property Map>
    List of query conditions for NAT firewall cluster region status.
    id String
    resultOutputFile String
    Used to save results.

    getCfwNatFwClusterRegionStatus Result

    The following output properties are available:

    Supporting Types

    GetCfwNatFwClusterRegionStatusNatClusterRegionStatusQueryList

    AssetType string
    Asset type. Valid values: nat_ccn (CCN+NAT scenario), nat (standalone NAT scenario).
    CcnId string
    CCN ID.
    NatInsId string
    NAT gateway ID.
    RoutingMode double
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    AssetType string
    Asset type. Valid values: nat_ccn (CCN+NAT scenario), nat (standalone NAT scenario).
    CcnId string
    CCN ID.
    NatInsId string
    NAT gateway ID.
    RoutingMode float64
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    asset_type string
    Asset type. Valid values: nat_ccn (CCN+NAT scenario), nat (standalone NAT scenario).
    ccn_id string
    CCN ID.
    nat_ins_id string
    NAT gateway ID.
    routing_mode number
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    assetType String
    Asset type. Valid values: nat_ccn (CCN+NAT scenario), nat (standalone NAT scenario).
    ccnId String
    CCN ID.
    natInsId String
    NAT gateway ID.
    routingMode Double
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    assetType string
    Asset type. Valid values: nat_ccn (CCN+NAT scenario), nat (standalone NAT scenario).
    ccnId string
    CCN ID.
    natInsId string
    NAT gateway ID.
    routingMode number
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    asset_type str
    Asset type. Valid values: nat_ccn (CCN+NAT scenario), nat (standalone NAT scenario).
    ccn_id str
    CCN ID.
    nat_ins_id str
    NAT gateway ID.
    routing_mode float
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    assetType String
    Asset type. Valid values: nat_ccn (CCN+NAT scenario), nat (standalone NAT scenario).
    ccnId String
    CCN ID.
    natInsId String
    NAT gateway ID.
    routingMode Number
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.

    GetCfwNatFwClusterRegionStatusRegionFwStatus

    CcnId string
    CCN ID.
    Cidr string
    Traffic steering network CIDR. Only has value when Status is Auto or Custom.
    NatInsId string
    NAT gateway ID.
    Region string
    Region, e.g. ap-guangzhou.
    RoutingMode double
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    Status string
    Region cluster status. Valid values: NotDeployed (cluster not deployed), Deployed (cluster deployed but traffic steering network not created), DeployedCustomOnly (cluster deployed but internal segment covered, need custom traffic steering segment), Auto (traffic steering network created with auto-assigned CIDR), Custom (traffic steering network created with custom CIDR).
    CcnId string
    CCN ID.
    Cidr string
    Traffic steering network CIDR. Only has value when Status is Auto or Custom.
    NatInsId string
    NAT gateway ID.
    Region string
    Region, e.g. ap-guangzhou.
    RoutingMode float64
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    Status string
    Region cluster status. Valid values: NotDeployed (cluster not deployed), Deployed (cluster deployed but traffic steering network not created), DeployedCustomOnly (cluster deployed but internal segment covered, need custom traffic steering segment), Auto (traffic steering network created with auto-assigned CIDR), Custom (traffic steering network created with custom CIDR).
    ccn_id string
    CCN ID.
    cidr string
    Traffic steering network CIDR. Only has value when Status is Auto or Custom.
    nat_ins_id string
    NAT gateway ID.
    region string
    Region, e.g. ap-guangzhou.
    routing_mode number
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    status string
    Region cluster status. Valid values: NotDeployed (cluster not deployed), Deployed (cluster deployed but traffic steering network not created), DeployedCustomOnly (cluster deployed but internal segment covered, need custom traffic steering segment), Auto (traffic steering network created with auto-assigned CIDR), Custom (traffic steering network created with custom CIDR).
    ccnId String
    CCN ID.
    cidr String
    Traffic steering network CIDR. Only has value when Status is Auto or Custom.
    natInsId String
    NAT gateway ID.
    region String
    Region, e.g. ap-guangzhou.
    routingMode Double
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    status String
    Region cluster status. Valid values: NotDeployed (cluster not deployed), Deployed (cluster deployed but traffic steering network not created), DeployedCustomOnly (cluster deployed but internal segment covered, need custom traffic steering segment), Auto (traffic steering network created with auto-assigned CIDR), Custom (traffic steering network created with custom CIDR).
    ccnId string
    CCN ID.
    cidr string
    Traffic steering network CIDR. Only has value when Status is Auto or Custom.
    natInsId string
    NAT gateway ID.
    region string
    Region, e.g. ap-guangzhou.
    routingMode number
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    status string
    Region cluster status. Valid values: NotDeployed (cluster not deployed), Deployed (cluster deployed but traffic steering network not created), DeployedCustomOnly (cluster deployed but internal segment covered, need custom traffic steering segment), Auto (traffic steering network created with auto-assigned CIDR), Custom (traffic steering network created with custom CIDR).
    ccn_id str
    CCN ID.
    cidr str
    Traffic steering network CIDR. Only has value when Status is Auto or Custom.
    nat_ins_id str
    NAT gateway ID.
    region str
    Region, e.g. ap-guangzhou.
    routing_mode float
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    status str
    Region cluster status. Valid values: NotDeployed (cluster not deployed), Deployed (cluster deployed but traffic steering network not created), DeployedCustomOnly (cluster deployed but internal segment covered, need custom traffic steering segment), Auto (traffic steering network created with auto-assigned CIDR), Custom (traffic steering network created with custom CIDR).
    ccnId String
    CCN ID.
    cidr String
    Traffic steering network CIDR. Only has value when Status is Auto or Custom.
    natInsId String
    NAT gateway ID.
    region String
    Region, e.g. ap-guangzhou.
    routingMode Number
    Traffic steering routing method. 0: multi-route table mode, 1: policy routing mode.
    status String
    Region cluster status. Valid values: NotDeployed (cluster not deployed), Deployed (cluster deployed but traffic steering network not created), DeployedCustomOnly (cluster deployed but internal segment covered, need custom traffic steering segment), Auto (traffic steering network created with auto-assigned CIDR), Custom (traffic steering network created with custom CIDR).

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.2
    published on Monday, Jun 15, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial