tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getTcmMesh
Start a Neo task
Explain and create a tencentcloud.getTcmMesh resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of tcm mesh
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const mesh = tencentcloud.getTcmMesh({
meshIds: ["mesh-xxxxxx"],
meshNames: ["KEEP_MASH"],
tags: ["key"],
meshClusters: ["cls-xxxx"],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
mesh = tencentcloud.get_tcm_mesh(mesh_ids=["mesh-xxxxxx"],
mesh_names=["KEEP_MASH"],
tags=["key"],
mesh_clusters=["cls-xxxx"])
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.LookupTcmMesh(ctx, &tencentcloud.LookupTcmMeshArgs{
MeshIds: []string{
"mesh-xxxxxx",
},
MeshNames: []string{
"KEEP_MASH",
},
Tags: []string{
"key",
},
MeshClusters: []string{
"cls-xxxx",
},
}, 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 mesh = Tencentcloud.GetTcmMesh.Invoke(new()
{
MeshIds = new[]
{
"mesh-xxxxxx",
},
MeshNames = new[]
{
"KEEP_MASH",
},
Tags = new[]
{
"key",
},
MeshClusters = new[]
{
"cls-xxxx",
},
});
});
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.GetTcmMeshArgs;
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 mesh = TencentcloudFunctions.getTcmMesh(GetTcmMeshArgs.builder()
.meshIds("mesh-xxxxxx")
.meshNames("KEEP_MASH")
.tags("key")
.meshClusters("cls-xxxx")
.build());
}
}
variables:
mesh:
fn::invoke:
function: tencentcloud:getTcmMesh
arguments:
meshIds:
- mesh-xxxxxx
meshNames:
- KEEP_MASH
tags:
- key
meshClusters:
- cls-xxxx
Using getTcmMesh
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 getTcmMesh(args: GetTcmMeshArgs, opts?: InvokeOptions): Promise<GetTcmMeshResult>
function getTcmMeshOutput(args: GetTcmMeshOutputArgs, opts?: InvokeOptions): Output<GetTcmMeshResult>def get_tcm_mesh(id: Optional[str] = None,
mesh_clusters: Optional[Sequence[str]] = None,
mesh_ids: Optional[Sequence[str]] = None,
mesh_names: Optional[Sequence[str]] = None,
result_output_file: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetTcmMeshResult
def get_tcm_mesh_output(id: Optional[pulumi.Input[str]] = None,
mesh_clusters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
mesh_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
mesh_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTcmMeshResult]func LookupTcmMesh(ctx *Context, args *LookupTcmMeshArgs, opts ...InvokeOption) (*LookupTcmMeshResult, error)
func LookupTcmMeshOutput(ctx *Context, args *LookupTcmMeshOutputArgs, opts ...InvokeOption) LookupTcmMeshResultOutput> Note: This function is named LookupTcmMesh in the Go SDK.
public static class GetTcmMesh
{
public static Task<GetTcmMeshResult> InvokeAsync(GetTcmMeshArgs args, InvokeOptions? opts = null)
public static Output<GetTcmMeshResult> Invoke(GetTcmMeshInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTcmMeshResult> getTcmMesh(GetTcmMeshArgs args, InvokeOptions options)
public static Output<GetTcmMeshResult> getTcmMesh(GetTcmMeshArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTcmMesh:getTcmMesh
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Mesh
Clusters List<string> - Mesh name.
- Mesh
Ids List<string> - Mesh instance Id.
- Mesh
Names List<string> - Display name.
- Result
Output stringFile - Used to save results.
- List<string>
- tag key.
- Id string
- Mesh
Clusters []string - Mesh name.
- Mesh
Ids []string - Mesh instance Id.
- Mesh
Names []string - Display name.
- Result
Output stringFile - Used to save results.
- []string
- tag key.
- id String
- mesh
Clusters List<String> - Mesh name.
- mesh
Ids List<String> - Mesh instance Id.
- mesh
Names List<String> - Display name.
- result
Output StringFile - Used to save results.
- List<String>
- tag key.
- id string
- mesh
Clusters string[] - Mesh name.
- mesh
Ids string[] - Mesh instance Id.
- mesh
Names string[] - Display name.
- result
Output stringFile - Used to save results.
- string[]
- tag key.
- id str
- mesh_
clusters Sequence[str] - Mesh name.
- mesh_
ids Sequence[str] - Mesh instance Id.
- mesh_
names Sequence[str] - Display name.
- result_
output_ strfile - Used to save results.
- Sequence[str]
- tag key.
- id String
- mesh
Clusters List<String> - Mesh name.
- mesh
Ids List<String> - Mesh instance Id.
- mesh
Names List<String> - Display name.
- result
Output StringFile - Used to save results.
- List<String>
- tag key.
getTcmMesh Result
The following output properties are available:
- Id string
- Mesh
Lists List<GetTcm Mesh Mesh List> - The mesh information is queriedNote: This field may return null, indicating that a valid value is not available.
- Mesh
Clusters List<string> - Mesh
Ids List<string> - Mesh instance Id.
- Mesh
Names List<string> - Result
Output stringFile - List<string>
- Id string
- Mesh
Lists []GetTcm Mesh Mesh List - The mesh information is queriedNote: This field may return null, indicating that a valid value is not available.
- Mesh
Clusters []string - Mesh
Ids []string - Mesh instance Id.
- Mesh
Names []string - Result
Output stringFile - []string
- id String
- mesh
Lists List<GetTcm Mesh Mesh List> - The mesh information is queriedNote: This field may return null, indicating that a valid value is not available.
- mesh
Clusters List<String> - mesh
Ids List<String> - Mesh instance Id.
- mesh
Names List<String> - result
Output StringFile - List<String>
- id string
- mesh
Lists GetTcm Mesh Mesh List[] - The mesh information is queriedNote: This field may return null, indicating that a valid value is not available.
- mesh
Clusters string[] - mesh
Ids string[] - Mesh instance Id.
- mesh
Names string[] - result
Output stringFile - string[]
- id str
- mesh_
lists Sequence[GetTcm Mesh Mesh List] - The mesh information is queriedNote: This field may return null, indicating that a valid value is not available.
- mesh_
clusters Sequence[str] - mesh_
ids Sequence[str] - Mesh instance Id.
- mesh_
names Sequence[str] - result_
output_ strfile - Sequence[str]
- id String
- mesh
Lists List<Property Map> - The mesh information is queriedNote: This field may return null, indicating that a valid value is not available.
- mesh
Clusters List<String> - mesh
Ids List<String> - Mesh instance Id.
- mesh
Names List<String> - result
Output StringFile - List<String>
Supporting Types
GetTcmMeshMeshList
- Configs
List<Get
Tcm Mesh Mesh List Config> - Mesh configuration.
- Display
Name string - Mesh name.
- Mesh
Id string - Mesh instance Id.
- Tag
Lists List<GetTcm Mesh Mesh List Tag List> - A list of associated tags.
- Type string
- Mesh type. Value range:-
STANDALONE: Standalone mesh-HOSTED: hosted the mesh. - Version string
- Mesh version.
- Configs
[]Get
Tcm Mesh Mesh List Config - Mesh configuration.
- Display
Name string - Mesh name.
- Mesh
Id string - Mesh instance Id.
- Tag
Lists []GetTcm Mesh Mesh List Tag List - A list of associated tags.
- Type string
- Mesh type. Value range:-
STANDALONE: Standalone mesh-HOSTED: hosted the mesh. - Version string
- Mesh version.
- configs
List<Get
Tcm Mesh Mesh List Config> - Mesh configuration.
- display
Name String - Mesh name.
- mesh
Id String - Mesh instance Id.
- tag
Lists List<GetTcm Mesh Mesh List Tag List> - A list of associated tags.
- type String
- Mesh type. Value range:-
STANDALONE: Standalone mesh-HOSTED: hosted the mesh. - version String
- Mesh version.
- configs
Get
Tcm Mesh Mesh List Config[] - Mesh configuration.
- display
Name string - Mesh name.
- mesh
Id string - Mesh instance Id.
- tag
Lists GetTcm Mesh Mesh List Tag List[] - A list of associated tags.
- type string
- Mesh type. Value range:-
STANDALONE: Standalone mesh-HOSTED: hosted the mesh. - version string
- Mesh version.
- configs
Sequence[Get
Tcm Mesh Mesh List Config] - Mesh configuration.
- display_
name str - Mesh name.
- mesh_
id str - Mesh instance Id.
- tag_
lists Sequence[GetTcm Mesh Mesh List Tag List] - A list of associated tags.
- type str
- Mesh type. Value range:-
STANDALONE: Standalone mesh-HOSTED: hosted the mesh. - version str
- Mesh version.
- configs List<Property Map>
- Mesh configuration.
- display
Name String - Mesh name.
- mesh
Id String - Mesh instance Id.
- tag
Lists List<Property Map> - A list of associated tags.
- type String
- Mesh type. Value range:-
STANDALONE: Standalone mesh-HOSTED: hosted the mesh. - version String
- Mesh version.
GetTcmMeshMeshListConfig
- Istios
List<Get
Tcm Mesh Mesh List Config Istio> - Istio configuration.
- Istios
[]Get
Tcm Mesh Mesh List Config Istio - Istio configuration.
- istios
List<Get
Tcm Mesh Mesh List Config Istio> - Istio configuration.
- istios
Get
Tcm Mesh Mesh List Config Istio[] - Istio configuration.
- istios
Sequence[Get
Tcm Mesh Mesh List Config Istio] - Istio configuration.
- istios List<Property Map>
- Istio configuration.
GetTcmMeshMeshListConfigIstio
- Disable
Http boolRetry - Disable http retry.
- Disable
Policy boolChecks - Disable policy checks.
- Enable
Pilot boolHttp - Enable HTTP/1.0 support.
- Outbound
Traffic stringPolicy - Outbound traffic policy.
- Smart
Dns List<GetTcm Mesh Mesh List Config Istio Smart Dn> - SmartDNS configuration.
- Disable
Http boolRetry - Disable http retry.
- Disable
Policy boolChecks - Disable policy checks.
- Enable
Pilot boolHttp - Enable HTTP/1.0 support.
- Outbound
Traffic stringPolicy - Outbound traffic policy.
- Smart
Dns []GetTcm Mesh Mesh List Config Istio Smart Dn - SmartDNS configuration.
- disable
Http BooleanRetry - Disable http retry.
- disable
Policy BooleanChecks - Disable policy checks.
- enable
Pilot BooleanHttp - Enable HTTP/1.0 support.
- outbound
Traffic StringPolicy - Outbound traffic policy.
- smart
Dns List<GetTcm Mesh Mesh List Config Istio Smart Dn> - SmartDNS configuration.
- disable
Http booleanRetry - Disable http retry.
- disable
Policy booleanChecks - Disable policy checks.
- enable
Pilot booleanHttp - Enable HTTP/1.0 support.
- outbound
Traffic stringPolicy - Outbound traffic policy.
- smart
Dns GetTcm Mesh Mesh List Config Istio Smart Dn[] - SmartDNS configuration.
- disable_
http_ boolretry - Disable http retry.
- disable_
policy_ boolchecks - Disable policy checks.
- enable_
pilot_ boolhttp - Enable HTTP/1.0 support.
- outbound_
traffic_ strpolicy - Outbound traffic policy.
- smart_
dns Sequence[GetTcm Mesh Mesh List Config Istio Smart Dn] - SmartDNS configuration.
- disable
Http BooleanRetry - Disable http retry.
- disable
Policy BooleanChecks - Disable policy checks.
- enable
Pilot BooleanHttp - Enable HTTP/1.0 support.
- outbound
Traffic StringPolicy - Outbound traffic policy.
- smart
Dns List<Property Map> - SmartDNS configuration.
GetTcmMeshMeshListConfigIstioSmartDn
- Istio
Meta boolDns Auto Allocate - Enable auto allocate address.
- Istio
Meta boolDns Capture - Enable dns proxy.
- Istio
Meta boolDns Auto Allocate - Enable auto allocate address.
- Istio
Meta boolDns Capture - Enable dns proxy.
- istio
Meta BooleanDns Auto Allocate - Enable auto allocate address.
- istio
Meta BooleanDns Capture - Enable dns proxy.
- istio
Meta booleanDns Auto Allocate - Enable auto allocate address.
- istio
Meta booleanDns Capture - Enable dns proxy.
- istio_
meta_ booldns_ auto_ allocate - Enable auto allocate address.
- istio_
meta_ booldns_ capture - Enable dns proxy.
- istio
Meta BooleanDns Auto Allocate - Enable auto allocate address.
- istio
Meta BooleanDns Capture - Enable dns proxy.
GetTcmMeshMeshListTagList
- Key string
- Tag key.
- Passthrough bool
- Passthrough to other related product.
- Value string
- Tag value.
- Key string
- Tag key.
- Passthrough bool
- Passthrough to other related product.
- Value string
- Tag value.
- key String
- Tag key.
- passthrough Boolean
- Passthrough to other related product.
- value String
- Tag value.
- key string
- Tag key.
- passthrough boolean
- Passthrough to other related product.
- value string
- Tag value.
- key str
- Tag key.
- passthrough bool
- Passthrough to other related product.
- value str
- Tag value.
- key String
- Tag key.
- passthrough Boolean
- Passthrough to other related product.
- value String
- Tag value.
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
