tencentcloud.TcmMesh
Explore with Pulumi AI
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
Tcm
Mesh Config - Mesh configuration.
- Display
Name string - Mesh name.
- Mesh
Version string - Mesh version.
- Type string
- Mesh type.
- Mesh
Id string - Mesh ID.
- Tag
Lists List<TcmMesh Tag List> - A list of associated tags.
- Tcm
Mesh stringId - ID of the resource.
- Config
Tcm
Mesh Config Args - Mesh configuration.
- Display
Name string - Mesh name.
- Mesh
Version string - Mesh version.
- Type string
- Mesh type.
- Mesh
Id string - Mesh ID.
- Tag
Lists []TcmMesh Tag List Args - A list of associated tags.
- Tcm
Mesh stringId - ID of the resource.
- config
Tcm
Mesh Config - Mesh configuration.
- display
Name String - Mesh name.
- mesh
Version String - Mesh version.
- type String
- Mesh type.
- mesh
Id String - Mesh ID.
- tag
Lists List<TcmMesh Tag List> - A list of associated tags.
- tcm
Mesh StringId - ID of the resource.
- config
Tcm
Mesh Config - Mesh configuration.
- display
Name string - Mesh name.
- mesh
Version string - Mesh version.
- type string
- Mesh type.
- mesh
Id string - Mesh ID.
- tag
Lists TcmMesh Tag List[] - A list of associated tags.
- tcm
Mesh stringId - ID of the resource.
- config
Tcm
Mesh Config Args - Mesh configuration.
- display_
name str - Mesh name.
- mesh_
version str - Mesh version.
- type str
- Mesh type.
- mesh_
id str - Mesh ID.
- tag_
lists Sequence[TcmMesh Tag List Args] - A list of associated tags.
- tcm_
mesh_ strid - ID of the resource.
- config Property Map
- Mesh configuration.
- display
Name String - Mesh name.
- mesh
Version String - Mesh version.
- type String
- Mesh type.
- mesh
Id String - Mesh ID.
- tag
Lists List<Property Map> - A list of associated tags.
- tcm
Mesh StringId - 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.
- Config
Tcm
Mesh Config - Mesh configuration.
- Display
Name string - Mesh name.
- Mesh
Id string - Mesh ID.
- Mesh
Version string - Mesh version.
- Tag
Lists List<TcmMesh Tag List> - A list of associated tags.
- Tcm
Mesh stringId - ID of the resource.
- Type string
- Mesh type.
- Config
Tcm
Mesh Config Args - Mesh configuration.
- Display
Name string - Mesh name.
- Mesh
Id string - Mesh ID.
- Mesh
Version string - Mesh version.
- Tag
Lists []TcmMesh Tag List Args - A list of associated tags.
- Tcm
Mesh stringId - ID of the resource.
- Type string
- Mesh type.
- config
Tcm
Mesh Config - Mesh configuration.
- display
Name String - Mesh name.
- mesh
Id String - Mesh ID.
- mesh
Version String - Mesh version.
- tag
Lists List<TcmMesh Tag List> - A list of associated tags.
- tcm
Mesh StringId - ID of the resource.
- type String
- Mesh type.
- config
Tcm
Mesh Config - Mesh configuration.
- display
Name string - Mesh name.
- mesh
Id string - Mesh ID.
- mesh
Version string - Mesh version.
- tag
Lists TcmMesh Tag List[] - A list of associated tags.
- tcm
Mesh stringId - ID of the resource.
- type string
- Mesh type.
- config
Tcm
Mesh Config Args - Mesh configuration.
- display_
name str - Mesh name.
- mesh_
id str - Mesh ID.
- mesh_
version str - Mesh version.
- tag_
lists Sequence[TcmMesh Tag List Args] - A list of associated tags.
- tcm_
mesh_ strid - ID of the resource.
- type str
- Mesh type.
- config Property Map
- Mesh configuration.
- display
Name String - Mesh name.
- mesh
Id String - Mesh ID.
- mesh
Version String - Mesh version.
- tag
Lists List<Property Map> - A list of associated tags.
- tcm
Mesh StringId - ID of the resource.
- type String
- Mesh type.
Supporting Types
TcmMeshConfig, TcmMeshConfigArgs
- Inject
Tcm
Mesh Config Inject - Sidecar inject configuration.
- Istio
Tcm
Mesh Config Istio - Istio configuration.
- Prometheus
Tcm
Mesh Config Prometheus - Prometheus configuration.
- Sidecar
Resources TcmMesh Config Sidecar Resources - Default sidecar requests and limits.
- Tracing
Tcm
Mesh Config Tracing - Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
- Inject
Tcm
Mesh Config Inject - Sidecar inject configuration.
- Istio
Tcm
Mesh Config Istio - Istio configuration.
- Prometheus
Tcm
Mesh Config Prometheus - Prometheus configuration.
- Sidecar
Resources TcmMesh Config Sidecar Resources - Default sidecar requests and limits.
- Tracing
Tcm
Mesh Config Tracing - Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
- inject
Tcm
Mesh Config Inject - Sidecar inject configuration.
- istio
Tcm
Mesh Config Istio - Istio configuration.
- prometheus
Tcm
Mesh Config Prometheus - Prometheus configuration.
- sidecar
Resources TcmMesh Config Sidecar Resources - Default sidecar requests and limits.
- tracing
Tcm
Mesh Config Tracing - Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
- inject
Tcm
Mesh Config Inject - Sidecar inject configuration.
- istio
Tcm
Mesh Config Istio - Istio configuration.
- prometheus
Tcm
Mesh Config Prometheus - Prometheus configuration.
- sidecar
Resources TcmMesh Config Sidecar Resources - Default sidecar requests and limits.
- tracing
Tcm
Mesh Config Tracing - Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
- inject
Tcm
Mesh Config Inject - Sidecar inject configuration.
- istio
Tcm
Mesh Config Istio - Istio configuration.
- prometheus
Tcm
Mesh Config Prometheus - Prometheus configuration.
- sidecar_
resources TcmMesh Config Sidecar Resources - Default sidecar requests and limits.
- tracing
Tcm
Mesh Config Tracing - 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.
- sidecar
Resources Property Map - Default sidecar requests and limits.
- tracing Property Map
- Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
TcmMeshConfigInject, TcmMeshConfigInjectArgs
- Exclude
Ip List<string>Ranges - IP ranges that should not be proxied.
- Hold
Application boolUntil Proxy Starts - Let istio-proxy(sidecar) start first, before app container.
- Hold
Proxy boolUntil Application Ends - Let istio-proxy(sidecar) stop last, after app container.
- Exclude
Ip []stringRanges - IP ranges that should not be proxied.
- Hold
Application boolUntil Proxy Starts - Let istio-proxy(sidecar) start first, before app container.
- Hold
Proxy boolUntil Application Ends - Let istio-proxy(sidecar) stop last, after app container.
- exclude
Ip List<String>Ranges - IP ranges that should not be proxied.
- hold
Application BooleanUntil Proxy Starts - Let istio-proxy(sidecar) start first, before app container.
- hold
Proxy BooleanUntil Application Ends - Let istio-proxy(sidecar) stop last, after app container.
- exclude
Ip string[]Ranges - IP ranges that should not be proxied.
- hold
Application booleanUntil Proxy Starts - Let istio-proxy(sidecar) start first, before app container.
- hold
Proxy booleanUntil Application Ends - Let istio-proxy(sidecar) stop last, after app container.
- exclude_
ip_ Sequence[str]ranges - IP ranges that should not be proxied.
- hold_
application_ booluntil_ proxy_ starts - Let istio-proxy(sidecar) start first, before app container.
- hold_
proxy_ booluntil_ application_ ends - Let istio-proxy(sidecar) stop last, after app container.
- exclude
Ip List<String>Ranges - IP ranges that should not be proxied.
- hold
Application BooleanUntil Proxy Starts - Let istio-proxy(sidecar) start first, before app container.
- hold
Proxy BooleanUntil Application Ends - Let istio-proxy(sidecar) stop last, after app container.
TcmMeshConfigIstio, TcmMeshConfigIstioArgs
- Outbound
Traffic stringPolicy - Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
- Disable
Http boolRetry - Disable http retry.
- Disable
Policy boolChecks - Disable policy checks.
- Enable
Pilot boolHttp - Enable HTTP/1.0 support.
- Smart
Dns TcmMesh Config Istio Smart Dns - SmartDNS configuration.
- Tracing
Tcm
Mesh Config Istio Tracing - Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
- Outbound
Traffic stringPolicy - Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
- Disable
Http boolRetry - Disable http retry.
- Disable
Policy boolChecks - Disable policy checks.
- Enable
Pilot boolHttp - Enable HTTP/1.0 support.
- Smart
Dns TcmMesh Config Istio Smart Dns - SmartDNS configuration.
- Tracing
Tcm
Mesh Config Istio Tracing - Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
- outbound
Traffic StringPolicy - Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
- disable
Http BooleanRetry - Disable http retry.
- disable
Policy BooleanChecks - Disable policy checks.
- enable
Pilot BooleanHttp - Enable HTTP/1.0 support.
- smart
Dns TcmMesh Config Istio Smart Dns - SmartDNS configuration.
- tracing
Tcm
Mesh Config Istio Tracing - Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
- outbound
Traffic stringPolicy - Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
- disable
Http booleanRetry - Disable http retry.
- disable
Policy booleanChecks - Disable policy checks.
- enable
Pilot booleanHttp - Enable HTTP/1.0 support.
- smart
Dns TcmMesh Config Istio Smart Dns - SmartDNS configuration.
- tracing
Tcm
Mesh Config Istio Tracing - Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
- outbound_
traffic_ strpolicy - Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
- disable_
http_ boolretry - Disable http retry.
- disable_
policy_ boolchecks - Disable policy checks.
- enable_
pilot_ boolhttp - Enable HTTP/1.0 support.
- smart_
dns TcmMesh Config Istio Smart Dns - SmartDNS configuration.
- tracing
Tcm
Mesh Config Istio Tracing - Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
- outbound
Traffic StringPolicy - Outbound traffic policy, REGISTRY_ONLY or ALLOW_ANY, see https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-OutboundTrafficPolicy-Mode.
- disable
Http BooleanRetry - Disable http retry.
- disable
Policy BooleanChecks - Disable policy checks.
- enable
Pilot BooleanHttp - Enable HTTP/1.0 support.
- smart
Dns Property Map - SmartDNS configuration.
- tracing Property Map
- Tracing config(Deprecated, please use MeshConfig.Tracing for configuration).
TcmMeshConfigIstioSmartDns, TcmMeshConfigIstioSmartDnsArgs
- 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.
TcmMeshConfigIstioTracing, TcmMeshConfigIstioTracingArgs
- Apm
Tcm
Mesh Config Istio Tracing Apm - APM config.
- Enable bool
- Whether enable tracing.
- Sampling double
- Tracing sampling, 0.0-1.0.
- Zipkin
Tcm
Mesh Config Istio Tracing Zipkin - Third party zipkin config.
- Apm
Tcm
Mesh Config Istio Tracing Apm - APM config.
- Enable bool
- Whether enable tracing.
- Sampling float64
- Tracing sampling, 0.0-1.0.
- Zipkin
Tcm
Mesh Config Istio Tracing Zipkin - Third party zipkin config.
- apm
Tcm
Mesh Config Istio Tracing Apm - APM config.
- enable Boolean
- Whether enable tracing.
- sampling Double
- Tracing sampling, 0.0-1.0.
- zipkin
Tcm
Mesh Config Istio Tracing Zipkin - Third party zipkin config.
- apm
Tcm
Mesh Config Istio Tracing Apm - APM config.
- enable boolean
- Whether enable tracing.
- sampling number
- Tracing sampling, 0.0-1.0.
- zipkin
Tcm
Mesh Config Istio Tracing Zipkin - Third party zipkin config.
- apm
Tcm
Mesh Config Istio Tracing Apm - APM config.
- enable bool
- Whether enable tracing.
- sampling float
- Tracing sampling, 0.0-1.0.
- zipkin
Tcm
Mesh Config Istio Tracing Zipkin - 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.
- Instance
Id string - Instance id of the APM.
- Region string
- Region.
- Enable bool
- Whether enable APM.
- Instance
Id string - Instance id of the APM.
- Region string
- Region.
- enable Boolean
- Whether enable APM.
- instance
Id String - Instance id of the APM.
- region String
- Region.
- enable boolean
- Whether enable APM.
- instance
Id 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.
- instance
Id 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
- Custom
Prom TcmMesh Config Prometheus Custom Prom - Custom prometheus.
- Instance
Id string - Instance id.
- Region string
- Region.
- Subnet
Id string - Subnet id.
- Vpc
Id string - Vpc id.
- Custom
Prom TcmMesh Config Prometheus Custom Prom - Custom prometheus.
- Instance
Id string - Instance id.
- Region string
- Region.
- Subnet
Id string - Subnet id.
- Vpc
Id string - Vpc id.
- custom
Prom TcmMesh Config Prometheus Custom Prom - Custom prometheus.
- instance
Id String - Instance id.
- region String
- Region.
- subnet
Id String - Subnet id.
- vpc
Id String - Vpc id.
- custom
Prom TcmMesh Config Prometheus Custom Prom - Custom prometheus.
- instance
Id string - Instance id.
- region string
- Region.
- subnet
Id string - Subnet id.
- vpc
Id string - Vpc id.
- custom_
prom TcmMesh Config Prometheus Custom Prom - Custom prometheus.
- instance_
id str - Instance id.
- region str
- Region.
- subnet_
id str - Subnet id.
- vpc_
id str - Vpc id.
- custom
Prom Property Map - Custom prometheus.
- instance
Id String - Instance id.
- region String
- Region.
- subnet
Id String - Subnet id.
- vpc
Id String - Vpc id.
TcmMeshConfigPrometheusCustomProm, TcmMeshConfigPrometheusCustomPromArgs
- Auth
Type string - Authentication type of the prometheus.
- Url string
- Url of the prometheus.
- Is
Public boolAddr - 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.
- Vpc
Id string - Vpc id.
- Auth
Type string - Authentication type of the prometheus.
- Url string
- Url of the prometheus.
- Is
Public boolAddr - 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.
- Vpc
Id string - Vpc id.
- auth
Type String - Authentication type of the prometheus.
- url String
- Url of the prometheus.
- is
Public BooleanAddr - 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.
- vpc
Id String - Vpc id.
- auth
Type string - Authentication type of the prometheus.
- url string
- Url of the prometheus.
- is
Public booleanAddr - 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.
- vpc
Id string - Vpc id.
- auth_
type str - Authentication type of the prometheus.
- url str
- Url of the prometheus.
- is_
public_ booladdr - 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.
- auth
Type String - Authentication type of the prometheus.
- url String
- Url of the prometheus.
- is
Public BooleanAddr - 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.
- vpc
Id String - Vpc id.
TcmMeshConfigSidecarResources, TcmMeshConfigSidecarResourcesArgs
- Limits
List<Tcm
Mesh Config Sidecar Resources Limit> - Sidecar limits.
- Requests
List<Tcm
Mesh Config Sidecar Resources Request> - Sidecar requests.
- Limits
[]Tcm
Mesh Config Sidecar Resources Limit - Sidecar limits.
- Requests
[]Tcm
Mesh Config Sidecar Resources Request - Sidecar requests.
- limits
List<Tcm
Mesh Config Sidecar Resources Limit> - Sidecar limits.
- requests
List<Tcm
Mesh Config Sidecar Resources Request> - Sidecar requests.
- limits
Tcm
Mesh Config Sidecar Resources Limit[] - Sidecar limits.
- requests
Tcm
Mesh Config Sidecar Resources Request[] - Sidecar requests.
- limits
Sequence[Tcm
Mesh Config Sidecar Resources Limit] - Sidecar limits.
- requests
Sequence[Tcm
Mesh Config Sidecar Resources Request] - Sidecar requests.
- limits List<Property Map>
- Sidecar limits.
- requests List<Property Map>
- Sidecar requests.
TcmMeshConfigSidecarResourcesLimit, TcmMeshConfigSidecarResourcesLimitArgs
TcmMeshConfigSidecarResourcesRequest, TcmMeshConfigSidecarResourcesRequestArgs
TcmMeshConfigTracing, TcmMeshConfigTracingArgs
- Apm
Tcm
Mesh Config Tracing Apm - APM config.
- Enable bool
- Whether enable tracing.
- Sampling double
- Tracing sampling, 0.0-1.0.
- Zipkin
Tcm
Mesh Config Tracing Zipkin - Third party zipkin config.
- Apm
Tcm
Mesh Config Tracing Apm - APM config.
- Enable bool
- Whether enable tracing.
- Sampling float64
- Tracing sampling, 0.0-1.0.
- Zipkin
Tcm
Mesh Config Tracing Zipkin - Third party zipkin config.
- apm
Tcm
Mesh Config Tracing Apm - APM config.
- enable Boolean
- Whether enable tracing.
- sampling Double
- Tracing sampling, 0.0-1.0.
- zipkin
Tcm
Mesh Config Tracing Zipkin - Third party zipkin config.
- apm
Tcm
Mesh Config Tracing Apm - APM config.
- enable boolean
- Whether enable tracing.
- sampling number
- Tracing sampling, 0.0-1.0.
- zipkin
Tcm
Mesh Config Tracing Zipkin - Third party zipkin config.
- apm
Tcm
Mesh Config Tracing Apm - APM config.
- enable bool
- Whether enable tracing.
- sampling float
- Tracing sampling, 0.0-1.0.
- zipkin
Tcm
Mesh Config Tracing Zipkin - 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.
- Instance
Id string - Instance id of the APM.
- Region string
- Region.
- Enable bool
- Whether enable APM.
- Instance
Id string - Instance id of the APM.
- Region string
- Region.
- enable Boolean
- Whether enable APM.
- instance
Id String - Instance id of the APM.
- region String
- Region.
- enable boolean
- Whether enable APM.
- instance
Id 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.
- instance
Id 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.