1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getAsmServiceMeshV1
opentelekomcloud 1.36.48 published on Thursday, Sep 18, 2025 by opentelekomcloud

opentelekomcloud.getAsmServiceMeshV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.48 published on Thursday, Sep 18, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for ASM service mesh you can get at documentation portal

    Manages an ASM Service Mesh v1 data source within OpenTelekomCloud.

    Example Usage

    List all ASM service meshes

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const mesh1 = opentelekomcloud.getAsmServiceMeshV1({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    mesh1 = opentelekomcloud.get_asm_service_mesh_v1()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.LookupAsmServiceMeshV1(ctx, &opentelekomcloud.LookupAsmServiceMeshV1Args{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var mesh1 = Opentelekomcloud.GetAsmServiceMeshV1.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetAsmServiceMeshV1Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var mesh1 = OpentelekomcloudFunctions.getAsmServiceMeshV1();
    
        }
    }
    
    variables:
      mesh1:
        fn::invoke:
          function: opentelekomcloud:getAsmServiceMeshV1
          arguments: {}
    

    Get ASM service mesh using ID

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const meshId = config.requireObject("meshId");
    const mesh1 = opentelekomcloud.getAsmServiceMeshV1({
        id: meshId,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    mesh_id = config.require_object("meshId")
    mesh1 = opentelekomcloud.get_asm_service_mesh_v1(id=mesh_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		meshId := cfg.RequireObject("meshId")
    		_, err := opentelekomcloud.LookupAsmServiceMeshV1(ctx, &opentelekomcloud.LookupAsmServiceMeshV1Args{
    			Id: pulumi.StringRef(meshId),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var meshId = config.RequireObject<dynamic>("meshId");
        var mesh1 = Opentelekomcloud.GetAsmServiceMeshV1.Invoke(new()
        {
            Id = meshId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetAsmServiceMeshV1Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var meshId = config.get("meshId");
            final var mesh1 = OpentelekomcloudFunctions.getAsmServiceMeshV1(GetAsmServiceMeshV1Args.builder()
                .id(meshId)
                .build());
    
        }
    }
    
    configuration:
      meshId:
        type: dynamic
    variables:
      mesh1:
        fn::invoke:
          function: opentelekomcloud:getAsmServiceMeshV1
          arguments:
            id: ${meshId}
    

    Using getAsmServiceMeshV1

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAsmServiceMeshV1(args: GetAsmServiceMeshV1Args, opts?: InvokeOptions): Promise<GetAsmServiceMeshV1Result>
    function getAsmServiceMeshV1Output(args: GetAsmServiceMeshV1OutputArgs, opts?: InvokeOptions): Output<GetAsmServiceMeshV1Result>
    def get_asm_service_mesh_v1(id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetAsmServiceMeshV1Result
    def get_asm_service_mesh_v1_output(id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetAsmServiceMeshV1Result]
    func LookupAsmServiceMeshV1(ctx *Context, args *LookupAsmServiceMeshV1Args, opts ...InvokeOption) (*LookupAsmServiceMeshV1Result, error)
    func LookupAsmServiceMeshV1Output(ctx *Context, args *LookupAsmServiceMeshV1OutputArgs, opts ...InvokeOption) LookupAsmServiceMeshV1ResultOutput

    > Note: This function is named LookupAsmServiceMeshV1 in the Go SDK.

    public static class GetAsmServiceMeshV1 
    {
        public static Task<GetAsmServiceMeshV1Result> InvokeAsync(GetAsmServiceMeshV1Args args, InvokeOptions? opts = null)
        public static Output<GetAsmServiceMeshV1Result> Invoke(GetAsmServiceMeshV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAsmServiceMeshV1Result> getAsmServiceMeshV1(GetAsmServiceMeshV1Args args, InvokeOptions options)
    public static Output<GetAsmServiceMeshV1Result> getAsmServiceMeshV1(GetAsmServiceMeshV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getAsmServiceMeshV1:getAsmServiceMeshV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Specifies the service mesh ID.
    Id string
    Specifies the service mesh ID.
    id String
    Specifies the service mesh ID.
    id string
    Specifies the service mesh ID.
    id str
    Specifies the service mesh ID.
    id String
    Specifies the service mesh ID.

    getAsmServiceMeshV1 Result

    The following output properties are available:

    ServiceMeshes List<GetAsmServiceMeshV1ServiceMesh>
    The service mesh list. The structure is documented below:
    Id string
    ServiceMeshes []GetAsmServiceMeshV1ServiceMesh
    The service mesh list. The structure is documented below:
    Id string
    serviceMeshes List<GetAsmServiceMeshV1ServiceMesh>
    The service mesh list. The structure is documented below:
    id String
    serviceMeshes GetAsmServiceMeshV1ServiceMesh[]
    The service mesh list. The structure is documented below:
    id string
    service_meshes Sequence[GetAsmServiceMeshV1ServiceMesh]
    The service mesh list. The structure is documented below:
    id str
    serviceMeshes List<Property Map>
    The service mesh list. The structure is documented below:
    id String

    Supporting Types

    GetAsmServiceMeshV1ServiceMesh

    ClusterIds List<string>
    Indicates the cluster id of CCE clusters associated with service mesh.
    CreationTimestamp string
    Indicates the time when the service mesh was created..
    Id string
    Specifies the service mesh ID.
    Ipv6Enable bool
    Indicates whether the service mesh supports IPv6.
    Name string
    Indicates the provider name.
    ProxyConfigs List<GetAsmServiceMeshV1ServiceMeshProxyConfig>
    Indicates the data plane configuration of the service mesh. The structure is documented below.
    Status string
    Indicates the service mesh status. The value can be: Running, Creating, CreateFailed, Deleting, DeleteFailed, Upgrading, UpgradeFailed, RollingBack, RollbackFailed.
    TelemetryConfigTracings List<GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracing>
    Indicates the observability/tracing configuration, which is used to report traces in the service mesh. The structure is documented below.
    Type string
    Indicates the service mesh type.
    Version string
    Indicates the service mesh version.
    ClusterIds []string
    Indicates the cluster id of CCE clusters associated with service mesh.
    CreationTimestamp string
    Indicates the time when the service mesh was created..
    Id string
    Specifies the service mesh ID.
    Ipv6Enable bool
    Indicates whether the service mesh supports IPv6.
    Name string
    Indicates the provider name.
    ProxyConfigs []GetAsmServiceMeshV1ServiceMeshProxyConfig
    Indicates the data plane configuration of the service mesh. The structure is documented below.
    Status string
    Indicates the service mesh status. The value can be: Running, Creating, CreateFailed, Deleting, DeleteFailed, Upgrading, UpgradeFailed, RollingBack, RollbackFailed.
    TelemetryConfigTracings []GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracing
    Indicates the observability/tracing configuration, which is used to report traces in the service mesh. The structure is documented below.
    Type string
    Indicates the service mesh type.
    Version string
    Indicates the service mesh version.
    clusterIds List<String>
    Indicates the cluster id of CCE clusters associated with service mesh.
    creationTimestamp String
    Indicates the time when the service mesh was created..
    id String
    Specifies the service mesh ID.
    ipv6Enable Boolean
    Indicates whether the service mesh supports IPv6.
    name String
    Indicates the provider name.
    proxyConfigs List<GetAsmServiceMeshV1ServiceMeshProxyConfig>
    Indicates the data plane configuration of the service mesh. The structure is documented below.
    status String
    Indicates the service mesh status. The value can be: Running, Creating, CreateFailed, Deleting, DeleteFailed, Upgrading, UpgradeFailed, RollingBack, RollbackFailed.
    telemetryConfigTracings List<GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracing>
    Indicates the observability/tracing configuration, which is used to report traces in the service mesh. The structure is documented below.
    type String
    Indicates the service mesh type.
    version String
    Indicates the service mesh version.
    clusterIds string[]
    Indicates the cluster id of CCE clusters associated with service mesh.
    creationTimestamp string
    Indicates the time when the service mesh was created..
    id string
    Specifies the service mesh ID.
    ipv6Enable boolean
    Indicates whether the service mesh supports IPv6.
    name string
    Indicates the provider name.
    proxyConfigs GetAsmServiceMeshV1ServiceMeshProxyConfig[]
    Indicates the data plane configuration of the service mesh. The structure is documented below.
    status string
    Indicates the service mesh status. The value can be: Running, Creating, CreateFailed, Deleting, DeleteFailed, Upgrading, UpgradeFailed, RollingBack, RollbackFailed.
    telemetryConfigTracings GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracing[]
    Indicates the observability/tracing configuration, which is used to report traces in the service mesh. The structure is documented below.
    type string
    Indicates the service mesh type.
    version string
    Indicates the service mesh version.
    cluster_ids Sequence[str]
    Indicates the cluster id of CCE clusters associated with service mesh.
    creation_timestamp str
    Indicates the time when the service mesh was created..
    id str
    Specifies the service mesh ID.
    ipv6_enable bool
    Indicates whether the service mesh supports IPv6.
    name str
    Indicates the provider name.
    proxy_configs Sequence[GetAsmServiceMeshV1ServiceMeshProxyConfig]
    Indicates the data plane configuration of the service mesh. The structure is documented below.
    status str
    Indicates the service mesh status. The value can be: Running, Creating, CreateFailed, Deleting, DeleteFailed, Upgrading, UpgradeFailed, RollingBack, RollbackFailed.
    telemetry_config_tracings Sequence[GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracing]
    Indicates the observability/tracing configuration, which is used to report traces in the service mesh. The structure is documented below.
    type str
    Indicates the service mesh type.
    version str
    Indicates the service mesh version.
    clusterIds List<String>
    Indicates the cluster id of CCE clusters associated with service mesh.
    creationTimestamp String
    Indicates the time when the service mesh was created..
    id String
    Specifies the service mesh ID.
    ipv6Enable Boolean
    Indicates whether the service mesh supports IPv6.
    name String
    Indicates the provider name.
    proxyConfigs List<Property Map>
    Indicates the data plane configuration of the service mesh. The structure is documented below.
    status String
    Indicates the service mesh status. The value can be: Running, Creating, CreateFailed, Deleting, DeleteFailed, Upgrading, UpgradeFailed, RollingBack, RollbackFailed.
    telemetryConfigTracings List<Property Map>
    Indicates the observability/tracing configuration, which is used to report traces in the service mesh. The structure is documented below.
    type String
    Indicates the service mesh type.
    version String
    Indicates the service mesh version.

    GetAsmServiceMeshV1ServiceMeshProxyConfig

    ExcludeInboundPorts string
    Indicates the ports that will be excluded for inbound traffic redirection.
    ExcludeIpRanges string
    Indicates the IP address ranges that will be excluded for outbound traffic redirection.
    ExcludeOutboundPorts string
    Indicates the ports that will be excluded for outbound traffic redirection.
    IncludeInboundPorts string
    Indicates the Ports that will be included for inbound traffic redirection.
    IncludeIpRanges string
    Indicates the IP address ranges that will be included for outbound traffic redirection.
    IncludeOutboundPorts string
    Indicates the ports that will be included for outbound traffic redirection.
    ExcludeInboundPorts string
    Indicates the ports that will be excluded for inbound traffic redirection.
    ExcludeIpRanges string
    Indicates the IP address ranges that will be excluded for outbound traffic redirection.
    ExcludeOutboundPorts string
    Indicates the ports that will be excluded for outbound traffic redirection.
    IncludeInboundPorts string
    Indicates the Ports that will be included for inbound traffic redirection.
    IncludeIpRanges string
    Indicates the IP address ranges that will be included for outbound traffic redirection.
    IncludeOutboundPorts string
    Indicates the ports that will be included for outbound traffic redirection.
    excludeInboundPorts String
    Indicates the ports that will be excluded for inbound traffic redirection.
    excludeIpRanges String
    Indicates the IP address ranges that will be excluded for outbound traffic redirection.
    excludeOutboundPorts String
    Indicates the ports that will be excluded for outbound traffic redirection.
    includeInboundPorts String
    Indicates the Ports that will be included for inbound traffic redirection.
    includeIpRanges String
    Indicates the IP address ranges that will be included for outbound traffic redirection.
    includeOutboundPorts String
    Indicates the ports that will be included for outbound traffic redirection.
    excludeInboundPorts string
    Indicates the ports that will be excluded for inbound traffic redirection.
    excludeIpRanges string
    Indicates the IP address ranges that will be excluded for outbound traffic redirection.
    excludeOutboundPorts string
    Indicates the ports that will be excluded for outbound traffic redirection.
    includeInboundPorts string
    Indicates the Ports that will be included for inbound traffic redirection.
    includeIpRanges string
    Indicates the IP address ranges that will be included for outbound traffic redirection.
    includeOutboundPorts string
    Indicates the ports that will be included for outbound traffic redirection.
    exclude_inbound_ports str
    Indicates the ports that will be excluded for inbound traffic redirection.
    exclude_ip_ranges str
    Indicates the IP address ranges that will be excluded for outbound traffic redirection.
    exclude_outbound_ports str
    Indicates the ports that will be excluded for outbound traffic redirection.
    include_inbound_ports str
    Indicates the Ports that will be included for inbound traffic redirection.
    include_ip_ranges str
    Indicates the IP address ranges that will be included for outbound traffic redirection.
    include_outbound_ports str
    Indicates the ports that will be included for outbound traffic redirection.
    excludeInboundPorts String
    Indicates the ports that will be excluded for inbound traffic redirection.
    excludeIpRanges String
    Indicates the IP address ranges that will be excluded for outbound traffic redirection.
    excludeOutboundPorts String
    Indicates the ports that will be excluded for outbound traffic redirection.
    includeInboundPorts String
    Indicates the Ports that will be included for inbound traffic redirection.
    includeIpRanges String
    Indicates the IP address ranges that will be included for outbound traffic redirection.
    includeOutboundPorts String
    Indicates the ports that will be included for outbound traffic redirection.

    GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracing

    DefaultProviders List<string>
    Indicates the name of the default provider that tracing reports data to.
    ExtensionProviders List<GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracingExtensionProvider>
    Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
    RandomSamplingPercentage double
    Indicates the tracing sampling rate.
    DefaultProviders []string
    Indicates the name of the default provider that tracing reports data to.
    ExtensionProviders []GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracingExtensionProvider
    Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
    RandomSamplingPercentage float64
    Indicates the tracing sampling rate.
    defaultProviders List<String>
    Indicates the name of the default provider that tracing reports data to.
    extensionProviders List<GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracingExtensionProvider>
    Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
    randomSamplingPercentage Double
    Indicates the tracing sampling rate.
    defaultProviders string[]
    Indicates the name of the default provider that tracing reports data to.
    extensionProviders GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracingExtensionProvider[]
    Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
    randomSamplingPercentage number
    Indicates the tracing sampling rate.
    default_providers Sequence[str]
    Indicates the name of the default provider that tracing reports data to.
    extension_providers Sequence[GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracingExtensionProvider]
    Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
    random_sampling_percentage float
    Indicates the tracing sampling rate.
    defaultProviders List<String>
    Indicates the name of the default provider that tracing reports data to.
    extensionProviders List<Property Map>
    Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
    randomSamplingPercentage Number
    Indicates the tracing sampling rate.

    GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracingExtensionProvider

    Name string
    Indicates the provider name.
    ZipkinServiceAddr string
    Indicates the service address of Zipkin.
    ZipkinServicePort double
    Indicates the service port of Zipkin.
    Name string
    Indicates the provider name.
    ZipkinServiceAddr string
    Indicates the service address of Zipkin.
    ZipkinServicePort float64
    Indicates the service port of Zipkin.
    name String
    Indicates the provider name.
    zipkinServiceAddr String
    Indicates the service address of Zipkin.
    zipkinServicePort Double
    Indicates the service port of Zipkin.
    name string
    Indicates the provider name.
    zipkinServiceAddr string
    Indicates the service address of Zipkin.
    zipkinServicePort number
    Indicates the service port of Zipkin.
    name str
    Indicates the provider name.
    zipkin_service_addr str
    Indicates the service address of Zipkin.
    zipkin_service_port float
    Indicates the service port of Zipkin.
    name String
    Indicates the provider name.
    zipkinServiceAddr String
    Indicates the service address of Zipkin.
    zipkinServicePort Number
    Indicates the service port of Zipkin.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.48 published on Thursday, Sep 18, 2025 by opentelekomcloud