1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getRmsResourceTagsV1
opentelekomcloud 1.36.47 published on Thursday, Sep 4, 2025 by opentelekomcloud

opentelekomcloud.getRmsResourceTagsV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.47 published on Thursday, Sep 4, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for RMS resource tags you can get at documentation portal

    Manages an RMS resource tags data source, used to query all resource tags under your account, within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const test = opentelekomcloud.getRmsResourceTagsV1({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    test = opentelekomcloud.get_rms_resource_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.GetRmsResourceTagsV1(ctx, &opentelekomcloud.GetRmsResourceTagsV1Args{}, 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.GetRmsResourceTagsV1.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.GetRmsResourceTagsV1Args;
    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.getRmsResourceTagsV1();
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getRmsResourceTagsV1
          arguments: {}
    

    Using getRmsResourceTagsV1

    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 getRmsResourceTagsV1(args: GetRmsResourceTagsV1Args, opts?: InvokeOptions): Promise<GetRmsResourceTagsV1Result>
    function getRmsResourceTagsV1Output(args: GetRmsResourceTagsV1OutputArgs, opts?: InvokeOptions): Output<GetRmsResourceTagsV1Result>
    def get_rms_resource_tags_v1(id: Optional[str] = None,
                                 key: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetRmsResourceTagsV1Result
    def get_rms_resource_tags_v1_output(id: Optional[pulumi.Input[str]] = None,
                                 key: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetRmsResourceTagsV1Result]
    func GetRmsResourceTagsV1(ctx *Context, args *GetRmsResourceTagsV1Args, opts ...InvokeOption) (*GetRmsResourceTagsV1Result, error)
    func GetRmsResourceTagsV1Output(ctx *Context, args *GetRmsResourceTagsV1OutputArgs, opts ...InvokeOption) GetRmsResourceTagsV1ResultOutput

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

    public static class GetRmsResourceTagsV1 
    {
        public static Task<GetRmsResourceTagsV1Result> InvokeAsync(GetRmsResourceTagsV1Args args, InvokeOptions? opts = null)
        public static Output<GetRmsResourceTagsV1Result> Invoke(GetRmsResourceTagsV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRmsResourceTagsV1Result> getRmsResourceTagsV1(GetRmsResourceTagsV1Args args, InvokeOptions options)
    public static Output<GetRmsResourceTagsV1Result> getRmsResourceTagsV1(GetRmsResourceTagsV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getRmsResourceTagsV1:getRmsResourceTagsV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Key string
    Specifies the name of the tag key. Maximum length: 128.
    Id string
    Key string
    Specifies the name of the tag key. Maximum length: 128.
    id String
    key String
    Specifies the name of the tag key. Maximum length: 128.
    id string
    key string
    Specifies the name of the tag key. Maximum length: 128.
    id str
    key str
    Specifies the name of the tag key. Maximum length: 128.
    id String
    key String
    Specifies the name of the tag key. Maximum length: 128.

    getRmsResourceTagsV1 Result

    The following output properties are available:

    Id string
    Tags List<GetRmsResourceTagsV1Tag>
    Specifies the list of tags. The structure is documented below:
    Key string
    Specifies the tag key.
    Id string
    Tags []GetRmsResourceTagsV1Tag
    Specifies the list of tags. The structure is documented below:
    Key string
    Specifies the tag key.
    id String
    tags List<GetRmsResourceTagsV1Tag>
    Specifies the list of tags. The structure is documented below:
    key String
    Specifies the tag key.
    id string
    tags GetRmsResourceTagsV1Tag[]
    Specifies the list of tags. The structure is documented below:
    key string
    Specifies the tag key.
    id str
    tags Sequence[GetRmsResourceTagsV1Tag]
    Specifies the list of tags. The structure is documented below:
    key str
    Specifies the tag key.
    id String
    tags List<Property Map>
    Specifies the list of tags. The structure is documented below:
    key String
    Specifies the tag key.

    Supporting Types

    GetRmsResourceTagsV1Tag

    Key string
    Specifies the name of the tag key. Maximum length: 128.
    Values List<string>
    Specifies the tag values.
    Key string
    Specifies the name of the tag key. Maximum length: 128.
    Values []string
    Specifies the tag values.
    key String
    Specifies the name of the tag key. Maximum length: 128.
    values List<String>
    Specifies the tag values.
    key string
    Specifies the name of the tag key. Maximum length: 128.
    values string[]
    Specifies the tag values.
    key str
    Specifies the name of the tag key. Maximum length: 128.
    values Sequence[str]
    Specifies the tag values.
    key String
    Specifies the name of the tag key. Maximum length: 128.
    values List<String>
    Specifies the tag values.

    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.47 published on Thursday, Sep 4, 2025 by opentelekomcloud