opentelekomcloud 1.36.48 published on Thursday, Sep 18, 2025 by opentelekomcloud
opentelekomcloud.getAsmServiceMeshV1
Explore with Pulumi AI
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:
- Service
Meshes List<GetAsm Service Mesh V1Service Mesh> - The service mesh list. The structure is documented below:
- Id string
- Service
Meshes []GetAsm Service Mesh V1Service Mesh - The service mesh list. The structure is documented below:
- Id string
- service
Meshes List<GetAsm Service Mesh V1Service Mesh> - The service mesh list. The structure is documented below:
- id String
- service
Meshes GetAsm Service Mesh V1Service Mesh[] - The service mesh list. The structure is documented below:
- id string
- service_
meshes Sequence[GetAsm Service Mesh V1Service Mesh] - The service mesh list. The structure is documented below:
- id str
- service
Meshes List<Property Map> - The service mesh list. The structure is documented below:
- id String
Supporting Types
GetAsmServiceMeshV1ServiceMesh
- Cluster
Ids List<string> - Indicates the cluster id of CCE clusters associated with service mesh.
- Creation
Timestamp 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.
- Proxy
Configs List<GetAsm Service Mesh V1Service Mesh Proxy Config> - 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
. - Telemetry
Config List<GetTracings Asm Service Mesh V1Service Mesh Telemetry Config Tracing> - 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 []string - Indicates the cluster id of CCE clusters associated with service mesh.
- Creation
Timestamp 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.
- Proxy
Configs []GetAsm Service Mesh V1Service Mesh Proxy Config - 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
. - Telemetry
Config []GetTracings Asm Service Mesh V1Service Mesh Telemetry Config Tracing - 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 List<String> - Indicates the cluster id of CCE clusters associated with service mesh.
- creation
Timestamp 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.
- proxy
Configs List<GetAsm Service Mesh V1Service Mesh Proxy Config> - 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
. - telemetry
Config List<GetTracings Asm Service Mesh V1Service Mesh Telemetry Config Tracing> - 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 string[] - Indicates the cluster id of CCE clusters associated with service mesh.
- creation
Timestamp 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.
- proxy
Configs GetAsm Service Mesh V1Service Mesh Proxy Config[] - 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
. - telemetry
Config GetTracings Asm Service Mesh V1Service Mesh Telemetry Config Tracing[] - 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[GetAsm Service Mesh V1Service Mesh Proxy Config] - 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_ Sequence[Gettracings Asm Service Mesh V1Service Mesh Telemetry Config Tracing] - 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.
- cluster
Ids List<String> - Indicates the cluster id of CCE clusters associated with service mesh.
- creation
Timestamp 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.
- proxy
Configs 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
. - telemetry
Config List<Property Map>Tracings - 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
- Exclude
Inbound stringPorts - Indicates the ports that will be excluded for inbound traffic redirection.
- Exclude
Ip stringRanges - Indicates the IP address ranges that will be excluded for outbound traffic redirection.
- Exclude
Outbound stringPorts - Indicates the ports that will be excluded for outbound traffic redirection.
- Include
Inbound stringPorts - Indicates the Ports that will be included for inbound traffic redirection.
- Include
Ip stringRanges - Indicates the IP address ranges that will be included for outbound traffic redirection.
- Include
Outbound stringPorts - Indicates the ports that will be included for outbound traffic redirection.
- Exclude
Inbound stringPorts - Indicates the ports that will be excluded for inbound traffic redirection.
- Exclude
Ip stringRanges - Indicates the IP address ranges that will be excluded for outbound traffic redirection.
- Exclude
Outbound stringPorts - Indicates the ports that will be excluded for outbound traffic redirection.
- Include
Inbound stringPorts - Indicates the Ports that will be included for inbound traffic redirection.
- Include
Ip stringRanges - Indicates the IP address ranges that will be included for outbound traffic redirection.
- Include
Outbound stringPorts - Indicates the ports that will be included for outbound traffic redirection.
- exclude
Inbound StringPorts - Indicates the ports that will be excluded for inbound traffic redirection.
- exclude
Ip StringRanges - Indicates the IP address ranges that will be excluded for outbound traffic redirection.
- exclude
Outbound StringPorts - Indicates the ports that will be excluded for outbound traffic redirection.
- include
Inbound StringPorts - Indicates the Ports that will be included for inbound traffic redirection.
- include
Ip StringRanges - Indicates the IP address ranges that will be included for outbound traffic redirection.
- include
Outbound StringPorts - Indicates the ports that will be included for outbound traffic redirection.
- exclude
Inbound stringPorts - Indicates the ports that will be excluded for inbound traffic redirection.
- exclude
Ip stringRanges - Indicates the IP address ranges that will be excluded for outbound traffic redirection.
- exclude
Outbound stringPorts - Indicates the ports that will be excluded for outbound traffic redirection.
- include
Inbound stringPorts - Indicates the Ports that will be included for inbound traffic redirection.
- include
Ip stringRanges - Indicates the IP address ranges that will be included for outbound traffic redirection.
- include
Outbound stringPorts - Indicates the ports that will be included for outbound traffic redirection.
- exclude_
inbound_ strports - Indicates the ports that will be excluded for inbound traffic redirection.
- exclude_
ip_ strranges - Indicates the IP address ranges that will be excluded for outbound traffic redirection.
- exclude_
outbound_ strports - Indicates the ports that will be excluded for outbound traffic redirection.
- include_
inbound_ strports - Indicates the Ports that will be included for inbound traffic redirection.
- include_
ip_ strranges - Indicates the IP address ranges that will be included for outbound traffic redirection.
- include_
outbound_ strports - Indicates the ports that will be included for outbound traffic redirection.
- exclude
Inbound StringPorts - Indicates the ports that will be excluded for inbound traffic redirection.
- exclude
Ip StringRanges - Indicates the IP address ranges that will be excluded for outbound traffic redirection.
- exclude
Outbound StringPorts - Indicates the ports that will be excluded for outbound traffic redirection.
- include
Inbound StringPorts - Indicates the Ports that will be included for inbound traffic redirection.
- include
Ip StringRanges - Indicates the IP address ranges that will be included for outbound traffic redirection.
- include
Outbound StringPorts - Indicates the ports that will be included for outbound traffic redirection.
GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracing
- Default
Providers List<string> - Indicates the name of the default provider that tracing reports data to.
- Extension
Providers List<GetAsm Service Mesh V1Service Mesh Telemetry Config Tracing Extension Provider> - Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
- Random
Sampling doublePercentage - Indicates the tracing sampling rate.
- Default
Providers []string - Indicates the name of the default provider that tracing reports data to.
- Extension
Providers []GetAsm Service Mesh V1Service Mesh Telemetry Config Tracing Extension Provider - Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
- Random
Sampling float64Percentage - Indicates the tracing sampling rate.
- default
Providers List<String> - Indicates the name of the default provider that tracing reports data to.
- extension
Providers List<GetAsm Service Mesh V1Service Mesh Telemetry Config Tracing Extension Provider> - Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
- random
Sampling DoublePercentage - Indicates the tracing sampling rate.
- default
Providers string[] - Indicates the name of the default provider that tracing reports data to.
- extension
Providers GetAsm Service Mesh V1Service Mesh Telemetry Config Tracing Extension Provider[] - Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
- random
Sampling numberPercentage - Indicates the tracing sampling rate.
- default_
providers Sequence[str] - Indicates the name of the default provider that tracing reports data to.
- extension_
providers Sequence[GetAsm Service Mesh V1Service Mesh Telemetry Config Tracing Extension Provider] - Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
- random_
sampling_ floatpercentage - Indicates the tracing sampling rate.
- default
Providers List<String> - Indicates the name of the default provider that tracing reports data to.
- extension
Providers List<Property Map> - Indicates the user-defined provider. Currently, Zipkin is supported.The structure is documented below:
- random
Sampling NumberPercentage - Indicates the tracing sampling rate.
GetAsmServiceMeshV1ServiceMeshTelemetryConfigTracingExtensionProvider
- Name string
- Indicates the provider name.
- Zipkin
Service stringAddr - Indicates the service address of Zipkin.
- Zipkin
Service doublePort - Indicates the service port of Zipkin.
- Name string
- Indicates the provider name.
- Zipkin
Service stringAddr - Indicates the service address of Zipkin.
- Zipkin
Service float64Port - Indicates the service port of Zipkin.
- name String
- Indicates the provider name.
- zipkin
Service StringAddr - Indicates the service address of Zipkin.
- zipkin
Service DoublePort - Indicates the service port of Zipkin.
- name string
- Indicates the provider name.
- zipkin
Service stringAddr - Indicates the service address of Zipkin.
- zipkin
Service numberPort - Indicates the service port of Zipkin.
- name str
- Indicates the provider name.
- zipkin_
service_ straddr - Indicates the service address of Zipkin.
- zipkin_
service_ floatport - Indicates the service port of Zipkin.
- name String
- Indicates the provider name.
- zipkin
Service StringAddr - Indicates the service address of Zipkin.
- zipkin
Service NumberPort - 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 1.36.48 published on Thursday, Sep 18, 2025 by opentelekomcloud