alicloud.servicemesh.ServiceMesh
Explore with Pulumi AI
Provides a Service Mesh Service Mesh resource.
For information about Service Mesh Service Mesh and how to use it, see What is Service Mesh.
NOTE: Available since v1.138.0.
Create ServiceMesh Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceMesh(name: string, args: ServiceMeshArgs, opts?: CustomResourceOptions);
@overload
def ServiceMesh(resource_name: str,
args: ServiceMeshArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceMesh(resource_name: str,
opts: Optional[ResourceOptions] = None,
network: Optional[ServiceMeshNetworkArgs] = None,
load_balancer: Optional[ServiceMeshLoadBalancerArgs] = None,
customized_prometheus: Optional[bool] = None,
edition: Optional[str] = None,
extra_configuration: Optional[ServiceMeshExtraConfigurationArgs] = None,
force: Optional[bool] = None,
cluster_ids: Optional[Sequence[str]] = None,
mesh_config: Optional[ServiceMeshMeshConfigArgs] = None,
cluster_spec: Optional[str] = None,
prometheus_url: Optional[str] = None,
service_mesh_name: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
version: Optional[str] = None)
func NewServiceMesh(ctx *Context, name string, args ServiceMeshArgs, opts ...ResourceOption) (*ServiceMesh, error)
public ServiceMesh(string name, ServiceMeshArgs args, CustomResourceOptions? opts = null)
public ServiceMesh(String name, ServiceMeshArgs args)
public ServiceMesh(String name, ServiceMeshArgs args, CustomResourceOptions options)
type: alicloud:servicemesh:ServiceMesh
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 ServiceMeshArgs
- 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 ServiceMeshArgs
- 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 ServiceMeshArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceMeshArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceMeshArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
var serviceMeshResource = new AliCloud.ServiceMesh.ServiceMesh("serviceMeshResource", new()
{
Network = new AliCloud.ServiceMesh.Inputs.ServiceMeshNetworkArgs
{
VpcId = "string",
VswitcheList = "string",
SecurityGroupId = "string",
},
LoadBalancer = new AliCloud.ServiceMesh.Inputs.ServiceMeshLoadBalancerArgs
{
ApiServerLoadbalancerId = "string",
ApiServerPublicEip = false,
PilotPublicEip = false,
PilotPublicLoadbalancerId = "string",
},
CustomizedPrometheus = false,
Edition = "string",
ExtraConfiguration = new AliCloud.ServiceMesh.Inputs.ServiceMeshExtraConfigurationArgs
{
CrAggregationEnabled = false,
},
Force = false,
ClusterIds = new[]
{
"string",
},
MeshConfig = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigArgs
{
AccessLog = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigAccessLogArgs
{
Enabled = false,
Project = "string",
},
Audit = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigAuditArgs
{
Enabled = false,
Project = "string",
},
ControlPlaneLog = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigControlPlaneLogArgs
{
Enabled = false,
Project = "string",
},
CustomizedZipkin = false,
EnableLocalityLb = false,
IncludeIpRanges = "string",
Kiali = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigKialiArgs
{
Enabled = false,
Url = "string",
},
Opa = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigOpaArgs
{
Enabled = false,
LimitCpu = "string",
LimitMemory = "string",
LogLevel = "string",
RequestCpu = "string",
RequestMemory = "string",
},
OutboundTrafficPolicy = "string",
Pilot = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigPilotArgs
{
Http10Enabled = false,
TraceSampling = 0,
},
Prometheus = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigPrometheusArgs
{
ExternalUrl = "string",
UseExternal = false,
},
Proxy = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigProxyArgs
{
ClusterDomain = "string",
LimitCpu = "string",
LimitMemory = "string",
RequestCpu = "string",
RequestMemory = "string",
},
SidecarInjector = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigSidecarInjectorArgs
{
AutoInjectionPolicyEnabled = false,
EnableNamespacesByDefault = false,
InitCniConfiguration = new AliCloud.ServiceMesh.Inputs.ServiceMeshMeshConfigSidecarInjectorInitCniConfigurationArgs
{
Enabled = false,
ExcludeNamespaces = "string",
},
LimitCpu = "string",
LimitMemory = "string",
RequestCpu = "string",
RequestMemory = "string",
SidecarInjectorWebhookAsYaml = "string",
},
Telemetry = false,
Tracing = false,
},
ClusterSpec = "string",
PrometheusUrl = "string",
ServiceMeshName = "string",
Tags =
{
{ "string", "any" },
},
Version = "string",
});
example, err := servicemesh.NewServiceMesh(ctx, "serviceMeshResource", &servicemesh.ServiceMeshArgs{
Network: &servicemesh.ServiceMeshNetworkArgs{
VpcId: pulumi.String("string"),
VswitcheList: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
},
LoadBalancer: &servicemesh.ServiceMeshLoadBalancerArgs{
ApiServerLoadbalancerId: pulumi.String("string"),
ApiServerPublicEip: pulumi.Bool(false),
PilotPublicEip: pulumi.Bool(false),
PilotPublicLoadbalancerId: pulumi.String("string"),
},
CustomizedPrometheus: pulumi.Bool(false),
Edition: pulumi.String("string"),
ExtraConfiguration: &servicemesh.ServiceMeshExtraConfigurationArgs{
CrAggregationEnabled: pulumi.Bool(false),
},
Force: pulumi.Bool(false),
ClusterIds: pulumi.StringArray{
pulumi.String("string"),
},
MeshConfig: &servicemesh.ServiceMeshMeshConfigArgs{
AccessLog: &servicemesh.ServiceMeshMeshConfigAccessLogArgs{
Enabled: pulumi.Bool(false),
Project: pulumi.String("string"),
},
Audit: &servicemesh.ServiceMeshMeshConfigAuditArgs{
Enabled: pulumi.Bool(false),
Project: pulumi.String("string"),
},
ControlPlaneLog: &servicemesh.ServiceMeshMeshConfigControlPlaneLogArgs{
Enabled: pulumi.Bool(false),
Project: pulumi.String("string"),
},
CustomizedZipkin: pulumi.Bool(false),
EnableLocalityLb: pulumi.Bool(false),
IncludeIpRanges: pulumi.String("string"),
Kiali: &servicemesh.ServiceMeshMeshConfigKialiArgs{
Enabled: pulumi.Bool(false),
Url: pulumi.String("string"),
},
Opa: &servicemesh.ServiceMeshMeshConfigOpaArgs{
Enabled: pulumi.Bool(false),
LimitCpu: pulumi.String("string"),
LimitMemory: pulumi.String("string"),
LogLevel: pulumi.String("string"),
RequestCpu: pulumi.String("string"),
RequestMemory: pulumi.String("string"),
},
OutboundTrafficPolicy: pulumi.String("string"),
Pilot: &servicemesh.ServiceMeshMeshConfigPilotArgs{
Http10Enabled: pulumi.Bool(false),
TraceSampling: pulumi.Float64(0),
},
Prometheus: &servicemesh.ServiceMeshMeshConfigPrometheusArgs{
ExternalUrl: pulumi.String("string"),
UseExternal: pulumi.Bool(false),
},
Proxy: &servicemesh.ServiceMeshMeshConfigProxyArgs{
ClusterDomain: pulumi.String("string"),
LimitCpu: pulumi.String("string"),
LimitMemory: pulumi.String("string"),
RequestCpu: pulumi.String("string"),
RequestMemory: pulumi.String("string"),
},
SidecarInjector: &servicemesh.ServiceMeshMeshConfigSidecarInjectorArgs{
AutoInjectionPolicyEnabled: pulumi.Bool(false),
EnableNamespacesByDefault: pulumi.Bool(false),
InitCniConfiguration: &servicemesh.ServiceMeshMeshConfigSidecarInjectorInitCniConfigurationArgs{
Enabled: pulumi.Bool(false),
ExcludeNamespaces: pulumi.String("string"),
},
LimitCpu: pulumi.String("string"),
LimitMemory: pulumi.String("string"),
RequestCpu: pulumi.String("string"),
RequestMemory: pulumi.String("string"),
SidecarInjectorWebhookAsYaml: pulumi.String("string"),
},
Telemetry: pulumi.Bool(false),
Tracing: pulumi.Bool(false),
},
ClusterSpec: pulumi.String("string"),
PrometheusUrl: pulumi.String("string"),
ServiceMeshName: pulumi.String("string"),
Tags: pulumi.Map{
"string": pulumi.Any("any"),
},
Version: pulumi.String("string"),
})
var serviceMeshResource = new ServiceMesh("serviceMeshResource", ServiceMeshArgs.builder()
.network(ServiceMeshNetworkArgs.builder()
.vpcId("string")
.vswitcheList("string")
.securityGroupId("string")
.build())
.loadBalancer(ServiceMeshLoadBalancerArgs.builder()
.apiServerLoadbalancerId("string")
.apiServerPublicEip(false)
.pilotPublicEip(false)
.pilotPublicLoadbalancerId("string")
.build())
.customizedPrometheus(false)
.edition("string")
.extraConfiguration(ServiceMeshExtraConfigurationArgs.builder()
.crAggregationEnabled(false)
.build())
.force(false)
.clusterIds("string")
.meshConfig(ServiceMeshMeshConfigArgs.builder()
.accessLog(ServiceMeshMeshConfigAccessLogArgs.builder()
.enabled(false)
.project("string")
.build())
.audit(ServiceMeshMeshConfigAuditArgs.builder()
.enabled(false)
.project("string")
.build())
.controlPlaneLog(ServiceMeshMeshConfigControlPlaneLogArgs.builder()
.enabled(false)
.project("string")
.build())
.customizedZipkin(false)
.enableLocalityLb(false)
.includeIpRanges("string")
.kiali(ServiceMeshMeshConfigKialiArgs.builder()
.enabled(false)
.url("string")
.build())
.opa(ServiceMeshMeshConfigOpaArgs.builder()
.enabled(false)
.limitCpu("string")
.limitMemory("string")
.logLevel("string")
.requestCpu("string")
.requestMemory("string")
.build())
.outboundTrafficPolicy("string")
.pilot(ServiceMeshMeshConfigPilotArgs.builder()
.http10Enabled(false)
.traceSampling(0)
.build())
.prometheus(ServiceMeshMeshConfigPrometheusArgs.builder()
.externalUrl("string")
.useExternal(false)
.build())
.proxy(ServiceMeshMeshConfigProxyArgs.builder()
.clusterDomain("string")
.limitCpu("string")
.limitMemory("string")
.requestCpu("string")
.requestMemory("string")
.build())
.sidecarInjector(ServiceMeshMeshConfigSidecarInjectorArgs.builder()
.autoInjectionPolicyEnabled(false)
.enableNamespacesByDefault(false)
.initCniConfiguration(ServiceMeshMeshConfigSidecarInjectorInitCniConfigurationArgs.builder()
.enabled(false)
.excludeNamespaces("string")
.build())
.limitCpu("string")
.limitMemory("string")
.requestCpu("string")
.requestMemory("string")
.sidecarInjectorWebhookAsYaml("string")
.build())
.telemetry(false)
.tracing(false)
.build())
.clusterSpec("string")
.prometheusUrl("string")
.serviceMeshName("string")
.tags(Map.of("string", "any"))
.version("string")
.build());
service_mesh_resource = alicloud.servicemesh.ServiceMesh("serviceMeshResource",
network=alicloud.servicemesh.ServiceMeshNetworkArgs(
vpc_id="string",
vswitche_list="string",
security_group_id="string",
),
load_balancer=alicloud.servicemesh.ServiceMeshLoadBalancerArgs(
api_server_loadbalancer_id="string",
api_server_public_eip=False,
pilot_public_eip=False,
pilot_public_loadbalancer_id="string",
),
customized_prometheus=False,
edition="string",
extra_configuration=alicloud.servicemesh.ServiceMeshExtraConfigurationArgs(
cr_aggregation_enabled=False,
),
force=False,
cluster_ids=["string"],
mesh_config=alicloud.servicemesh.ServiceMeshMeshConfigArgs(
access_log=alicloud.servicemesh.ServiceMeshMeshConfigAccessLogArgs(
enabled=False,
project="string",
),
audit=alicloud.servicemesh.ServiceMeshMeshConfigAuditArgs(
enabled=False,
project="string",
),
control_plane_log=alicloud.servicemesh.ServiceMeshMeshConfigControlPlaneLogArgs(
enabled=False,
project="string",
),
customized_zipkin=False,
enable_locality_lb=False,
include_ip_ranges="string",
kiali=alicloud.servicemesh.ServiceMeshMeshConfigKialiArgs(
enabled=False,
url="string",
),
opa=alicloud.servicemesh.ServiceMeshMeshConfigOpaArgs(
enabled=False,
limit_cpu="string",
limit_memory="string",
log_level="string",
request_cpu="string",
request_memory="string",
),
outbound_traffic_policy="string",
pilot=alicloud.servicemesh.ServiceMeshMeshConfigPilotArgs(
http10_enabled=False,
trace_sampling=0,
),
prometheus=alicloud.servicemesh.ServiceMeshMeshConfigPrometheusArgs(
external_url="string",
use_external=False,
),
proxy=alicloud.servicemesh.ServiceMeshMeshConfigProxyArgs(
cluster_domain="string",
limit_cpu="string",
limit_memory="string",
request_cpu="string",
request_memory="string",
),
sidecar_injector=alicloud.servicemesh.ServiceMeshMeshConfigSidecarInjectorArgs(
auto_injection_policy_enabled=False,
enable_namespaces_by_default=False,
init_cni_configuration=alicloud.servicemesh.ServiceMeshMeshConfigSidecarInjectorInitCniConfigurationArgs(
enabled=False,
exclude_namespaces="string",
),
limit_cpu="string",
limit_memory="string",
request_cpu="string",
request_memory="string",
sidecar_injector_webhook_as_yaml="string",
),
telemetry=False,
tracing=False,
),
cluster_spec="string",
prometheus_url="string",
service_mesh_name="string",
tags={
"string": "any",
},
version="string")
const serviceMeshResource = new alicloud.servicemesh.ServiceMesh("serviceMeshResource", {
network: {
vpcId: "string",
vswitcheList: "string",
securityGroupId: "string",
},
loadBalancer: {
apiServerLoadbalancerId: "string",
apiServerPublicEip: false,
pilotPublicEip: false,
pilotPublicLoadbalancerId: "string",
},
customizedPrometheus: false,
edition: "string",
extraConfiguration: {
crAggregationEnabled: false,
},
force: false,
clusterIds: ["string"],
meshConfig: {
accessLog: {
enabled: false,
project: "string",
},
audit: {
enabled: false,
project: "string",
},
controlPlaneLog: {
enabled: false,
project: "string",
},
customizedZipkin: false,
enableLocalityLb: false,
includeIpRanges: "string",
kiali: {
enabled: false,
url: "string",
},
opa: {
enabled: false,
limitCpu: "string",
limitMemory: "string",
logLevel: "string",
requestCpu: "string",
requestMemory: "string",
},
outboundTrafficPolicy: "string",
pilot: {
http10Enabled: false,
traceSampling: 0,
},
prometheus: {
externalUrl: "string",
useExternal: false,
},
proxy: {
clusterDomain: "string",
limitCpu: "string",
limitMemory: "string",
requestCpu: "string",
requestMemory: "string",
},
sidecarInjector: {
autoInjectionPolicyEnabled: false,
enableNamespacesByDefault: false,
initCniConfiguration: {
enabled: false,
excludeNamespaces: "string",
},
limitCpu: "string",
limitMemory: "string",
requestCpu: "string",
requestMemory: "string",
sidecarInjectorWebhookAsYaml: "string",
},
telemetry: false,
tracing: false,
},
clusterSpec: "string",
prometheusUrl: "string",
serviceMeshName: "string",
tags: {
string: "any",
},
version: "string",
});
type: alicloud:servicemesh:ServiceMesh
properties:
clusterIds:
- string
clusterSpec: string
customizedPrometheus: false
edition: string
extraConfiguration:
crAggregationEnabled: false
force: false
loadBalancer:
apiServerLoadbalancerId: string
apiServerPublicEip: false
pilotPublicEip: false
pilotPublicLoadbalancerId: string
meshConfig:
accessLog:
enabled: false
project: string
audit:
enabled: false
project: string
controlPlaneLog:
enabled: false
project: string
customizedZipkin: false
enableLocalityLb: false
includeIpRanges: string
kiali:
enabled: false
url: string
opa:
enabled: false
limitCpu: string
limitMemory: string
logLevel: string
requestCpu: string
requestMemory: string
outboundTrafficPolicy: string
pilot:
http10Enabled: false
traceSampling: 0
prometheus:
externalUrl: string
useExternal: false
proxy:
clusterDomain: string
limitCpu: string
limitMemory: string
requestCpu: string
requestMemory: string
sidecarInjector:
autoInjectionPolicyEnabled: false
enableNamespacesByDefault: false
initCniConfiguration:
enabled: false
excludeNamespaces: string
limitCpu: string
limitMemory: string
requestCpu: string
requestMemory: string
sidecarInjectorWebhookAsYaml: string
telemetry: false
tracing: false
network:
securityGroupId: string
vpcId: string
vswitcheList: string
prometheusUrl: string
serviceMeshName: string
tags:
string: any
version: string
ServiceMesh Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ServiceMesh resource accepts the following input properties:
- Network
Pulumi.
Ali Cloud. Service Mesh. Inputs. Service Mesh Network - Service grid network configuration information. See
network
below. - Cluster
Ids List<string> - List of clusters.
- Cluster
Spec string - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - Customized
Prometheus bool - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- Edition string
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - Extra
Configuration Pulumi.Ali Cloud. Service Mesh. Inputs. Service Mesh Extra Configuration - Data plane KubeAPI access capability. See
extra_configuration
below. - Force bool
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- Load
Balancer Pulumi.Ali Cloud. Service Mesh. Inputs. Service Mesh Load Balancer - Load balancing information. See
load_balancer
below. - Mesh
Config Pulumi.Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config - Service grid configuration information. See
mesh_config
below. - Prometheus
Url string - The Prometheus service address (in non-custom cases, use the ARMS address format).
- Service
Mesh stringName - ServiceMeshName.
- Dictionary<string, object>
- The tag of the resource.
- Version string
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- Network
Service
Mesh Network Args - Service grid network configuration information. See
network
below. - Cluster
Ids []string - List of clusters.
- Cluster
Spec string - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - Customized
Prometheus bool - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- Edition string
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - Extra
Configuration ServiceMesh Extra Configuration Args - Data plane KubeAPI access capability. See
extra_configuration
below. - Force bool
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- Load
Balancer ServiceMesh Load Balancer Args - Load balancing information. See
load_balancer
below. - Mesh
Config ServiceMesh Mesh Config Args - Service grid configuration information. See
mesh_config
below. - Prometheus
Url string - The Prometheus service address (in non-custom cases, use the ARMS address format).
- Service
Mesh stringName - ServiceMeshName.
- map[string]interface{}
- The tag of the resource.
- Version string
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- network
Service
Mesh Network - Service grid network configuration information. See
network
below. - cluster
Ids List<String> - List of clusters.
- cluster
Spec String - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - customized
Prometheus Boolean - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- edition String
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - extra
Configuration ServiceMesh Extra Configuration - Data plane KubeAPI access capability. See
extra_configuration
below. - force Boolean
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- load
Balancer ServiceMesh Load Balancer - Load balancing information. See
load_balancer
below. - mesh
Config ServiceMesh Mesh Config - Service grid configuration information. See
mesh_config
below. - prometheus
Url String - The Prometheus service address (in non-custom cases, use the ARMS address format).
- service
Mesh StringName - ServiceMeshName.
- Map<String,Object>
- The tag of the resource.
- version String
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- network
Service
Mesh Network - Service grid network configuration information. See
network
below. - cluster
Ids string[] - List of clusters.
- cluster
Spec string - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - customized
Prometheus boolean - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- edition string
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - extra
Configuration ServiceMesh Extra Configuration - Data plane KubeAPI access capability. See
extra_configuration
below. - force boolean
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- load
Balancer ServiceMesh Load Balancer - Load balancing information. See
load_balancer
below. - mesh
Config ServiceMesh Mesh Config - Service grid configuration information. See
mesh_config
below. - prometheus
Url string - The Prometheus service address (in non-custom cases, use the ARMS address format).
- service
Mesh stringName - ServiceMeshName.
- {[key: string]: any}
- The tag of the resource.
- version string
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- network
Service
Mesh Network Args - Service grid network configuration information. See
network
below. - cluster_
ids Sequence[str] - List of clusters.
- cluster_
spec str - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - customized_
prometheus bool - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- edition str
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - extra_
configuration ServiceMesh Extra Configuration Args - Data plane KubeAPI access capability. See
extra_configuration
below. - force bool
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- load_
balancer ServiceMesh Load Balancer Args - Load balancing information. See
load_balancer
below. - mesh_
config ServiceMesh Mesh Config Args - Service grid configuration information. See
mesh_config
below. - prometheus_
url str - The Prometheus service address (in non-custom cases, use the ARMS address format).
- service_
mesh_ strname - ServiceMeshName.
- Mapping[str, Any]
- The tag of the resource.
- version str
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- network Property Map
- Service grid network configuration information. See
network
below. - cluster
Ids List<String> - List of clusters.
- cluster
Spec String - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - customized
Prometheus Boolean - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- edition String
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - extra
Configuration Property Map - Data plane KubeAPI access capability. See
extra_configuration
below. - force Boolean
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- load
Balancer Property Map - Load balancing information. See
load_balancer
below. - mesh
Config Property Map - Service grid configuration information. See
mesh_config
below. - prometheus
Url String - The Prometheus service address (in non-custom cases, use the ARMS address format).
- service
Mesh StringName - ServiceMeshName.
- Map<Any>
- The tag of the resource.
- version String
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceMesh resource produces the following output properties:
- Create
Time string - Service grid creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource.
- Create
Time string - Service grid creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource.
- create
Time String - Service grid creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource.
- create
Time string - Service grid creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the resource.
- create_
time str - Service grid creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the resource.
- create
Time String - Service grid creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource.
Look up Existing ServiceMesh Resource
Get an existing ServiceMesh 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?: ServiceMeshState, opts?: CustomResourceOptions): ServiceMesh
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_ids: Optional[Sequence[str]] = None,
cluster_spec: Optional[str] = None,
create_time: Optional[str] = None,
customized_prometheus: Optional[bool] = None,
edition: Optional[str] = None,
extra_configuration: Optional[ServiceMeshExtraConfigurationArgs] = None,
force: Optional[bool] = None,
load_balancer: Optional[ServiceMeshLoadBalancerArgs] = None,
mesh_config: Optional[ServiceMeshMeshConfigArgs] = None,
network: Optional[ServiceMeshNetworkArgs] = None,
prometheus_url: Optional[str] = None,
service_mesh_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
version: Optional[str] = None) -> ServiceMesh
func GetServiceMesh(ctx *Context, name string, id IDInput, state *ServiceMeshState, opts ...ResourceOption) (*ServiceMesh, error)
public static ServiceMesh Get(string name, Input<string> id, ServiceMeshState? state, CustomResourceOptions? opts = null)
public static ServiceMesh get(String name, Output<String> id, ServiceMeshState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Cluster
Ids List<string> - List of clusters.
- Cluster
Spec string - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - Create
Time string - Service grid creation time.
- Customized
Prometheus bool - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- Edition string
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - Extra
Configuration Pulumi.Ali Cloud. Service Mesh. Inputs. Service Mesh Extra Configuration - Data plane KubeAPI access capability. See
extra_configuration
below. - Force bool
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- Load
Balancer Pulumi.Ali Cloud. Service Mesh. Inputs. Service Mesh Load Balancer - Load balancing information. See
load_balancer
below. - Mesh
Config Pulumi.Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config - Service grid configuration information. See
mesh_config
below. - Network
Pulumi.
Ali Cloud. Service Mesh. Inputs. Service Mesh Network - Service grid network configuration information. See
network
below. - Prometheus
Url string - The Prometheus service address (in non-custom cases, use the ARMS address format).
- Service
Mesh stringName - ServiceMeshName.
- Status string
- The status of the resource.
- Dictionary<string, object>
- The tag of the resource.
- Version string
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- Cluster
Ids []string - List of clusters.
- Cluster
Spec string - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - Create
Time string - Service grid creation time.
- Customized
Prometheus bool - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- Edition string
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - Extra
Configuration ServiceMesh Extra Configuration Args - Data plane KubeAPI access capability. See
extra_configuration
below. - Force bool
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- Load
Balancer ServiceMesh Load Balancer Args - Load balancing information. See
load_balancer
below. - Mesh
Config ServiceMesh Mesh Config Args - Service grid configuration information. See
mesh_config
below. - Network
Service
Mesh Network Args - Service grid network configuration information. See
network
below. - Prometheus
Url string - The Prometheus service address (in non-custom cases, use the ARMS address format).
- Service
Mesh stringName - ServiceMeshName.
- Status string
- The status of the resource.
- map[string]interface{}
- The tag of the resource.
- Version string
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- cluster
Ids List<String> - List of clusters.
- cluster
Spec String - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - create
Time String - Service grid creation time.
- customized
Prometheus Boolean - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- edition String
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - extra
Configuration ServiceMesh Extra Configuration - Data plane KubeAPI access capability. See
extra_configuration
below. - force Boolean
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- load
Balancer ServiceMesh Load Balancer - Load balancing information. See
load_balancer
below. - mesh
Config ServiceMesh Mesh Config - Service grid configuration information. See
mesh_config
below. - network
Service
Mesh Network - Service grid network configuration information. See
network
below. - prometheus
Url String - The Prometheus service address (in non-custom cases, use the ARMS address format).
- service
Mesh StringName - ServiceMeshName.
- status String
- The status of the resource.
- Map<String,Object>
- The tag of the resource.
- version String
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- cluster
Ids string[] - List of clusters.
- cluster
Spec string - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - create
Time string - Service grid creation time.
- customized
Prometheus boolean - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- edition string
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - extra
Configuration ServiceMesh Extra Configuration - Data plane KubeAPI access capability. See
extra_configuration
below. - force boolean
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- load
Balancer ServiceMesh Load Balancer - Load balancing information. See
load_balancer
below. - mesh
Config ServiceMesh Mesh Config - Service grid configuration information. See
mesh_config
below. - network
Service
Mesh Network - Service grid network configuration information. See
network
below. - prometheus
Url string - The Prometheus service address (in non-custom cases, use the ARMS address format).
- service
Mesh stringName - ServiceMeshName.
- status string
- The status of the resource.
- {[key: string]: any}
- The tag of the resource.
- version string
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- cluster_
ids Sequence[str] - List of clusters.
- cluster_
spec str - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - create_
time str - Service grid creation time.
- customized_
prometheus bool - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- edition str
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - extra_
configuration ServiceMesh Extra Configuration Args - Data plane KubeAPI access capability. See
extra_configuration
below. - force bool
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- load_
balancer ServiceMesh Load Balancer Args - Load balancing information. See
load_balancer
below. - mesh_
config ServiceMesh Mesh Config Args - Service grid configuration information. See
mesh_config
below. - network
Service
Mesh Network Args - Service grid network configuration information. See
network
below. - prometheus_
url str - The Prometheus service address (in non-custom cases, use the ARMS address format).
- service_
mesh_ strname - ServiceMeshName.
- status str
- The status of the resource.
- Mapping[str, Any]
- The tag of the resource.
- version str
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
- cluster
Ids List<String> - List of clusters.
- cluster
Spec String - Cluster specification. The service mesh instance specification. Valid values:
standard
,enterprise
,ultimate
. Default tostandard
. - create
Time String - Service grid creation time.
- customized
Prometheus Boolean - Whether to customize Prometheus. Value: -'true': custom Prometheus. -'false': Do not customize Prometheus. Default value: 'false '.
- edition String
- Grid instance version type. Valid values:
Default
andPro
. Default: the standard. Pro: the Pro version. - extra
Configuration Property Map - Data plane KubeAPI access capability. See
extra_configuration
below. - force Boolean
- Whether to forcibly delete the ASM instance. Value: -'true': force deletion of ASM instance -'false': no forced deletion of ASM instance. Default value: false.
- load
Balancer Property Map - Load balancing information. See
load_balancer
below. - mesh
Config Property Map - Service grid configuration information. See
mesh_config
below. - network Property Map
- Service grid network configuration information. See
network
below. - prometheus
Url String - The Prometheus service address (in non-custom cases, use the ARMS address format).
- service
Mesh StringName - ServiceMeshName.
- status String
- The status of the resource.
- Map<Any>
- The tag of the resource.
- version String
- Service grid version number. The version of the resource. you can look up the version using alicloud_service_mesh_versions. Note: The version supports updating from v1.170.0, the relevant version can be obtained via istio_operator_version in
alicloud.servicemesh.getServiceMeshes
.
Supporting Types
ServiceMeshExtraConfiguration, ServiceMeshExtraConfigurationArgs
- Cr
Aggregation boolEnabled - Whether the data plane KubeAPI access capability is enabled. Indicates whether the Kubernetes API of clusters on the data plane is used to access Istio resources. A value of true indicates that the Kubernetes API is used.
- Cr
Aggregation boolEnabled - Whether the data plane KubeAPI access capability is enabled. Indicates whether the Kubernetes API of clusters on the data plane is used to access Istio resources. A value of true indicates that the Kubernetes API is used.
- cr
Aggregation BooleanEnabled - Whether the data plane KubeAPI access capability is enabled. Indicates whether the Kubernetes API of clusters on the data plane is used to access Istio resources. A value of true indicates that the Kubernetes API is used.
- cr
Aggregation booleanEnabled - Whether the data plane KubeAPI access capability is enabled. Indicates whether the Kubernetes API of clusters on the data plane is used to access Istio resources. A value of true indicates that the Kubernetes API is used.
- cr_
aggregation_ boolenabled - Whether the data plane KubeAPI access capability is enabled. Indicates whether the Kubernetes API of clusters on the data plane is used to access Istio resources. A value of true indicates that the Kubernetes API is used.
- cr
Aggregation BooleanEnabled - Whether the data plane KubeAPI access capability is enabled. Indicates whether the Kubernetes API of clusters on the data plane is used to access Istio resources. A value of true indicates that the Kubernetes API is used.
ServiceMeshLoadBalancer, ServiceMeshLoadBalancerArgs
- Api
Server stringLoadbalancer Id - The IP address of a public network exposed API Server corresponding to the load balancing ID.
- Api
Server boolPublic Eip - Indicates whether to use the IP address of a public network exposed API Server.
- Pilot
Public boolEip - Indicates whether to use the IP address of a public network exposure Istio Pilot.
- Pilot
Public stringLoadbalancer Id - The IP address of a public network exposure Istio Pilot corresponds to the load balancing ID.
- Api
Server stringLoadbalancer Id - The IP address of a public network exposed API Server corresponding to the load balancing ID.
- Api
Server boolPublic Eip - Indicates whether to use the IP address of a public network exposed API Server.
- Pilot
Public boolEip - Indicates whether to use the IP address of a public network exposure Istio Pilot.
- Pilot
Public stringLoadbalancer Id - The IP address of a public network exposure Istio Pilot corresponds to the load balancing ID.
- api
Server StringLoadbalancer Id - The IP address of a public network exposed API Server corresponding to the load balancing ID.
- api
Server BooleanPublic Eip - Indicates whether to use the IP address of a public network exposed API Server.
- pilot
Public BooleanEip - Indicates whether to use the IP address of a public network exposure Istio Pilot.
- pilot
Public StringLoadbalancer Id - The IP address of a public network exposure Istio Pilot corresponds to the load balancing ID.
- api
Server stringLoadbalancer Id - The IP address of a public network exposed API Server corresponding to the load balancing ID.
- api
Server booleanPublic Eip - Indicates whether to use the IP address of a public network exposed API Server.
- pilot
Public booleanEip - Indicates whether to use the IP address of a public network exposure Istio Pilot.
- pilot
Public stringLoadbalancer Id - The IP address of a public network exposure Istio Pilot corresponds to the load balancing ID.
- api_
server_ strloadbalancer_ id - The IP address of a public network exposed API Server corresponding to the load balancing ID.
- api_
server_ boolpublic_ eip - Indicates whether to use the IP address of a public network exposed API Server.
- pilot_
public_ booleip - Indicates whether to use the IP address of a public network exposure Istio Pilot.
- pilot_
public_ strloadbalancer_ id - The IP address of a public network exposure Istio Pilot corresponds to the load balancing ID.
- api
Server StringLoadbalancer Id - The IP address of a public network exposed API Server corresponding to the load balancing ID.
- api
Server BooleanPublic Eip - Indicates whether to use the IP address of a public network exposed API Server.
- pilot
Public BooleanEip - Indicates whether to use the IP address of a public network exposure Istio Pilot.
- pilot
Public StringLoadbalancer Id - The IP address of a public network exposure Istio Pilot corresponds to the load balancing ID.
ServiceMeshMeshConfig, ServiceMeshMeshConfigArgs
- Access
Log Pulumi.Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Access Log - The access logging configuration. See
access_log
below. - Audit
Pulumi.
Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Audit - Audit information. See
audit
below. - Control
Plane Pulumi.Log Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Control Plane Log - Control plane log collection configuration. See
control_plane_log
below. - Customized
Zipkin bool - Whether or not to enable the use of a custom zipkin.
- Enable
Locality boolLb - Whether to enable service can access the service through the nearest node access.
- Include
Ip stringRanges - The IP ADDRESS range.
- Kiali
Pulumi.
Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Kiali - Kiali configuration. See
kiali
below. - Opa
Pulumi.
Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Opa - The open-door policy of agent (OPA) plug-in information. See
opa
below. - Outbound
Traffic stringPolicy - Out to the traffic policy.
- Pilot
Pulumi.
Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Pilot - Link trace sampling information. See
pilot
below. - Prometheus
Pulumi.
Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Prometheus - Prometheus configuration.
- Proxy
Pulumi.
Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Proxy - Proxy configuration. See
proxy
below. - Sidecar
Injector Pulumi.Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Sidecar Injector - Sidecar injector configuration. See
sidecar_injector
below. - Telemetry bool
- Whether to enable acquisition Prometheus metrics (it is recommended that you use Alibaba Cloud Prometheus monitoring.
- Tracing bool
- Whether to enable link trace (you need to have Alibaba Cloud link tracking service.
- Access
Log ServiceMesh Mesh Config Access Log - The access logging configuration. See
access_log
below. - Audit
Service
Mesh Mesh Config Audit - Audit information. See
audit
below. - Control
Plane ServiceLog Mesh Mesh Config Control Plane Log - Control plane log collection configuration. See
control_plane_log
below. - Customized
Zipkin bool - Whether or not to enable the use of a custom zipkin.
- Enable
Locality boolLb - Whether to enable service can access the service through the nearest node access.
- Include
Ip stringRanges - The IP ADDRESS range.
- Kiali
Service
Mesh Mesh Config Kiali - Kiali configuration. See
kiali
below. - Opa
Service
Mesh Mesh Config Opa - The open-door policy of agent (OPA) plug-in information. See
opa
below. - Outbound
Traffic stringPolicy - Out to the traffic policy.
- Pilot
Service
Mesh Mesh Config Pilot - Link trace sampling information. See
pilot
below. - Prometheus
Service
Mesh Mesh Config Prometheus - Prometheus configuration.
- Proxy
Service
Mesh Mesh Config Proxy - Proxy configuration. See
proxy
below. - Sidecar
Injector ServiceMesh Mesh Config Sidecar Injector - Sidecar injector configuration. See
sidecar_injector
below. - Telemetry bool
- Whether to enable acquisition Prometheus metrics (it is recommended that you use Alibaba Cloud Prometheus monitoring.
- Tracing bool
- Whether to enable link trace (you need to have Alibaba Cloud link tracking service.
- access
Log ServiceMesh Mesh Config Access Log - The access logging configuration. See
access_log
below. - audit
Service
Mesh Mesh Config Audit - Audit information. See
audit
below. - control
Plane ServiceLog Mesh Mesh Config Control Plane Log - Control plane log collection configuration. See
control_plane_log
below. - customized
Zipkin Boolean - Whether or not to enable the use of a custom zipkin.
- enable
Locality BooleanLb - Whether to enable service can access the service through the nearest node access.
- include
Ip StringRanges - The IP ADDRESS range.
- kiali
Service
Mesh Mesh Config Kiali - Kiali configuration. See
kiali
below. - opa
Service
Mesh Mesh Config Opa - The open-door policy of agent (OPA) plug-in information. See
opa
below. - outbound
Traffic StringPolicy - Out to the traffic policy.
- pilot
Service
Mesh Mesh Config Pilot - Link trace sampling information. See
pilot
below. - prometheus
Service
Mesh Mesh Config Prometheus - Prometheus configuration.
- proxy
Service
Mesh Mesh Config Proxy - Proxy configuration. See
proxy
below. - sidecar
Injector ServiceMesh Mesh Config Sidecar Injector - Sidecar injector configuration. See
sidecar_injector
below. - telemetry Boolean
- Whether to enable acquisition Prometheus metrics (it is recommended that you use Alibaba Cloud Prometheus monitoring.
- tracing Boolean
- Whether to enable link trace (you need to have Alibaba Cloud link tracking service.
- access
Log ServiceMesh Mesh Config Access Log - The access logging configuration. See
access_log
below. - audit
Service
Mesh Mesh Config Audit - Audit information. See
audit
below. - control
Plane ServiceLog Mesh Mesh Config Control Plane Log - Control plane log collection configuration. See
control_plane_log
below. - customized
Zipkin boolean - Whether or not to enable the use of a custom zipkin.
- enable
Locality booleanLb - Whether to enable service can access the service through the nearest node access.
- include
Ip stringRanges - The IP ADDRESS range.
- kiali
Service
Mesh Mesh Config Kiali - Kiali configuration. See
kiali
below. - opa
Service
Mesh Mesh Config Opa - The open-door policy of agent (OPA) plug-in information. See
opa
below. - outbound
Traffic stringPolicy - Out to the traffic policy.
- pilot
Service
Mesh Mesh Config Pilot - Link trace sampling information. See
pilot
below. - prometheus
Service
Mesh Mesh Config Prometheus - Prometheus configuration.
- proxy
Service
Mesh Mesh Config Proxy - Proxy configuration. See
proxy
below. - sidecar
Injector ServiceMesh Mesh Config Sidecar Injector - Sidecar injector configuration. See
sidecar_injector
below. - telemetry boolean
- Whether to enable acquisition Prometheus metrics (it is recommended that you use Alibaba Cloud Prometheus monitoring.
- tracing boolean
- Whether to enable link trace (you need to have Alibaba Cloud link tracking service.
- access_
log ServiceMesh Mesh Config Access Log - The access logging configuration. See
access_log
below. - audit
Service
Mesh Mesh Config Audit - Audit information. See
audit
below. - control_
plane_ Servicelog Mesh Mesh Config Control Plane Log - Control plane log collection configuration. See
control_plane_log
below. - customized_
zipkin bool - Whether or not to enable the use of a custom zipkin.
- enable_
locality_ boollb - Whether to enable service can access the service through the nearest node access.
- include_
ip_ strranges - The IP ADDRESS range.
- kiali
Service
Mesh Mesh Config Kiali - Kiali configuration. See
kiali
below. - opa
Service
Mesh Mesh Config Opa - The open-door policy of agent (OPA) plug-in information. See
opa
below. - outbound_
traffic_ strpolicy - Out to the traffic policy.
- pilot
Service
Mesh Mesh Config Pilot - Link trace sampling information. See
pilot
below. - prometheus
Service
Mesh Mesh Config Prometheus - Prometheus configuration.
- proxy
Service
Mesh Mesh Config Proxy - Proxy configuration. See
proxy
below. - sidecar_
injector ServiceMesh Mesh Config Sidecar Injector - Sidecar injector configuration. See
sidecar_injector
below. - telemetry bool
- Whether to enable acquisition Prometheus metrics (it is recommended that you use Alibaba Cloud Prometheus monitoring.
- tracing bool
- Whether to enable link trace (you need to have Alibaba Cloud link tracking service.
- access
Log Property Map - The access logging configuration. See
access_log
below. - audit Property Map
- Audit information. See
audit
below. - control
Plane Property MapLog - Control plane log collection configuration. See
control_plane_log
below. - customized
Zipkin Boolean - Whether or not to enable the use of a custom zipkin.
- enable
Locality BooleanLb - Whether to enable service can access the service through the nearest node access.
- include
Ip StringRanges - The IP ADDRESS range.
- kiali Property Map
- Kiali configuration. See
kiali
below. - opa Property Map
- The open-door policy of agent (OPA) plug-in information. See
opa
below. - outbound
Traffic StringPolicy - Out to the traffic policy.
- pilot Property Map
- Link trace sampling information. See
pilot
below. - prometheus Property Map
- Prometheus configuration.
- proxy Property Map
- Proxy configuration. See
proxy
below. - sidecar
Injector Property Map - Sidecar injector configuration. See
sidecar_injector
below. - telemetry Boolean
- Whether to enable acquisition Prometheus metrics (it is recommended that you use Alibaba Cloud Prometheus monitoring.
- tracing Boolean
- Whether to enable link trace (you need to have Alibaba Cloud link tracking service.
ServiceMeshMeshConfigAccessLog, ServiceMeshMeshConfigAccessLogArgs
ServiceMeshMeshConfigAudit, ServiceMeshMeshConfigAuditArgs
ServiceMeshMeshConfigControlPlaneLog, ServiceMeshMeshConfigControlPlaneLogArgs
ServiceMeshMeshConfigKiali, ServiceMeshMeshConfigKialiArgs
ServiceMeshMeshConfigOpa, ServiceMeshMeshConfigOpaArgs
- Enabled bool
- Enable CNI.
- Limit
Cpu string - Sidecar injector Pods on the throttle.
- Limit
Memory string - Sidecar injector Pods on the throttle.
- Log
Level string - OPA proxy container log level.
- Request
Cpu string - Sidecar injector Pods on the requested resource.
- Request
Memory string - Sidecar injector Pods on the requested resource.
- Enabled bool
- Enable CNI.
- Limit
Cpu string - Sidecar injector Pods on the throttle.
- Limit
Memory string - Sidecar injector Pods on the throttle.
- Log
Level string - OPA proxy container log level.
- Request
Cpu string - Sidecar injector Pods on the requested resource.
- Request
Memory string - Sidecar injector Pods on the requested resource.
- enabled Boolean
- Enable CNI.
- limit
Cpu String - Sidecar injector Pods on the throttle.
- limit
Memory String - Sidecar injector Pods on the throttle.
- log
Level String - OPA proxy container log level.
- request
Cpu String - Sidecar injector Pods on the requested resource.
- request
Memory String - Sidecar injector Pods on the requested resource.
- enabled boolean
- Enable CNI.
- limit
Cpu string - Sidecar injector Pods on the throttle.
- limit
Memory string - Sidecar injector Pods on the throttle.
- log
Level string - OPA proxy container log level.
- request
Cpu string - Sidecar injector Pods on the requested resource.
- request
Memory string - Sidecar injector Pods on the requested resource.
- enabled bool
- Enable CNI.
- limit_
cpu str - Sidecar injector Pods on the throttle.
- limit_
memory str - Sidecar injector Pods on the throttle.
- log_
level str - OPA proxy container log level.
- request_
cpu str - Sidecar injector Pods on the requested resource.
- request_
memory str - Sidecar injector Pods on the requested resource.
- enabled Boolean
- Enable CNI.
- limit
Cpu String - Sidecar injector Pods on the throttle.
- limit
Memory String - Sidecar injector Pods on the throttle.
- log
Level String - OPA proxy container log level.
- request
Cpu String - Sidecar injector Pods on the requested resource.
- request
Memory String - Sidecar injector Pods on the requested resource.
ServiceMeshMeshConfigPilot, ServiceMeshMeshConfigPilotArgs
- Http10Enabled bool
- Whether to support the HTTP1.0.
- Trace
Sampling double - Link trace sampling percentage.
- Http10Enabled bool
- Whether to support the HTTP1.0.
- Trace
Sampling float64 - Link trace sampling percentage.
- http10Enabled Boolean
- Whether to support the HTTP1.0.
- trace
Sampling Double - Link trace sampling percentage.
- http10Enabled boolean
- Whether to support the HTTP1.0.
- trace
Sampling number - Link trace sampling percentage.
- http10_
enabled bool - Whether to support the HTTP1.0.
- trace_
sampling float - Link trace sampling percentage.
- http10Enabled Boolean
- Whether to support the HTTP1.0.
- trace
Sampling Number - Link trace sampling percentage.
ServiceMeshMeshConfigPrometheus, ServiceMeshMeshConfigPrometheusArgs
- External
Url string - Prometheus service addresses (enabled external Prometheus when the system automatically populates).
- Use
External bool - Whether to enable external Prometheus.
- External
Url string - Prometheus service addresses (enabled external Prometheus when the system automatically populates).
- Use
External bool - Whether to enable external Prometheus.
- external
Url String - Prometheus service addresses (enabled external Prometheus when the system automatically populates).
- use
External Boolean - Whether to enable external Prometheus.
- external
Url string - Prometheus service addresses (enabled external Prometheus when the system automatically populates).
- use
External boolean - Whether to enable external Prometheus.
- external_
url str - Prometheus service addresses (enabled external Prometheus when the system automatically populates).
- use_
external bool - Whether to enable external Prometheus.
- external
Url String - Prometheus service addresses (enabled external Prometheus when the system automatically populates).
- use
External Boolean - Whether to enable external Prometheus.
ServiceMeshMeshConfigProxy, ServiceMeshMeshConfigProxyArgs
- Cluster
Domain string - Trust cluster domain.
- Limit
Cpu string - Sidecar injector Pods on the throttle.
- Limit
Memory string - Sidecar injector Pods on the throttle.
- Request
Cpu string - Sidecar injector Pods on the requested resource.
- Request
Memory string - Sidecar injector Pods on the requested resource.
- Cluster
Domain string - Trust cluster domain.
- Limit
Cpu string - Sidecar injector Pods on the throttle.
- Limit
Memory string - Sidecar injector Pods on the throttle.
- Request
Cpu string - Sidecar injector Pods on the requested resource.
- Request
Memory string - Sidecar injector Pods on the requested resource.
- cluster
Domain String - Trust cluster domain.
- limit
Cpu String - Sidecar injector Pods on the throttle.
- limit
Memory String - Sidecar injector Pods on the throttle.
- request
Cpu String - Sidecar injector Pods on the requested resource.
- request
Memory String - Sidecar injector Pods on the requested resource.
- cluster
Domain string - Trust cluster domain.
- limit
Cpu string - Sidecar injector Pods on the throttle.
- limit
Memory string - Sidecar injector Pods on the throttle.
- request
Cpu string - Sidecar injector Pods on the requested resource.
- request
Memory string - Sidecar injector Pods on the requested resource.
- cluster_
domain str - Trust cluster domain.
- limit_
cpu str - Sidecar injector Pods on the throttle.
- limit_
memory str - Sidecar injector Pods on the throttle.
- request_
cpu str - Sidecar injector Pods on the requested resource.
- request_
memory str - Sidecar injector Pods on the requested resource.
- cluster
Domain String - Trust cluster domain.
- limit
Cpu String - Sidecar injector Pods on the throttle.
- limit
Memory String - Sidecar injector Pods on the throttle.
- request
Cpu String - Sidecar injector Pods on the requested resource.
- request
Memory String - Sidecar injector Pods on the requested resource.
ServiceMeshMeshConfigSidecarInjector, ServiceMeshMeshConfigSidecarInjectorArgs
- Auto
Injection boolPolicy Enabled - Whether to enable by Pod Annotations automatic injection Sidecar.
- Enable
Namespaces boolBy Default - Whether it is the all namespaces you turn on the auto injection capabilities.
- Init
Cni Pulumi.Configuration Ali Cloud. Service Mesh. Inputs. Service Mesh Mesh Config Sidecar Injector Init Cni Configuration - CNI configuration. See
init_cni_configuration
below. - Limit
Cpu string - Sidecar injector Pods on the throttle.
- Limit
Memory string - Sidecar injector Pods on the throttle.
- Request
Cpu string - Sidecar injector Pods on the requested resource.
- Request
Memory string - Sidecar injector Pods on the requested resource.
- Sidecar
Injector stringWebhook As Yaml - Other configurations of automatically injected sidecar (in YAML format).
- Auto
Injection boolPolicy Enabled - Whether to enable by Pod Annotations automatic injection Sidecar.
- Enable
Namespaces boolBy Default - Whether it is the all namespaces you turn on the auto injection capabilities.
- Init
Cni ServiceConfiguration Mesh Mesh Config Sidecar Injector Init Cni Configuration - CNI configuration. See
init_cni_configuration
below. - Limit
Cpu string - Sidecar injector Pods on the throttle.
- Limit
Memory string - Sidecar injector Pods on the throttle.
- Request
Cpu string - Sidecar injector Pods on the requested resource.
- Request
Memory string - Sidecar injector Pods on the requested resource.
- Sidecar
Injector stringWebhook As Yaml - Other configurations of automatically injected sidecar (in YAML format).
- auto
Injection BooleanPolicy Enabled - Whether to enable by Pod Annotations automatic injection Sidecar.
- enable
Namespaces BooleanBy Default - Whether it is the all namespaces you turn on the auto injection capabilities.
- init
Cni ServiceConfiguration Mesh Mesh Config Sidecar Injector Init Cni Configuration - CNI configuration. See
init_cni_configuration
below. - limit
Cpu String - Sidecar injector Pods on the throttle.
- limit
Memory String - Sidecar injector Pods on the throttle.
- request
Cpu String - Sidecar injector Pods on the requested resource.
- request
Memory String - Sidecar injector Pods on the requested resource.
- sidecar
Injector StringWebhook As Yaml - Other configurations of automatically injected sidecar (in YAML format).
- auto
Injection booleanPolicy Enabled - Whether to enable by Pod Annotations automatic injection Sidecar.
- enable
Namespaces booleanBy Default - Whether it is the all namespaces you turn on the auto injection capabilities.
- init
Cni ServiceConfiguration Mesh Mesh Config Sidecar Injector Init Cni Configuration - CNI configuration. See
init_cni_configuration
below. - limit
Cpu string - Sidecar injector Pods on the throttle.
- limit
Memory string - Sidecar injector Pods on the throttle.
- request
Cpu string - Sidecar injector Pods on the requested resource.
- request
Memory string - Sidecar injector Pods on the requested resource.
- sidecar
Injector stringWebhook As Yaml - Other configurations of automatically injected sidecar (in YAML format).
- auto_
injection_ boolpolicy_ enabled - Whether to enable by Pod Annotations automatic injection Sidecar.
- enable_
namespaces_ boolby_ default - Whether it is the all namespaces you turn on the auto injection capabilities.
- init_
cni_ Serviceconfiguration Mesh Mesh Config Sidecar Injector Init Cni Configuration - CNI configuration. See
init_cni_configuration
below. - limit_
cpu str - Sidecar injector Pods on the throttle.
- limit_
memory str - Sidecar injector Pods on the throttle.
- request_
cpu str - Sidecar injector Pods on the requested resource.
- request_
memory str - Sidecar injector Pods on the requested resource.
- sidecar_
injector_ strwebhook_ as_ yaml - Other configurations of automatically injected sidecar (in YAML format).
- auto
Injection BooleanPolicy Enabled - Whether to enable by Pod Annotations automatic injection Sidecar.
- enable
Namespaces BooleanBy Default - Whether it is the all namespaces you turn on the auto injection capabilities.
- init
Cni Property MapConfiguration - CNI configuration. See
init_cni_configuration
below. - limit
Cpu String - Sidecar injector Pods on the throttle.
- limit
Memory String - Sidecar injector Pods on the throttle.
- request
Cpu String - Sidecar injector Pods on the requested resource.
- request
Memory String - Sidecar injector Pods on the requested resource.
- sidecar
Injector StringWebhook As Yaml - Other configurations of automatically injected sidecar (in YAML format).
ServiceMeshMeshConfigSidecarInjectorInitCniConfiguration, ServiceMeshMeshConfigSidecarInjectorInitCniConfigurationArgs
- Enabled bool
- Enable CNI.
- Exclude
Namespaces string - The excluded namespace.
- Enabled bool
- Enable CNI.
- Exclude
Namespaces string - The excluded namespace.
- enabled Boolean
- Enable CNI.
- exclude
Namespaces String - The excluded namespace.
- enabled boolean
- Enable CNI.
- exclude
Namespaces string - The excluded namespace.
- enabled bool
- Enable CNI.
- exclude_
namespaces str - The excluded namespace.
- enabled Boolean
- Enable CNI.
- exclude
Namespaces String - The excluded namespace.
ServiceMeshNetwork, ServiceMeshNetworkArgs
- Vpc
Id string - VPC ID.
- Vswitche
List string - Virtual Switch ID.
- Security
Group stringId - Security group ID.
- Vpc
Id string - VPC ID.
- Vswitche
List string - Virtual Switch ID.
- Security
Group stringId - Security group ID.
- vpc
Id String - VPC ID.
- vswitche
List String - Virtual Switch ID.
- security
Group StringId - Security group ID.
- vpc
Id string - VPC ID.
- vswitche
List string - Virtual Switch ID.
- security
Group stringId - Security group ID.
- vpc_
id str - VPC ID.
- vswitche_
list str - Virtual Switch ID.
- security_
group_ strid - Security group ID.
- vpc
Id String - VPC ID.
- vswitche
List String - Virtual Switch ID.
- security
Group StringId - Security group ID.
Import
Service Mesh Service Mesh can be imported using the id, e.g.
$ pulumi import alicloud:servicemesh/serviceMesh:ServiceMesh example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.