tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getCfwEdgeFwSwitches
Start a Neo task
Explain and create a tencentcloud.getCfwEdgeFwSwitches resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of cfw edge_fw_switches
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getCfwEdgeFwSwitches({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_cfw_edge_fw_switches()
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.GetCfwEdgeFwSwitches(ctx, &tencentcloud.GetCfwEdgeFwSwitchesArgs{}, 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.GetCfwEdgeFwSwitches.Invoke();
});
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.GetCfwEdgeFwSwitchesArgs;
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.getCfwEdgeFwSwitches(GetCfwEdgeFwSwitchesArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getCfwEdgeFwSwitches
arguments: {}
Using getCfwEdgeFwSwitches
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 getCfwEdgeFwSwitches(args: GetCfwEdgeFwSwitchesArgs, opts?: InvokeOptions): Promise<GetCfwEdgeFwSwitchesResult>
function getCfwEdgeFwSwitchesOutput(args: GetCfwEdgeFwSwitchesOutputArgs, opts?: InvokeOptions): Output<GetCfwEdgeFwSwitchesResult>def get_cfw_edge_fw_switches(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCfwEdgeFwSwitchesResult
def get_cfw_edge_fw_switches_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCfwEdgeFwSwitchesResult]func GetCfwEdgeFwSwitches(ctx *Context, args *GetCfwEdgeFwSwitchesArgs, opts ...InvokeOption) (*GetCfwEdgeFwSwitchesResult, error)
func GetCfwEdgeFwSwitchesOutput(ctx *Context, args *GetCfwEdgeFwSwitchesOutputArgs, opts ...InvokeOption) GetCfwEdgeFwSwitchesResultOutput> Note: This function is named GetCfwEdgeFwSwitches in the Go SDK.
public static class GetCfwEdgeFwSwitches
{
public static Task<GetCfwEdgeFwSwitchesResult> InvokeAsync(GetCfwEdgeFwSwitchesArgs args, InvokeOptions? opts = null)
public static Output<GetCfwEdgeFwSwitchesResult> Invoke(GetCfwEdgeFwSwitchesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCfwEdgeFwSwitchesResult> getCfwEdgeFwSwitches(GetCfwEdgeFwSwitchesArgs args, InvokeOptions options)
public static Output<GetCfwEdgeFwSwitchesResult> getCfwEdgeFwSwitches(GetCfwEdgeFwSwitchesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCfwEdgeFwSwitches:getCfwEdgeFwSwitches
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getCfwEdgeFwSwitches Result
The following output properties are available:
- Datas
List<Get
Cfw Edge Fw Switches Data> - Ip switch list.
- Id string
- Result
Output stringFile
- Datas
[]Get
Cfw Edge Fw Switches Data - Ip switch list.
- Id string
- Result
Output stringFile
- datas
List<Get
Cfw Edge Fw Switches Data> - Ip switch list.
- id String
- result
Output StringFile
- datas
Get
Cfw Edge Fw Switches Data[] - Ip switch list.
- id string
- result
Output stringFile
- datas
Sequence[Get
Cfw Edge Fw Switches Data] - Ip switch list.
- id str
- result_
output_ strfile
- datas List<Property Map>
- Ip switch list.
- id String
- result
Output StringFile
Supporting Types
GetCfwEdgeFwSwitchesData
- Asset
Type string - Asset Type.
- Instance
Id string - Instance Id.
- Instance
Name string - Instance Name.
- Intranet
Ip string - Intranet Ip.
- Public
Ip string - public ip.
- Public
Ip doubleType - Public IP type.
- Region string
- region.
- Status double
- status.
- Switch
Mode double - switch mode.
- Vpc
Id string - vpc id.
- Asset
Type string - Asset Type.
- Instance
Id string - Instance Id.
- Instance
Name string - Instance Name.
- Intranet
Ip string - Intranet Ip.
- Public
Ip string - public ip.
- Public
Ip float64Type - Public IP type.
- Region string
- region.
- Status float64
- status.
- Switch
Mode float64 - switch mode.
- Vpc
Id string - vpc id.
- asset
Type String - Asset Type.
- instance
Id String - Instance Id.
- instance
Name String - Instance Name.
- intranet
Ip String - Intranet Ip.
- public
Ip String - public ip.
- public
Ip DoubleType - Public IP type.
- region String
- region.
- status Double
- status.
- switch
Mode Double - switch mode.
- vpc
Id String - vpc id.
- asset
Type string - Asset Type.
- instance
Id string - Instance Id.
- instance
Name string - Instance Name.
- intranet
Ip string - Intranet Ip.
- public
Ip string - public ip.
- public
Ip numberType - Public IP type.
- region string
- region.
- status number
- status.
- switch
Mode number - switch mode.
- vpc
Id string - vpc id.
- asset_
type str - Asset Type.
- instance_
id str - Instance Id.
- instance_
name str - Instance Name.
- intranet_
ip str - Intranet Ip.
- public_
ip str - public ip.
- public_
ip_ floattype - Public IP type.
- region str
- region.
- status float
- status.
- switch_
mode float - switch mode.
- vpc_
id str - vpc id.
- asset
Type String - Asset Type.
- instance
Id String - Instance Id.
- instance
Name String - Instance Name.
- intranet
Ip String - Intranet Ip.
- public
Ip String - public ip.
- public
Ip NumberType - Public IP type.
- region String
- region.
- status Number
- status.
- switch
Mode Number - switch mode.
- vpc
Id String - vpc id.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
