1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TcmMesh
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.TcmMesh

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a tcm mesh

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const mesh = new tencentcloud.TcmMesh("mesh", {
        config: {
            inject: {
                excludeIpRanges: ["172.16.0.0/16"],
                holdApplicationUntilProxyStarts: true,
                holdProxyUntilApplicationEnds: true,
            },
            istio: {
                disableHttpRetry: true,
                disablePolicyChecks: true,
                enablePilotHttp: true,
                outboundTrafficPolicy: "ALLOW_ANY",
                smartDns: {
                    istioMetaDnsAutoAllocate: true,
                    istioMetaDnsCapture: true,
                },
                tracing: {
                    enable: false,
                },
            },
            prometheus: {
                customProm: {
                    authType: "none",
                    url: "https://10.0.0.1:1000",
                    vpcId: "vpc-j9yhbzpn",
                },
            },
            sidecarResources: {
                limits: [
                    {
                        name: "cpu",
                        quantity: "2",
                    },
                    {
                        name: "memory",
                        quantity: "1Gi",
                    },
                ],
                requests: [
                    {
                        name: "cpu",
                        quantity: "100m",
                    },
                    {
                        name: "memory",
                        quantity: "128Mi",
                    },
                ],
            },
            tracing: {
                apm: {
                    enable: true,
                    region: "ap-guangzhou",
                },
                enable: true,
                sampling: 1,
            },
        },
        displayName: "test_mesh",
        meshVersion: "1.12.5",
        tagLists: [{
            key: "key",
            passthrough: false,
            value: "value",
        }],
        type: "HOSTED",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    mesh = tencentcloud.TcmMesh("mesh",
        config={
            "inject": {
                "exclude_ip_ranges": ["172.16.0.0/16"],
                "hold_application_until_proxy_starts": True,
                "hold_proxy_until_application_ends": True,
            },
            "istio": {
                "disable_http_retry": True,
                "disable_policy_checks": True,
                "enable_pilot_http": True,
                "outbound_traffic_policy": "ALLOW_ANY",
                "smart_dns": {
                    "istio_meta_dns_auto_allocate": True,
                    "istio_meta_dns_capture": True,
                },
                "tracing": {
                    "enable": False,
                },
            },
            "prometheus": {
                "custom_prom": {
                    "auth_type": "none",
                    "url": "https://10.0.0.1:1000",
                    "vpc_id": "vpc-j9yhbzpn",
                },
            },
            "sidecar_resources": {
                "limits": [
                    {
                        "name": "cpu",
                        "quantity": "2",
                    },
                    {
                        "name": "memory",
                        "quantity": "1Gi",
                    },
                ],
                "requests": [
                    {
                        "name": "cpu",
                        "quantity": "100m",
                    },
                    {
                        "name": "memory",
                        "quantity": "128Mi",
                    },
                ],
            },
            "tracing": {
                "apm": {
                    "enable": True,
                    "region": "ap-guangzhou",
                },
                "enable": True,
                "sampling": 1,
            },
        },
        display_name="test_mesh",
        mesh_version="1.12.5",
        tag_lists=[{
            "key": "key",
            "passthrough": False,
            "value": "value",
        }],
        type="HOSTED")
    
    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.NewTcmMesh(ctx, "mesh", &tencentcloud.TcmMeshArgs{
    			Config: &tencentcloud.TcmMeshConfigArgs{
    				Inject: &tencentcloud.TcmMeshConfigInjectArgs{
    					ExcludeIpRanges: pulumi.StringArray{
    						pulumi.String("172.16.0.0/16"),
    					},
    					HoldApplicationUntilProxyStarts: pulumi.Bool(true),
    					HoldProxyUntilApplicationEnds:   pulumi.Bool(true),
    				},
    				Istio: &tencentcloud.TcmMeshConfigIstioArgs{
    					DisableHttpRetry:      pulumi.Bool(true),
    					DisablePolicyChecks:   pulumi.Bool(true),
    					EnablePilotHttp:       pulumi.Bool(true),
    					OutboundTrafficPolicy: pulumi.String("ALLOW_ANY"),
    					SmartDns: &tencentcloud.TcmMeshConfigIstioSmartDnsArgs{
    						IstioMetaDnsAutoAllocate: pulumi.Bool(true),
    						IstioMetaDnsCapture:      pulumi.Bool(true),
    					},
    					Tracing: &tencentcloud.TcmMeshConfigIstioTracingArgs{
    						Enable: pulumi.Bool(false),
    					},
    				},
    				Prometheus: &tencentcloud.TcmMeshConfigPrometheusArgs{
    					CustomProm: &tencentcloud.TcmMeshConfigPrometheusCustomPromArgs{
    						AuthType: pulumi.String("none"),
    						Url:      pulumi.String("https://10.0.0.1:1000"),
    						VpcId:    pulumi.String("vpc-j9yhbzpn"),
    					},
    				},
    				SidecarResources: &tencentcloud.TcmMeshConfigSidecarResourcesArgs{
    					Limits: tencentcloud.TcmMeshConfigSidecarResourcesLimitArray{
    						&tencentcloud.TcmMeshConfigSidecarResourcesLimitArgs{
    							Name:     pulumi.String("cpu"),
    							Quantity: pulumi.String("2"),
    						},
    						&tencentcloud.TcmMeshConfigSidecarResourcesLimitArgs{
    							Name:     pulumi.String("memory"),
    							Quantity: pulumi.String("1Gi"),
    						},
    					},
    					Requests: tencentcloud.TcmMeshConfigSidecarResourcesRequestArray{
    						&tencentcloud.TcmMeshConfigSidecarResourcesRequestArgs{
    							Name:     pulumi.String("cpu"),
    							Quantity: pulumi.String("100m"),
    						},
    						&tencentcloud.TcmMeshConfigSidecarResourcesRequestArgs{
    							Name:     pulumi.String("memory"),
    							Quantity: pulumi.String("128Mi"),
    						},
    					},
    				},
    				Tracing: &tencentcloud.TcmMeshConfigTracingArgs{
    					Apm: &tencentcloud.TcmMeshConfigTracingApmArgs{
    						Enable: pulumi.Bool(true),
    						Region: pulumi.String("ap-guangzhou"),
    					},
    					Enable:   pulumi.Bool(true),
    					Sampling: pulumi.Float64(1),
    				},
    			},
    			DisplayName: pulumi.String("test_mesh"),
    			MeshVersion: pulumi.String("1.12.5"),
    			TagLists: tencentcloud.TcmMeshTagListArray{
    				&tencentcloud.TcmMeshTagListArgs{
    					Key:         pulumi.String("key"),
    					Passthrough: pulumi.Bool(false),
    					Value:       pulumi.String("value"),
    				},
    			},
    			Type: pulumi.String("HOSTED"),
    		})
    		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 = new Tencentcloud.TcmMesh("mesh", new()
        {
            Config = new Tencentcloud.Inputs.TcmMeshConfigArgs
            {
                Inject = new Tencentcloud.Inputs.TcmMeshConfigInjectArgs
                {
                    ExcludeIpRanges = new[]
                    {
                        "172.16.0.0/16",
                    },
                    HoldApplicationUntilProxyStarts = true,
                    HoldProxyUntilApplicationEnds = true,
                },
                Istio = new Tencentcloud.Inputs.TcmMeshConfigIstioArgs
                {
                    DisableHttpRetry = true,
                    DisablePolicyChecks = true,
                    EnablePilotHttp = true,
                    OutboundTrafficPolicy = "ALLOW_ANY",
                    SmartDns = new Tencentcloud.Inputs.TcmMeshConfigIstioSmartDnsArgs
                    {
                        IstioMetaDnsAutoAllocate = true,
                        IstioMetaDnsCapture = true,
                    },
                    Tracing = new Tencentcloud.Inputs.TcmMeshConfigIstioTracingArgs
                    {
                        Enable = false,
                    },
                },
                Prometheus = new Tencentcloud.Inputs.TcmMeshConfigPrometheusArgs
                {
                    CustomProm = new Tencentcloud.Inputs.TcmMeshConfigPrometheusCustomPromArgs
                    {
                        AuthType = "none",
                        Url = "https://10.0.0.1:1000",
                        VpcId = "vpc-j9yhbzpn",
                    },
                },
                SidecarResources = new Tencentcloud.Inputs.TcmMeshConfigSidecarResourcesArgs
                {
                    Limits = new[]
                    {
                        new Tencentcloud.Inputs.TcmMeshConfigSidecarResourcesLimitArgs
                        {
                            Name = "cpu",
                            Quantity = "2",
                        },
                        new Tencentcloud.Inputs.TcmMeshConfigSidecarResourcesLimitArgs
                        {
                            Name = "memory",
                            Quantity = "1Gi",
                        },
                    },
                    Requests = new[]
                    {
                        new Tencentcloud.Inputs.TcmMeshConfigSidecarResourcesRequestArgs
                        {
                            Name = "cpu",
                            Quantity = "100m",
                        },
                        new Tencentcloud.Inputs.TcmMeshConfigSidecarResourcesRequestArgs
                        {
                            Name = "memory",
                            Quantity = "128Mi",
                        },
                    },
                },
                Tracing = new Tencentcloud.Inputs.TcmMeshConfigTracingArgs
                {
                    Apm = new Tencentcloud.Inputs.TcmMeshConfigTracingApmArgs
                    {
                        Enable = true,
                        Region = "ap-guangzhou",
                    },
                    Enable = true,
                    Sampling = 1,
                },
            },
            DisplayName = "test_mesh",
            MeshVersion = "1.12.5",
            TagLists = new[]
            {
                new Tencentcloud.Inputs.TcmMeshTagListArgs
                {
                    Key = "key",
                    Passthrough = false,
                    Value = "value",
                },
            },
            Type = "HOSTED",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TcmMesh;
    import com.pulumi.tencentcloud.TcmMeshArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigInjectArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigIstioArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigIstioSmartDnsArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigIstioTracingArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigPrometheusArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigPrometheusCustomPromArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigSidecarResourcesArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigTracingArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshConfigTracingApmArgs;
    import com.pulumi.tencentcloud.inputs.TcmMeshTagListArgs;
    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) {
            var mesh = new TcmMesh("mesh", TcmMeshArgs.builder()
                .config(TcmMeshConfigArgs.builder()
                    .inject(TcmMeshConfigInjectArgs.builder()
                        .excludeIpRanges("172.16.0.0/16")
                        .holdApplicationUntilProxyStarts(true)
                        .holdProxyUntilApplicationEnds(true)
                        .build())
                    .istio(TcmMeshConfigIstioArgs.builder()
                        .disableHttpRetry(true)
                        .disablePolicyChecks(true)
                        .enablePilotHttp(true)
                        .outboundTrafficPolicy("ALLOW_ANY")
                        .smartDns(TcmMeshConfigIstioSmartDnsArgs.builder()
                            .istioMetaDnsAutoAllocate(true)
                            .istioMetaDnsCapture(true)
                            .build())
                        .tracing(TcmMeshConfigIstioTracingArgs.builder()
                            .enable(false)
                            .build())
                        .build())
                    .prometheus(TcmMeshConfigPrometheusArgs.builder()
                        .customProm(TcmMeshConfigPrometheusCustomPromArgs.builder()
                            .authType("none")
                            .url("https://10.0.0.1:1000")
                            .vpcId("vpc-j9yhbzpn")
                            .build())
                        .build())
                    .sidecarResources(TcmMeshConfigSidecarResourcesArgs.builder()
                        .limits(                    
                            TcmMeshConfigSidecarResourcesLimitArgs.builder()
                                .name("cpu")
                                .quantity("2")
                                .build(),
                            TcmMeshConfigSidecarResourcesLimitArgs.builder()
                                .name("memory")
                                .quantity("1Gi")
                                .build())
                        .requests(                    
                            TcmMeshConfigSidecarResourcesRequestArgs.builder()
                                .name("cpu")
                                .quantity("100m")
                                .build(),
                            TcmMeshConfigSidecarResourcesRequestArgs.builder()
                                .name("memory")
                                .quantity("128Mi")
                                .build())
                        .build())
                    .tracing(TcmMeshConfigTracingArgs.builder()
                        .apm(TcmMeshConfigTracingApmArgs.builder()
                            .enable(true)
                            .region("ap-guangzhou")
                            .build())
                        .enable(true)
                        .sampling(1)
                        .build())
                    .build())
                .displayName("test_mesh")
                .meshVersion("1.12.5")
                .tagLists(TcmMeshTagListArgs.builder()
                    .key("key")
                    .passthrough(false)
                    .value("value")
                    .build())
                .type("HOSTED")
                .build());
    
        }
    }
    
    resources:
      mesh:
        type: tencentcloud:TcmMesh
        properties:
          config:
            inject:
              excludeIpRanges:
                - 172.16.0.0/16
              holdApplicationUntilProxyStarts: true
              holdProxyUntilApplicationEnds: true
            istio:
              disableHttpRetry: true
              disablePolicyChecks: true
              enablePilotHttp: true
              outboundTrafficPolicy: ALLOW_ANY
              smartDns:
                istioMetaDnsAutoAllocate: true
                istioMetaDnsCapture: true
              tracing:
                enable: false
            prometheus:
              customProm:
                authType: none
                url: https://10.0.0.1:1000
                vpcId: vpc-j9yhbzpn
            sidecarResources:
              limits:
                - name: cpu
                  quantity: '2'
                - name: memory
                  quantity: 1Gi
              requests:
                - name: cpu
                  quantity: 100m
                - name: memory
                  quantity: 128Mi
            tracing:
              apm:
                enable: true
                region: ap-guangzhou
              enable: true
              sampling: 1
          displayName: test_mesh
          meshVersion: 1.12.5
          tagLists:
            - key: key
              passthrough: false
              value: value
          type: HOSTED
    

    Create TcmMesh Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TcmMesh(name: string, args: TcmMeshArgs, opts?: CustomResourceOptions);
    @overload
    def TcmMesh(resource_name: str,
                args: TcmMeshArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def TcmMesh(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                config: Optional[TcmMeshConfigArgs] = None,
                display_name: Optional[str] = None,
                mesh_version: Optional[str] = None,
                type: Optional[str] = None,
                mesh_id: Optional[str] = None,
                tag_lists: Optional[Sequence[TcmMeshTagListArgs]] = None,
                tcm_mesh_id: Optional[str] = None)
    func NewTcmMesh(ctx *Context, name string, args TcmMeshArgs, opts ...ResourceOption) (*TcmMesh, error)
    public TcmMesh(string name, TcmMeshArgs args, CustomResourceOptions? opts = null)
    public TcmMesh(String name, TcmMeshArgs args)
    public TcmMesh(String name, TcmMeshArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TcmMesh
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TcmMeshArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TcmMeshArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TcmMeshArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TcmMeshArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TcmMeshArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TcmMesh Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TcmMesh resource accepts the following input properties:

    Config TcmMeshConfig
    Mesh configuration.
    DisplayName string
    Mesh name.
    MeshVersion string
    Mesh version.
    Type string
    Mesh type.
    MeshId string
    Mesh ID.
    TagLists List<TcmMeshTagList>
    A list of associated tags.
    TcmMeshId string
    ID of the resource.
    Config TcmMeshConfigArgs
    Mesh configuration.
    DisplayName string
    Mesh name.
    MeshVersion string
    Mesh version.
    Type string
    Mesh type.
    MeshId string
    Mesh ID.
    TagLists []TcmMeshTagListArgs
    A list of associated tags.
    TcmMeshId string
    ID of the resource.
    config TcmMeshConfig
    Mesh configuration.
    displayName String
    Mesh name.
    meshVersion String
    Mesh version.
    type String
    Mesh type.
    meshId String
    Mesh ID.
    tagLists List<TcmMeshTagList>
    A list of associated tags.
    tcmMeshId String
    ID of the resource.
    config TcmMeshConfig
    Mesh configuration.
    displayName string
    Mesh name.
    meshVersion string
    Mesh version.
    type string
    Mesh type.
    meshId string
    Mesh ID.
    tagLists TcmMeshTagList[]
    A list of associated tags.
    tcmMeshId string
    ID of the resource.
    config TcmMeshConfigArgs
    Mesh configuration.
    display_name str
    Mesh name.
    mesh_version str
    Mesh version.
    type str
    Mesh type.
    mesh_id str
    Mesh ID.
    tag_lists Sequence[TcmMeshTagListArgs]
    A list of associated tags.
    tcm_mesh_id str
    ID of the resource.
    config Property Map
    Mesh configuration.
    displayName String
    Mesh name.
    meshVersion String
    Mesh version.
    type String
    Mesh type.
    meshId String
    Mesh ID.
    tagLists List<Property Map>
    A list of associated tags.
    tcmMeshId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TcmMesh resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TcmMesh Resource

    Get an existing TcmMesh resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TcmMeshState, opts?: CustomResourceOptions): TcmMesh
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[TcmMeshConfigArgs] = None,
            display_name: Optional[str] = None,
            mesh_id: Optional[str] = None,
            mesh_version: Optional[str] = None,
            tag_lists: Optional[Sequence[TcmMeshTagListArgs]] = None,
            tcm_mesh_id: Optional[str] = None,
            type: Optional[str] = None) -> TcmMesh
    func GetTcmMesh(ctx *Context, name string, id IDInput, state *TcmMeshState, opts ...ResourceOption) (*TcmMesh, error)
    public static TcmMesh Get(string name, Input<string> id, TcmMeshState? state, CustomResourceOptions? opts = null)
    public static TcmMesh get(String name, Output<String> id, TcmMeshState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TcmMesh    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Config TcmMeshConfig
    Mesh configuration.
    DisplayName string
    Mesh name.
    MeshId string
    Mesh ID.
    MeshVersion string
    Mesh version.
    TagLists List<TcmMeshTagList>
    A list of associated tags.
    TcmMeshId string
    ID of the resource.
    Type string
    Mesh type.
    Config TcmMeshConfigArgs
    Mesh configuration.
    DisplayName string
    Mesh name.
    MeshId string
    Mesh ID.
    MeshVersion string
    Mesh version.
    TagLists []TcmMeshTagListArgs
    A list of associated tags.
    TcmMeshId string
    ID of the resource.
    Type string
    Mesh type.
    config TcmMeshConfig
    Mesh configuration.
    displayName String
    Mesh name.
    meshId String
    Mesh ID.
    meshVersion String
    Mesh version.
    tagLists List<TcmMeshTagList>
    A list of associated tags.
    tcmMeshId String
    ID of the resource.
    type String
    Mesh type.
    config TcmMeshConfig
    Mesh configuration.
    displayName string
    Mesh name.
    meshId string
    Mesh ID.
    meshVersion string
    Mesh version.
    tagLists TcmMeshTagList[]
    A list of associated tags.
    tcmMeshId string
    ID of the resource.
    type string
    Mesh type.
    config TcmMeshConfigArgs
    Mesh configuration.
    display_name str
    Mesh name.
    mesh_id str
    Mesh ID.
    mesh_version str
    Mesh version.
    tag_lists Sequence[TcmMeshTagListArgs]
    A list of associated tags.
    tcm_mesh_id str
    ID of the resource.
    type str
    Mesh type.
    config Property Map
    Mesh configuration.
    displayName String
    Mesh name.
    meshId String
    Mesh ID.
    meshVersion String
    Mesh version.
    tagLists List<Property Map>
    A list of associated tags.
    tcmMeshId String
    ID of the resource.
    type String
    Mesh type.

    Supporting Types

    TcmMeshConfig, TcmMeshConfigArgs

    Inject TcmMeshConfigInject
    Sidecar inject configuration.
    Istio TcmMeshConfigIstio
    Istio configuration.
    Prometheus TcmMeshConfigPrometheus
    Prometheus configuration.
    SidecarResources TcmMeshConfigSidecarResources
    Default sidecar requests and limits.
    Tracing TcmMeshConfigTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    Inject TcmMeshConfigInject
    Sidecar inject configuration.
    Istio TcmMeshConfigIstio
    Istio configuration.
    Prometheus TcmMeshConfigPrometheus
    Prometheus configuration.
    SidecarResources TcmMeshConfigSidecarResources
    Default sidecar requests and limits.
    Tracing TcmMeshConfigTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    inject TcmMeshConfigInject
    Sidecar inject configuration.
    istio TcmMeshConfigIstio
    Istio configuration.
    prometheus TcmMeshConfigPrometheus
    Prometheus configuration.
    sidecarResources TcmMeshConfigSidecarResources
    Default sidecar requests and limits.
    tracing TcmMeshConfigTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    inject TcmMeshConfigInject
    Sidecar inject configuration.
    istio TcmMeshConfigIstio
    Istio configuration.
    prometheus TcmMeshConfigPrometheus
    Prometheus configuration.
    sidecarResources TcmMeshConfigSidecarResources
    Default sidecar requests and limits.
    tracing TcmMeshConfigTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    inject TcmMeshConfigInject
    Sidecar inject configuration.
    istio TcmMeshConfigIstio
    Istio configuration.
    prometheus TcmMeshConfigPrometheus
    Prometheus configuration.
    sidecar_resources TcmMeshConfigSidecarResources
    Default sidecar requests and limits.
    tracing TcmMeshConfigTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    inject Property Map
    Sidecar inject configuration.
    istio Property Map
    Istio configuration.
    prometheus Property Map
    Prometheus configuration.
    sidecarResources Property Map
    Default sidecar requests and limits.
    tracing Property Map
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).

    TcmMeshConfigInject, TcmMeshConfigInjectArgs

    ExcludeIpRanges List<string>
    IP ranges that should not be proxied.
    HoldApplicationUntilProxyStarts bool
    Let istio-proxy(sidecar) start first, before app container.
    HoldProxyUntilApplicationEnds bool
    Let istio-proxy(sidecar) stop last, after app container.
    ExcludeIpRanges []string
    IP ranges that should not be proxied.
    HoldApplicationUntilProxyStarts bool
    Let istio-proxy(sidecar) start first, before app container.
    HoldProxyUntilApplicationEnds bool
    Let istio-proxy(sidecar) stop last, after app container.
    excludeIpRanges List<String>
    IP ranges that should not be proxied.
    holdApplicationUntilProxyStarts Boolean
    Let istio-proxy(sidecar) start first, before app container.
    holdProxyUntilApplicationEnds Boolean
    Let istio-proxy(sidecar) stop last, after app container.
    excludeIpRanges string[]
    IP ranges that should not be proxied.
    holdApplicationUntilProxyStarts boolean
    Let istio-proxy(sidecar) start first, before app container.
    holdProxyUntilApplicationEnds boolean
    Let istio-proxy(sidecar) stop last, after app container.
    exclude_ip_ranges Sequence[str]
    IP ranges that should not be proxied.
    hold_application_until_proxy_starts bool
    Let istio-proxy(sidecar) start first, before app container.
    hold_proxy_until_application_ends bool
    Let istio-proxy(sidecar) stop last, after app container.
    excludeIpRanges List<String>
    IP ranges that should not be proxied.
    holdApplicationUntilProxyStarts Boolean
    Let istio-proxy(sidecar) start first, before app container.
    holdProxyUntilApplicationEnds Boolean
    Let istio-proxy(sidecar) stop last, after app container.

    TcmMeshConfigIstio, TcmMeshConfigIstioArgs

    OutboundTrafficPolicy string
    Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
    DisableHttpRetry bool
    Disable http retry.
    DisablePolicyChecks bool
    Disable policy checks.
    EnablePilotHttp bool
    Enable HTTP/1.0 support.
    SmartDns TcmMeshConfigIstioSmartDns
    SmartDNS configuration.
    Tracing TcmMeshConfigIstioTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    OutboundTrafficPolicy string
    Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
    DisableHttpRetry bool
    Disable http retry.
    DisablePolicyChecks bool
    Disable policy checks.
    EnablePilotHttp bool
    Enable HTTP/1.0 support.
    SmartDns TcmMeshConfigIstioSmartDns
    SmartDNS configuration.
    Tracing TcmMeshConfigIstioTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    outboundTrafficPolicy String
    Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
    disableHttpRetry Boolean
    Disable http retry.
    disablePolicyChecks Boolean
    Disable policy checks.
    enablePilotHttp Boolean
    Enable HTTP/1.0 support.
    smartDns TcmMeshConfigIstioSmartDns
    SmartDNS configuration.
    tracing TcmMeshConfigIstioTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    outboundTrafficPolicy string
    Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
    disableHttpRetry boolean
    Disable http retry.
    disablePolicyChecks boolean
    Disable policy checks.
    enablePilotHttp boolean
    Enable HTTP/1.0 support.
    smartDns TcmMeshConfigIstioSmartDns
    SmartDNS configuration.
    tracing TcmMeshConfigIstioTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    outbound_traffic_policy str
    Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
    disable_http_retry bool
    Disable http retry.
    disable_policy_checks bool
    Disable policy checks.
    enable_pilot_http bool
    Enable HTTP/1.0 support.
    smart_dns TcmMeshConfigIstioSmartDns
    SmartDNS configuration.
    tracing TcmMeshConfigIstioTracing
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
    outboundTrafficPolicy String
    Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
    disableHttpRetry Boolean
    Disable http retry.
    disablePolicyChecks Boolean
    Disable policy checks.
    enablePilotHttp Boolean
    Enable HTTP/1.0 support.
    smartDns Property Map
    SmartDNS configuration.
    tracing Property Map
    Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).

    TcmMeshConfigIstioSmartDns, TcmMeshConfigIstioSmartDnsArgs

    IstioMetaDnsAutoAllocate bool
    Enable auto allocate address.
    IstioMetaDnsCapture bool
    Enable dns proxy.
    IstioMetaDnsAutoAllocate bool
    Enable auto allocate address.
    IstioMetaDnsCapture bool
    Enable dns proxy.
    istioMetaDnsAutoAllocate Boolean
    Enable auto allocate address.
    istioMetaDnsCapture Boolean
    Enable dns proxy.
    istioMetaDnsAutoAllocate boolean
    Enable auto allocate address.
    istioMetaDnsCapture boolean
    Enable dns proxy.
    istio_meta_dns_auto_allocate bool
    Enable auto allocate address.
    istio_meta_dns_capture bool
    Enable dns proxy.
    istioMetaDnsAutoAllocate Boolean
    Enable auto allocate address.
    istioMetaDnsCapture Boolean
    Enable dns proxy.

    TcmMeshConfigIstioTracing, TcmMeshConfigIstioTracingArgs

    Apm TcmMeshConfigIstioTracingApm
    APM config.
    Enable bool
    Whether enable tracing.
    Sampling double
    Tracing sampling, 0.0-1.0.
    Zipkin TcmMeshConfigIstioTracingZipkin
    Third party zipkin config.
    Apm TcmMeshConfigIstioTracingApm
    APM config.
    Enable bool
    Whether enable tracing.
    Sampling float64
    Tracing sampling, 0.0-1.0.
    Zipkin TcmMeshConfigIstioTracingZipkin
    Third party zipkin config.
    apm TcmMeshConfigIstioTracingApm
    APM config.
    enable Boolean
    Whether enable tracing.
    sampling Double
    Tracing sampling, 0.0-1.0.
    zipkin TcmMeshConfigIstioTracingZipkin
    Third party zipkin config.
    apm TcmMeshConfigIstioTracingApm
    APM config.
    enable boolean
    Whether enable tracing.
    sampling number
    Tracing sampling, 0.0-1.0.
    zipkin TcmMeshConfigIstioTracingZipkin
    Third party zipkin config.
    apm TcmMeshConfigIstioTracingApm
    APM config.
    enable bool
    Whether enable tracing.
    sampling float
    Tracing sampling, 0.0-1.0.
    zipkin TcmMeshConfigIstioTracingZipkin
    Third party zipkin config.
    apm Property Map
    APM config.
    enable Boolean
    Whether enable tracing.
    sampling Number
    Tracing sampling, 0.0-1.0.
    zipkin Property Map
    Third party zipkin config.

    TcmMeshConfigIstioTracingApm, TcmMeshConfigIstioTracingApmArgs

    Enable bool
    Whether enable APM.
    InstanceId string
    Instance id of the APM.
    Region string
    Region.
    Enable bool
    Whether enable APM.
    InstanceId string
    Instance id of the APM.
    Region string
    Region.
    enable Boolean
    Whether enable APM.
    instanceId String
    Instance id of the APM.
    region String
    Region.
    enable boolean
    Whether enable APM.
    instanceId string
    Instance id of the APM.
    region string
    Region.
    enable bool
    Whether enable APM.
    instance_id str
    Instance id of the APM.
    region str
    Region.
    enable Boolean
    Whether enable APM.
    instanceId String
    Instance id of the APM.
    region String
    Region.

    TcmMeshConfigIstioTracingZipkin, TcmMeshConfigIstioTracingZipkinArgs

    Address string
    Zipkin address.
    Address string
    Zipkin address.
    address String
    Zipkin address.
    address string
    Zipkin address.
    address str
    Zipkin address.
    address String
    Zipkin address.

    TcmMeshConfigPrometheus, TcmMeshConfigPrometheusArgs

    CustomProm TcmMeshConfigPrometheusCustomProm
    Custom prometheus.
    InstanceId string
    Instance id.
    Region string
    Region.
    SubnetId string
    Subnet id.
    VpcId string
    Vpc id.
    CustomProm TcmMeshConfigPrometheusCustomProm
    Custom prometheus.
    InstanceId string
    Instance id.
    Region string
    Region.
    SubnetId string
    Subnet id.
    VpcId string
    Vpc id.
    customProm TcmMeshConfigPrometheusCustomProm
    Custom prometheus.
    instanceId String
    Instance id.
    region String
    Region.
    subnetId String
    Subnet id.
    vpcId String
    Vpc id.
    customProm TcmMeshConfigPrometheusCustomProm
    Custom prometheus.
    instanceId string
    Instance id.
    region string
    Region.
    subnetId string
    Subnet id.
    vpcId string
    Vpc id.
    custom_prom TcmMeshConfigPrometheusCustomProm
    Custom prometheus.
    instance_id str
    Instance id.
    region str
    Region.
    subnet_id str
    Subnet id.
    vpc_id str
    Vpc id.
    customProm Property Map
    Custom prometheus.
    instanceId String
    Instance id.
    region String
    Region.
    subnetId String
    Subnet id.
    vpcId String
    Vpc id.

    TcmMeshConfigPrometheusCustomProm, TcmMeshConfigPrometheusCustomPromArgs

    AuthType string
    Authentication type of the prometheus.
    Url string
    Url of the prometheus.
    IsPublicAddr bool
    Whether it is public address, default false.
    Password string
    Password of the prometheus, used in basic authentication type.
    Username string
    Username of the prometheus, used in basic authentication type.
    VpcId string
    Vpc id.
    AuthType string
    Authentication type of the prometheus.
    Url string
    Url of the prometheus.
    IsPublicAddr bool
    Whether it is public address, default false.
    Password string
    Password of the prometheus, used in basic authentication type.
    Username string
    Username of the prometheus, used in basic authentication type.
    VpcId string
    Vpc id.
    authType String
    Authentication type of the prometheus.
    url String
    Url of the prometheus.
    isPublicAddr Boolean
    Whether it is public address, default false.
    password String
    Password of the prometheus, used in basic authentication type.
    username String
    Username of the prometheus, used in basic authentication type.
    vpcId String
    Vpc id.
    authType string
    Authentication type of the prometheus.
    url string
    Url of the prometheus.
    isPublicAddr boolean
    Whether it is public address, default false.
    password string
    Password of the prometheus, used in basic authentication type.
    username string
    Username of the prometheus, used in basic authentication type.
    vpcId string
    Vpc id.
    auth_type str
    Authentication type of the prometheus.
    url str
    Url of the prometheus.
    is_public_addr bool
    Whether it is public address, default false.
    password str
    Password of the prometheus, used in basic authentication type.
    username str
    Username of the prometheus, used in basic authentication type.
    vpc_id str
    Vpc id.
    authType String
    Authentication type of the prometheus.
    url String
    Url of the prometheus.
    isPublicAddr Boolean
    Whether it is public address, default false.
    password String
    Password of the prometheus, used in basic authentication type.
    username String
    Username of the prometheus, used in basic authentication type.
    vpcId String
    Vpc id.

    TcmMeshConfigSidecarResources, TcmMeshConfigSidecarResourcesArgs

    limits List<Property Map>
    Sidecar limits.
    requests List<Property Map>
    Sidecar requests.

    TcmMeshConfigSidecarResourcesLimit, TcmMeshConfigSidecarResourcesLimitArgs

    Name string
    Resource type name, cpu/memory.
    Quantity string
    Resource quantity, example: cpu-100m, memory-1Gi.
    Name string
    Resource type name, cpu/memory.
    Quantity string
    Resource quantity, example: cpu-100m, memory-1Gi.
    name String
    Resource type name, cpu/memory.
    quantity String
    Resource quantity, example: cpu-100m, memory-1Gi.
    name string
    Resource type name, cpu/memory.
    quantity string
    Resource quantity, example: cpu-100m, memory-1Gi.
    name str
    Resource type name, cpu/memory.
    quantity str
    Resource quantity, example: cpu-100m, memory-1Gi.
    name String
    Resource type name, cpu/memory.
    quantity String
    Resource quantity, example: cpu-100m, memory-1Gi.

    TcmMeshConfigSidecarResourcesRequest, TcmMeshConfigSidecarResourcesRequestArgs

    Name string
    Resource type name, cpu/memory.
    Quantity string
    Resource quantity, example: cpu-100m, memory-1Gi.
    Name string
    Resource type name, cpu/memory.
    Quantity string
    Resource quantity, example: cpu-100m, memory-1Gi.
    name String
    Resource type name, cpu/memory.
    quantity String
    Resource quantity, example: cpu-100m, memory-1Gi.
    name string
    Resource type name, cpu/memory.
    quantity string
    Resource quantity, example: cpu-100m, memory-1Gi.
    name str
    Resource type name, cpu/memory.
    quantity str
    Resource quantity, example: cpu-100m, memory-1Gi.
    name String
    Resource type name, cpu/memory.
    quantity String
    Resource quantity, example: cpu-100m, memory-1Gi.

    TcmMeshConfigTracing, TcmMeshConfigTracingArgs

    Apm TcmMeshConfigTracingApm
    APM config.
    Enable bool
    Whether enable tracing.
    Sampling double
    Tracing sampling, 0.0-1.0.
    Zipkin TcmMeshConfigTracingZipkin
    Third party zipkin config.
    Apm TcmMeshConfigTracingApm
    APM config.
    Enable bool
    Whether enable tracing.
    Sampling float64
    Tracing sampling, 0.0-1.0.
    Zipkin TcmMeshConfigTracingZipkin
    Third party zipkin config.
    apm TcmMeshConfigTracingApm
    APM config.
    enable Boolean
    Whether enable tracing.
    sampling Double
    Tracing sampling, 0.0-1.0.
    zipkin TcmMeshConfigTracingZipkin
    Third party zipkin config.
    apm TcmMeshConfigTracingApm
    APM config.
    enable boolean
    Whether enable tracing.
    sampling number
    Tracing sampling, 0.0-1.0.
    zipkin TcmMeshConfigTracingZipkin
    Third party zipkin config.
    apm TcmMeshConfigTracingApm
    APM config.
    enable bool
    Whether enable tracing.
    sampling float
    Tracing sampling, 0.0-1.0.
    zipkin TcmMeshConfigTracingZipkin
    Third party zipkin config.
    apm Property Map
    APM config.
    enable Boolean
    Whether enable tracing.
    sampling Number
    Tracing sampling, 0.0-1.0.
    zipkin Property Map
    Third party zipkin config.

    TcmMeshConfigTracingApm, TcmMeshConfigTracingApmArgs

    Enable bool
    Whether enable APM.
    InstanceId string
    Instance id of the APM.
    Region string
    Region.
    Enable bool
    Whether enable APM.
    InstanceId string
    Instance id of the APM.
    Region string
    Region.
    enable Boolean
    Whether enable APM.
    instanceId String
    Instance id of the APM.
    region String
    Region.
    enable boolean
    Whether enable APM.
    instanceId string
    Instance id of the APM.
    region string
    Region.
    enable bool
    Whether enable APM.
    instance_id str
    Instance id of the APM.
    region str
    Region.
    enable Boolean
    Whether enable APM.
    instanceId String
    Instance id of the APM.
    region String
    Region.

    TcmMeshConfigTracingZipkin, TcmMeshConfigTracingZipkinArgs

    Address string
    Zipkin address.
    Address string
    Zipkin address.
    address String
    Zipkin address.
    address string
    Zipkin address.
    address str
    Zipkin address.
    address String
    Zipkin address.

    TcmMeshTagList, TcmMeshTagListArgs

    Key string
    Tag key.
    Value string
    Tag value.
    Passthrough bool
    Passthrough to other related product.
    Key string
    Tag key.
    Value string
    Tag value.
    Passthrough bool
    Passthrough to other related product.
    key String
    Tag key.
    value String
    Tag value.
    passthrough Boolean
    Passthrough to other related product.
    key string
    Tag key.
    value string
    Tag value.
    passthrough boolean
    Passthrough to other related product.
    key str
    Tag key.
    value str
    Tag value.
    passthrough bool
    Passthrough to other related product.
    key String
    Tag key.
    value String
    Tag value.
    passthrough Boolean
    Passthrough to other related product.

    Import

    tcm mesh can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/tcmMesh:TcmMesh mesh mesh_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack