1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCfwCcnInstanceRegionStatus
tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack

    Use this data source to query detailed information of CFW ccn instance region status

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getCfwCcnInstanceRegionStatus({
        ccnId: "ccn-fkb9bo2v",
        instanceIds: ["vpc-axbsvrrg"],
        routingMode: 1,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_cfw_ccn_instance_region_status(ccn_id="ccn-fkb9bo2v",
        instance_ids=["vpc-axbsvrrg"],
        routing_mode=1)
    
    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.GetCfwCcnInstanceRegionStatus(ctx, &tencentcloud.GetCfwCcnInstanceRegionStatusArgs{
    			CcnId: "ccn-fkb9bo2v",
    			InstanceIds: []string{
    				"vpc-axbsvrrg",
    			},
    			RoutingMode: pulumi.Float64Ref(1),
    		}, 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.GetCfwCcnInstanceRegionStatus.Invoke(new()
        {
            CcnId = "ccn-fkb9bo2v",
            InstanceIds = new[]
            {
                "vpc-axbsvrrg",
            },
            RoutingMode = 1,
        });
    
    });
    
    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.GetCfwCcnInstanceRegionStatusArgs;
    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.getCfwCcnInstanceRegionStatus(GetCfwCcnInstanceRegionStatusArgs.builder()
                .ccnId("ccn-fkb9bo2v")
                .instanceIds("vpc-axbsvrrg")
                .routingMode(1)
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getCfwCcnInstanceRegionStatus
          arguments:
            ccnId: ccn-fkb9bo2v
            instanceIds:
              - vpc-axbsvrrg
            routingMode: 1
    

    Using getCfwCcnInstanceRegionStatus

    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 getCfwCcnInstanceRegionStatus(args: GetCfwCcnInstanceRegionStatusArgs, opts?: InvokeOptions): Promise<GetCfwCcnInstanceRegionStatusResult>
    function getCfwCcnInstanceRegionStatusOutput(args: GetCfwCcnInstanceRegionStatusOutputArgs, opts?: InvokeOptions): Output<GetCfwCcnInstanceRegionStatusResult>
    def get_cfw_ccn_instance_region_status(ccn_id: Optional[str] = None,
                                           id: Optional[str] = None,
                                           instance_ids: Optional[Sequence[str]] = None,
                                           result_output_file: Optional[str] = None,
                                           routing_mode: Optional[float] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCfwCcnInstanceRegionStatusResult
    def get_cfw_ccn_instance_region_status_output(ccn_id: Optional[pulumi.Input[str]] = None,
                                           id: Optional[pulumi.Input[str]] = None,
                                           instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                           result_output_file: Optional[pulumi.Input[str]] = None,
                                           routing_mode: Optional[pulumi.Input[float]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCfwCcnInstanceRegionStatusResult]
    func GetCfwCcnInstanceRegionStatus(ctx *Context, args *GetCfwCcnInstanceRegionStatusArgs, opts ...InvokeOption) (*GetCfwCcnInstanceRegionStatusResult, error)
    func GetCfwCcnInstanceRegionStatusOutput(ctx *Context, args *GetCfwCcnInstanceRegionStatusOutputArgs, opts ...InvokeOption) GetCfwCcnInstanceRegionStatusResultOutput

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

    public static class GetCfwCcnInstanceRegionStatus 
    {
        public static Task<GetCfwCcnInstanceRegionStatusResult> InvokeAsync(GetCfwCcnInstanceRegionStatusArgs args, InvokeOptions? opts = null)
        public static Output<GetCfwCcnInstanceRegionStatusResult> Invoke(GetCfwCcnInstanceRegionStatusInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCfwCcnInstanceRegionStatusResult> getCfwCcnInstanceRegionStatus(GetCfwCcnInstanceRegionStatusArgs args, InvokeOptions options)
    public static Output<GetCfwCcnInstanceRegionStatusResult> getCfwCcnInstanceRegionStatus(GetCfwCcnInstanceRegionStatusArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCfwCcnInstanceRegionStatus:getCfwCcnInstanceRegionStatus
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CcnId string
    CCN ID.
    Id string
    InstanceIds List<string>
    List of instance IDs associated with CCN for querying traffic steering network deployment status.
    ResultOutputFile string
    Used to save results.
    RoutingMode double
    Traffic steering routing method, 0: multi-route table, 1: policy routing.
    CcnId string
    CCN ID.
    Id string
    InstanceIds []string
    List of instance IDs associated with CCN for querying traffic steering network deployment status.
    ResultOutputFile string
    Used to save results.
    RoutingMode float64
    Traffic steering routing method, 0: multi-route table, 1: policy routing.
    ccnId String
    CCN ID.
    id String
    instanceIds List<String>
    List of instance IDs associated with CCN for querying traffic steering network deployment status.
    resultOutputFile String
    Used to save results.
    routingMode Double
    Traffic steering routing method, 0: multi-route table, 1: policy routing.
    ccnId string
    CCN ID.
    id string
    instanceIds string[]
    List of instance IDs associated with CCN for querying traffic steering network deployment status.
    resultOutputFile string
    Used to save results.
    routingMode number
    Traffic steering routing method, 0: multi-route table, 1: policy routing.
    ccn_id str
    CCN ID.
    id str
    instance_ids Sequence[str]
    List of instance IDs associated with CCN for querying traffic steering network deployment status.
    result_output_file str
    Used to save results.
    routing_mode float
    Traffic steering routing method, 0: multi-route table, 1: policy routing.
    ccnId String
    CCN ID.
    id String
    instanceIds List<String>
    List of instance IDs associated with CCN for querying traffic steering network deployment status.
    resultOutputFile String
    Used to save results.
    routingMode Number
    Traffic steering routing method, 0: multi-route table, 1: policy routing.

    getCfwCcnInstanceRegionStatus Result

    The following output properties are available:

    CcnId string
    Id string
    RegionFwStatuses List<GetCfwCcnInstanceRegionStatusRegionFwStatus>
    List of regional firewall traffic steering network status.
    InstanceIds List<string>
    ResultOutputFile string
    RoutingMode double
    CcnId string
    Id string
    RegionFwStatuses []GetCfwCcnInstanceRegionStatusRegionFwStatus
    List of regional firewall traffic steering network status.
    InstanceIds []string
    ResultOutputFile string
    RoutingMode float64
    ccnId String
    id String
    regionFwStatuses List<GetCfwCcnInstanceRegionStatusRegionFwStatus>
    List of regional firewall traffic steering network status.
    instanceIds List<String>
    resultOutputFile String
    routingMode Double
    ccnId string
    id string
    regionFwStatuses GetCfwCcnInstanceRegionStatusRegionFwStatus[]
    List of regional firewall traffic steering network status.
    instanceIds string[]
    resultOutputFile string
    routingMode number
    ccn_id str
    id str
    region_fw_statuses Sequence[GetCfwCcnInstanceRegionStatusRegionFwStatus]
    List of regional firewall traffic steering network status.
    instance_ids Sequence[str]
    result_output_file str
    routing_mode float
    ccnId String
    id String
    regionFwStatuses List<Property Map>
    List of regional firewall traffic steering network status.
    instanceIds List<String>
    resultOutputFile String
    routingMode Number

    Supporting Types

    GetCfwCcnInstanceRegionStatusRegionFwStatus

    Cidr string
    CIDR of the traffic steering network, empty if traffic steering network is not deployed.
    Region string
    Region.
    Status string
    Traffic steering network deployment status.

    1. NotDeployed Firewall cluster not deployed.
    2. Deployed Firewall cluster deployed, but traffic steering network not created.
    3. Auto Firewall cluster deployed, and traffic steering network created with automatically selected network segment.
    4. Custom Firewall cluster deployed, and traffic steering network created with user-defined network segment.
    Cidr string
    CIDR of the traffic steering network, empty if traffic steering network is not deployed.
    Region string
    Region.
    Status string
    Traffic steering network deployment status.

    1. NotDeployed Firewall cluster not deployed.
    2. Deployed Firewall cluster deployed, but traffic steering network not created.
    3. Auto Firewall cluster deployed, and traffic steering network created with automatically selected network segment.
    4. Custom Firewall cluster deployed, and traffic steering network created with user-defined network segment.
    cidr String
    CIDR of the traffic steering network, empty if traffic steering network is not deployed.
    region String
    Region.
    status String
    Traffic steering network deployment status.

    1. NotDeployed Firewall cluster not deployed.
    2. Deployed Firewall cluster deployed, but traffic steering network not created.
    3. Auto Firewall cluster deployed, and traffic steering network created with automatically selected network segment.
    4. Custom Firewall cluster deployed, and traffic steering network created with user-defined network segment.
    cidr string
    CIDR of the traffic steering network, empty if traffic steering network is not deployed.
    region string
    Region.
    status string
    Traffic steering network deployment status.

    1. NotDeployed Firewall cluster not deployed.
    2. Deployed Firewall cluster deployed, but traffic steering network not created.
    3. Auto Firewall cluster deployed, and traffic steering network created with automatically selected network segment.
    4. Custom Firewall cluster deployed, and traffic steering network created with user-defined network segment.
    cidr str
    CIDR of the traffic steering network, empty if traffic steering network is not deployed.
    region str
    Region.
    status str
    Traffic steering network deployment status.

    1. NotDeployed Firewall cluster not deployed.
    2. Deployed Firewall cluster deployed, but traffic steering network not created.
    3. Auto Firewall cluster deployed, and traffic steering network created with automatically selected network segment.
    4. Custom Firewall cluster deployed, and traffic steering network created with user-defined network segment.
    cidr String
    CIDR of the traffic steering network, empty if traffic steering network is not deployed.
    region String
    Region.
    status String
    Traffic steering network deployment status.

    1. NotDeployed Firewall cluster not deployed.
    2. Deployed Firewall cluster deployed, but traffic steering network not created.
    3. Auto Firewall cluster deployed, and traffic steering network created with automatically selected network segment.
    4. Custom Firewall cluster deployed, and traffic steering network created with user-defined network segment.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate