tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack
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 dictionaryThe following arguments are supported:
- Ccn
Id string - CCN ID.
- Id string
- Instance
Ids List<string> - List of instance IDs associated with CCN for querying traffic steering network deployment status.
- Result
Output stringFile - Used to save results.
- Routing
Mode double - Traffic steering routing method, 0: multi-route table, 1: policy routing.
- Ccn
Id string - CCN ID.
- Id string
- Instance
Ids []string - List of instance IDs associated with CCN for querying traffic steering network deployment status.
- Result
Output stringFile - Used to save results.
- Routing
Mode float64 - Traffic steering routing method, 0: multi-route table, 1: policy routing.
- ccn
Id String - CCN ID.
- id String
- instance
Ids List<String> - List of instance IDs associated with CCN for querying traffic steering network deployment status.
- result
Output StringFile - Used to save results.
- routing
Mode Double - Traffic steering routing method, 0: multi-route table, 1: policy routing.
- ccn
Id string - CCN ID.
- id string
- instance
Ids string[] - List of instance IDs associated with CCN for querying traffic steering network deployment status.
- result
Output stringFile - Used to save results.
- routing
Mode 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_ strfile - Used to save results.
- routing_
mode float - Traffic steering routing method, 0: multi-route table, 1: policy routing.
- ccn
Id String - CCN ID.
- id String
- instance
Ids List<String> - List of instance IDs associated with CCN for querying traffic steering network deployment status.
- result
Output StringFile - Used to save results.
- routing
Mode Number - Traffic steering routing method, 0: multi-route table, 1: policy routing.
getCfwCcnInstanceRegionStatus Result
The following output properties are available:
- Ccn
Id string - Id string
- Region
Fw List<GetStatuses Cfw Ccn Instance Region Status Region Fw Status> - List of regional firewall traffic steering network status.
- Instance
Ids List<string> - Result
Output stringFile - Routing
Mode double
- Ccn
Id string - Id string
- Region
Fw []GetStatuses Cfw Ccn Instance Region Status Region Fw Status - List of regional firewall traffic steering network status.
- Instance
Ids []string - Result
Output stringFile - Routing
Mode float64
- ccn
Id String - id String
- region
Fw List<GetStatuses Cfw Ccn Instance Region Status Region Fw Status> - List of regional firewall traffic steering network status.
- instance
Ids List<String> - result
Output StringFile - routing
Mode Double
- ccn
Id string - id string
- region
Fw GetStatuses Cfw Ccn Instance Region Status Region Fw Status[] - List of regional firewall traffic steering network status.
- instance
Ids string[] - result
Output stringFile - routing
Mode number
- ccn_
id str - id str
- region_
fw_ Sequence[Getstatuses Cfw Ccn Instance Region Status Region Fw Status] - List of regional firewall traffic steering network status.
- instance_
ids Sequence[str] - result_
output_ strfile - routing_
mode float
- ccn
Id String - id String
- region
Fw List<Property Map>Statuses - List of regional firewall traffic steering network status.
- instance
Ids List<String> - result
Output StringFile - routing
Mode 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.
NotDeployedFirewall cluster not deployed.DeployedFirewall cluster deployed, but traffic steering network not created.AutoFirewall cluster deployed, and traffic steering network created with automatically selected network segment.CustomFirewall 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.
NotDeployedFirewall cluster not deployed.DeployedFirewall cluster deployed, but traffic steering network not created.AutoFirewall cluster deployed, and traffic steering network created with automatically selected network segment.CustomFirewall 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.
NotDeployedFirewall cluster not deployed.DeployedFirewall cluster deployed, but traffic steering network not created.AutoFirewall cluster deployed, and traffic steering network created with automatically selected network segment.CustomFirewall 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.
NotDeployedFirewall cluster not deployed.DeployedFirewall cluster deployed, but traffic steering network not created.AutoFirewall cluster deployed, and traffic steering network created with automatically selected network segment.CustomFirewall 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.
NotDeployedFirewall cluster not deployed.DeployedFirewall cluster deployed, but traffic steering network not created.AutoFirewall cluster deployed, and traffic steering network created with automatically selected network segment.CustomFirewall 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.
NotDeployedFirewall cluster not deployed.DeployedFirewall cluster deployed, but traffic steering network not created.AutoFirewall cluster deployed, and traffic steering network created with automatically selected network segment.CustomFirewall 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
tencentcloudTerraform Provider.
tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack
