opentelekomcloud 1.36.45 published on Friday, Aug 15, 2025 by opentelekomcloud
opentelekomcloud.getTmsTagsV1
Explore with Pulumi AI
opentelekomcloud 1.36.45 published on Friday, Aug 15, 2025 by opentelekomcloud
Use this data source to get the list of predefined tags within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const test = opentelekomcloud.getTmsTagsV1({});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
test = opentelekomcloud.get_tms_tags_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.LookupTmsTagsV1(ctx, &opentelekomcloud.LookupTmsTagsV1Args{}, 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 test = Opentelekomcloud.GetTmsTagsV1.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.GetTmsTagsV1Args;
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 test = OpentelekomcloudFunctions.getTmsTagsV1();
}
}
variables:
test:
fn::invoke:
function: opentelekomcloud:getTmsTagsV1
arguments: {}
Using getTmsTagsV1
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 getTmsTagsV1(args: GetTmsTagsV1Args, opts?: InvokeOptions): Promise<GetTmsTagsV1Result>
function getTmsTagsV1Output(args: GetTmsTagsV1OutputArgs, opts?: InvokeOptions): Output<GetTmsTagsV1Result>
def get_tms_tags_v1(id: Optional[str] = None,
key: Optional[str] = None,
value: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTmsTagsV1Result
def get_tms_tags_v1_output(id: Optional[pulumi.Input[str]] = None,
key: Optional[pulumi.Input[str]] = None,
value: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTmsTagsV1Result]
func LookupTmsTagsV1(ctx *Context, args *LookupTmsTagsV1Args, opts ...InvokeOption) (*LookupTmsTagsV1Result, error)
func LookupTmsTagsV1Output(ctx *Context, args *LookupTmsTagsV1OutputArgs, opts ...InvokeOption) LookupTmsTagsV1ResultOutput
> Note: This function is named LookupTmsTagsV1
in the Go SDK.
public static class GetTmsTagsV1
{
public static Task<GetTmsTagsV1Result> InvokeAsync(GetTmsTagsV1Args args, InvokeOptions? opts = null)
public static Output<GetTmsTagsV1Result> Invoke(GetTmsTagsV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTmsTagsV1Result> getTmsTagsV1(GetTmsTagsV1Args args, InvokeOptions options)
public static Output<GetTmsTagsV1Result> getTmsTagsV1(GetTmsTagsV1Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getTmsTagsV1:getTmsTagsV1
arguments:
# arguments dictionary
The following arguments are supported:
getTmsTagsV1 Result
The following output properties are available:
- Id string
- The data source ID.
- List<Get
Tms Tags V1Tag> - Indicates the list of tags.
- Key string
- Indicates the key of the tag.
- Value string
- Indicates the value of the tag.
- Id string
- The data source ID.
- []Get
Tms Tags V1Tag - Indicates the list of tags.
- Key string
- Indicates the key of the tag.
- Value string
- Indicates the value of the tag.
- id String
- The data source ID.
- List<Get
Tms Tags V1Tag> - Indicates the list of tags.
- key String
- Indicates the key of the tag.
- value String
- Indicates the value of the tag.
- id string
- The data source ID.
- Get
Tms Tags V1Tag[] - Indicates the list of tags.
- key string
- Indicates the key of the tag.
- value string
- Indicates the value of the tag.
- id str
- The data source ID.
- Sequence[Get
Tms Tags V1Tag] - Indicates the list of tags.
- key str
- Indicates the key of the tag.
- value str
- Indicates the value of the tag.
- id String
- The data source ID.
- List<Property Map>
- Indicates the list of tags.
- key String
- Indicates the key of the tag.
- value String
- Indicates the value of the tag.
Supporting Types
GetTmsTagsV1Tag
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.45 published on Friday, Aug 15, 2025 by opentelekomcloud