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 vpc fw switch
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getCfwCcnVpcFwSwitch({
ccnId: "ccn-fkb9bo2v",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cfw_ccn_vpc_fw_switch(ccn_id="ccn-fkb9bo2v")
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.GetCfwCcnVpcFwSwitch(ctx, &tencentcloud.GetCfwCcnVpcFwSwitchArgs{
CcnId: "ccn-fkb9bo2v",
}, 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.GetCfwCcnVpcFwSwitch.Invoke(new()
{
CcnId = "ccn-fkb9bo2v",
});
});
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.GetCfwCcnVpcFwSwitchArgs;
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.getCfwCcnVpcFwSwitch(GetCfwCcnVpcFwSwitchArgs.builder()
.ccnId("ccn-fkb9bo2v")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getCfwCcnVpcFwSwitch
arguments:
ccnId: ccn-fkb9bo2v
Using getCfwCcnVpcFwSwitch
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 getCfwCcnVpcFwSwitch(args: GetCfwCcnVpcFwSwitchArgs, opts?: InvokeOptions): Promise<GetCfwCcnVpcFwSwitchResult>
function getCfwCcnVpcFwSwitchOutput(args: GetCfwCcnVpcFwSwitchOutputArgs, opts?: InvokeOptions): Output<GetCfwCcnVpcFwSwitchResult>def get_cfw_ccn_vpc_fw_switch(ccn_id: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCfwCcnVpcFwSwitchResult
def get_cfw_ccn_vpc_fw_switch_output(ccn_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCfwCcnVpcFwSwitchResult]func GetCfwCcnVpcFwSwitch(ctx *Context, args *GetCfwCcnVpcFwSwitchArgs, opts ...InvokeOption) (*GetCfwCcnVpcFwSwitchResult, error)
func GetCfwCcnVpcFwSwitchOutput(ctx *Context, args *GetCfwCcnVpcFwSwitchOutputArgs, opts ...InvokeOption) GetCfwCcnVpcFwSwitchResultOutput> Note: This function is named GetCfwCcnVpcFwSwitch in the Go SDK.
public static class GetCfwCcnVpcFwSwitch
{
public static Task<GetCfwCcnVpcFwSwitchResult> InvokeAsync(GetCfwCcnVpcFwSwitchArgs args, InvokeOptions? opts = null)
public static Output<GetCfwCcnVpcFwSwitchResult> Invoke(GetCfwCcnVpcFwSwitchInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCfwCcnVpcFwSwitchResult> getCfwCcnVpcFwSwitch(GetCfwCcnVpcFwSwitchArgs args, InvokeOptions options)
public static Output<GetCfwCcnVpcFwSwitchResult> getCfwCcnVpcFwSwitch(GetCfwCcnVpcFwSwitchArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCfwCcnVpcFwSwitch:getCfwCcnVpcFwSwitch
arguments:
# arguments dictionaryThe following arguments are supported:
- Ccn
Id string - CCN ID.
- Id string
- Result
Output stringFile - Used to save results.
- Ccn
Id string - CCN ID.
- Id string
- Result
Output stringFile - Used to save results.
- ccn
Id String - CCN ID.
- id String
- result
Output StringFile - Used to save results.
- ccn
Id string - CCN ID.
- id string
- result
Output stringFile - Used to save results.
- ccn_
id str - CCN ID.
- id str
- result_
output_ strfile - Used to save results.
- ccn
Id String - CCN ID.
- id String
- result
Output StringFile - Used to save results.
getCfwCcnVpcFwSwitch Result
The following output properties are available:
- Ccn
Id string - Id string
- Interconnect
Pairs List<GetCfw Ccn Vpc Fw Switch Interconnect Pair> - Interconnect pair configuration.
- Result
Output stringFile
- Ccn
Id string - Id string
- Interconnect
Pairs []GetCfw Ccn Vpc Fw Switch Interconnect Pair - Interconnect pair configuration.
- Result
Output stringFile
- ccn
Id String - id String
- interconnect
Pairs List<GetCfw Ccn Vpc Fw Switch Interconnect Pair> - Interconnect pair configuration.
- result
Output StringFile
- ccn
Id string - id string
- interconnect
Pairs GetCfw Ccn Vpc Fw Switch Interconnect Pair[] - Interconnect pair configuration.
- result
Output stringFile
- ccn_
id str - id str
- interconnect_
pairs Sequence[GetCfw Ccn Vpc Fw Switch Interconnect Pair] - Interconnect pair configuration.
- result_
output_ strfile
- ccn
Id String - id String
- interconnect
Pairs List<Property Map> - Interconnect pair configuration.
- result
Output StringFile
Supporting Types
GetCfwCcnVpcFwSwitchInterconnectPair
- Group
As List<GetCfw Ccn Vpc Fw Switch Interconnect Pair Group A> - Group A.
- Group
Bs List<GetCfw Ccn Vpc Fw Switch Interconnect Pair Group B> - Group B.
- Interconnect
Mode string - Interconnect mode: "CrossConnect": cross interconnect (each instance in group A interconnects with each instance in group B), "FullMesh": full mesh (group A content is identical to group B, equivalent to pairwise interconnection within the group).
- Group
As []GetCfw Ccn Vpc Fw Switch Interconnect Pair Group A - Group A.
- Group
Bs []GetCfw Ccn Vpc Fw Switch Interconnect Pair Group B - Group B.
- Interconnect
Mode string - Interconnect mode: "CrossConnect": cross interconnect (each instance in group A interconnects with each instance in group B), "FullMesh": full mesh (group A content is identical to group B, equivalent to pairwise interconnection within the group).
- group
As List<GetCfw Ccn Vpc Fw Switch Interconnect Pair Group A> - Group A.
- group
Bs List<GetCfw Ccn Vpc Fw Switch Interconnect Pair Group B> - Group B.
- interconnect
Mode String - Interconnect mode: "CrossConnect": cross interconnect (each instance in group A interconnects with each instance in group B), "FullMesh": full mesh (group A content is identical to group B, equivalent to pairwise interconnection within the group).
- group
As GetCfw Ccn Vpc Fw Switch Interconnect Pair Group A[] - Group A.
- group
Bs GetCfw Ccn Vpc Fw Switch Interconnect Pair Group B[] - Group B.
- interconnect
Mode string - Interconnect mode: "CrossConnect": cross interconnect (each instance in group A interconnects with each instance in group B), "FullMesh": full mesh (group A content is identical to group B, equivalent to pairwise interconnection within the group).
- group_
as Sequence[GetCfw Ccn Vpc Fw Switch Interconnect Pair Group A] - Group A.
- group_
bs Sequence[GetCfw Ccn Vpc Fw Switch Interconnect Pair Group B] - Group B.
- interconnect_
mode str - Interconnect mode: "CrossConnect": cross interconnect (each instance in group A interconnects with each instance in group B), "FullMesh": full mesh (group A content is identical to group B, equivalent to pairwise interconnection within the group).
- group
As List<Property Map> - Group A.
- group
Bs List<Property Map> - Group B.
- interconnect
Mode String - Interconnect mode: "CrossConnect": cross interconnect (each instance in group A interconnects with each instance in group B), "FullMesh": full mesh (group A content is identical to group B, equivalent to pairwise interconnection within the group).
GetCfwCcnVpcFwSwitchInterconnectPairGroupA
- Access
Cidr List<string>Lists - List of network segments for accessing firewall.
- Access
Cidr doubleMode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- Instance
Id string - Instance ID.
- Instance
Region string - Region where the instance is located.
- Instance
Type string - Instance type such as VPC or DIRECTCONNECT.
- Access
Cidr []stringLists - List of network segments for accessing firewall.
- Access
Cidr float64Mode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- Instance
Id string - Instance ID.
- Instance
Region string - Region where the instance is located.
- Instance
Type string - Instance type such as VPC or DIRECTCONNECT.
- access
Cidr List<String>Lists - List of network segments for accessing firewall.
- access
Cidr DoubleMode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- instance
Id String - Instance ID.
- instance
Region String - Region where the instance is located.
- instance
Type String - Instance type such as VPC or DIRECTCONNECT.
- access
Cidr string[]Lists - List of network segments for accessing firewall.
- access
Cidr numberMode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- instance
Id string - Instance ID.
- instance
Region string - Region where the instance is located.
- instance
Type string - Instance type such as VPC or DIRECTCONNECT.
- access_
cidr_ Sequence[str]lists - List of network segments for accessing firewall.
- access_
cidr_ floatmode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- instance_
id str - Instance ID.
- instance_
region str - Region where the instance is located.
- instance_
type str - Instance type such as VPC or DIRECTCONNECT.
- access
Cidr List<String>Lists - List of network segments for accessing firewall.
- access
Cidr NumberMode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- instance
Id String - Instance ID.
- instance
Region String - Region where the instance is located.
- instance
Type String - Instance type such as VPC or DIRECTCONNECT.
GetCfwCcnVpcFwSwitchInterconnectPairGroupB
- Access
Cidr List<string>Lists - List of network segments for accessing firewall.
- Access
Cidr doubleMode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- Instance
Id string - Instance ID.
- Instance
Region string - Region where the instance is located.
- Instance
Type string - Instance type such as VPC or DIRECTCONNECT.
- Access
Cidr []stringLists - List of network segments for accessing firewall.
- Access
Cidr float64Mode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- Instance
Id string - Instance ID.
- Instance
Region string - Region where the instance is located.
- Instance
Type string - Instance type such as VPC or DIRECTCONNECT.
- access
Cidr List<String>Lists - List of network segments for accessing firewall.
- access
Cidr DoubleMode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- instance
Id String - Instance ID.
- instance
Region String - Region where the instance is located.
- instance
Type String - Instance type such as VPC or DIRECTCONNECT.
- access
Cidr string[]Lists - List of network segments for accessing firewall.
- access
Cidr numberMode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- instance
Id string - Instance ID.
- instance
Region string - Region where the instance is located.
- instance
Type string - Instance type such as VPC or DIRECTCONNECT.
- access_
cidr_ Sequence[str]lists - List of network segments for accessing firewall.
- access_
cidr_ floatmode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- instance_
id str - Instance ID.
- instance_
region str - Region where the instance is located.
- instance_
type str - Instance type such as VPC or DIRECTCONNECT.
- access
Cidr List<String>Lists - List of network segments for accessing firewall.
- access
Cidr NumberMode - Network segment mode for accessing firewall: 0-no access, 1-access all network segments associated with the instance, 2-access user-defined network segments.
- instance
Id String - Instance ID.
- instance
Region String - Region where the instance is located.
- instance
Type String - Instance type such as VPC or DIRECTCONNECT.
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
