Skip to content

ServiceMeshProps

Properties for defining a ServiceMesh.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-asm-servicemesh

Initializer

using AlibabaCloud.SDK.ROS.CDK.Asm;
new ServiceMeshProps {
    object VpcId,
    object VSwitches,
    object ApiServerPublicEip = null,
    object AuditProject = null,
    object CustomizedZipkin = null,
    object EnableAudit = null,
    object IncludeIpRanges = null,
    object IstioVersion = null,
    object LocalityLoadBalancing = null,
    object Name = null,
    object Opa = null,
    object OutboundTrafficPolicy = null,
    object PilotPublicEip = null,
    object Proxy = null,
    object Telemetry = null,
    object TraceSampling = null,
    object Tracing = null
};

Properties

Name Type Description
VpcId object Property vpcId: The ID of the virtual private cloud (VPC).
VSwitches object Property vSwitches: The ID of the vSwitch, eg: ["vsw-xzegf5dndkbf4m6eg****"].
ApiServerPublicEip object Property apiServerPublicEip: Specifies whether to expose the API server to the Internet.
AuditProject object Property auditProject: The name of the Log Service project that is used for mesh audit.
CustomizedZipkin object Property customizedZipkin: Specifies whether to use a user-created Zipkin system.
EnableAudit object Property enableAudit: Specifies whether to enable the mesh audit feature.
IncludeIpRanges object Property includeIpRanges: The Classless Inter-Domain Routing (CIDR) block in the ASM instance that are denied to access external services.
IstioVersion object Property istioVersion: The Istio version of the ASM instance.
LocalityLoadBalancing object Property localityLoadBalancing: Specifies whether to route traffic to the nearest instance.
Name object Property name: The name of the ASM instance.
Opa object Property opa: OPA settings.
OutboundTrafficPolicy object Property outboundTrafficPolicy: The outbound traffic policy of the ASM instance.
PilotPublicEip object Property pilotPublicEip: Specifies whether to expose Istio Pilot to the Internet.
Proxy object Property proxy: Proxy settings.
Telemetry object Property telemetry: Specifies whether to enable Prometheus monitoring.
TraceSampling object Property traceSampling: The sampling percentage of tracing.
Tracing object Property tracing: Specifies whether to enable the tracing feature.

VpcIdRequired

public object VpcId { get; set; }
  • Type: object

Property vpcId: The ID of the virtual private cloud (VPC).


VSwitchesRequired

public object VSwitches { get; set; }
  • Type: object

Property vSwitches: The ID of the vSwitch, eg: ["vsw-xzegf5dndkbf4m6eg****"].


ApiServerPublicEipOptional

public object ApiServerPublicEip { get; set; }
  • Type: object

Property apiServerPublicEip: Specifies whether to expose the API server to the Internet.

Valid values: true and false. Default value: false. If you do not set this parameter, the API server of clusters added to the ASM instance cannot be accessed from the Internet.


AuditProjectOptional

public object AuditProject { get; set; }
  • Type: object

Property auditProject: The name of the Log Service project that is used for mesh audit.

Default value: mesh-log-{meshId}.


CustomizedZipkinOptional

public object CustomizedZipkin { get; set; }
  • Type: object

Property customizedZipkin: Specifies whether to use a user-created Zipkin system.


EnableAuditOptional

public object EnableAudit { get; set; }
  • Type: object

Property enableAudit: Specifies whether to enable the mesh audit feature.

To enable this feature, make sure that you have activated Alibaba Cloud Log Service. Valid values: true and false. Default value: false.


IncludeIpRangesOptional

public object IncludeIpRanges { get; set; }
  • Type: object

Property includeIpRanges: The Classless Inter-Domain Routing (CIDR) block in the ASM instance that are denied to access external services.


IstioVersionOptional

public object IstioVersion { get; set; }
  • Type: object

Property istioVersion: The Istio version of the ASM instance.


LocalityLoadBalancingOptional

public object LocalityLoadBalancing { get; set; }
  • Type: object

Property localityLoadBalancing: Specifies whether to route traffic to the nearest instance.

Valid values: true and false. Default value: false.


NameOptional

public object Name { get; set; }
  • Type: object

Property name: The name of the ASM instance.


OpaOptional

public object Opa { get; set; }
  • Type: object

Property opa: OPA settings.


OutboundTrafficPolicyOptional

public object OutboundTrafficPolicy { get; set; }
  • Type: object

Property outboundTrafficPolicy: The outbound traffic policy of the ASM instance.


PilotPublicEipOptional

public object PilotPublicEip { get; set; }
  • Type: object

Property pilotPublicEip: Specifies whether to expose Istio Pilot to the Internet.

Valid values: true and false. Default value: false. If you do not set this parameter, only clusters in the same VPC as the ASM instance can access Istio Pilot of the instance.


ProxyOptional

public object Proxy { get; set; }
  • Type: object

Property proxy: Proxy settings.


TelemetryOptional

public object Telemetry { get; set; }
  • Type: object

Property telemetry: Specifies whether to enable Prometheus monitoring.

We recommend that you use Application Real-Time Monitoring Service (ARMS).


TraceSamplingOptional

public object TraceSampling { get; set; }
  • Type: object

Property traceSampling: The sampling percentage of tracing.


TracingOptional

public object Tracing { get; set; }
  • Type: object

Property tracing: Specifies whether to enable the tracing feature.

To enable this feature, make sure that you have activated Alibaba Cloud Tracing Analysis. Valid values: true and false. Default value: false.