1. Registry
  2. Packages
  3. UpCloud
  4. API Docs
  5. getTags
Viewing docs for UpCloud v0.24.1
published on Tuesday, Nov 10, 2026 by UpCloudLtd
upcloud logo UpCloud
Viewing docs for UpCloud v0.24.1
published on Tuesday, Nov 10, 2026 by UpCloudLtd

    Consider using labels instead of tags. Tags are an access control feature and only available for a limited set of resources. Use labels to describe and filter your resources.

    List tags configured in the current account.

    Using getTags

    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 getTags(args: GetTagsArgs, opts?: InvokeOptions): Promise<GetTagsResult>
    function getTagsOutput(args: GetTagsOutputArgs, opts?: InvokeOutputOptions): Output<GetTagsResult>
    def get_tags(tags: Optional[Sequence[GetTagsTag]] = None,
                 opts: Optional[InvokeOptions] = None) -> GetTagsResult
    def get_tags_output(tags: pulumi.Input[Optional[Sequence[pulumi.Input[GetTagsTagArgs]]]] = None,
                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetTagsResult]
    func GetTags(ctx *Context, args *GetTagsArgs, opts ...InvokeOption) (*GetTagsResult, error)
    func GetTagsOutput(ctx *Context, args *GetTagsOutputArgs, opts ...InvokeOption) GetTagsResultOutput

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

    public static class GetTags 
    {
        public static Task<GetTagsResult> InvokeAsync(GetTagsArgs args, InvokeOptions? opts = null)
        public static Output<GetTagsResult> Invoke(GetTagsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTagsResult> Invoke(GetTagsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
    public static Output<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
    public static Output<GetTagsResult> getTags(GetTagsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: upcloud:index/getTags:getTags
      arguments:
        # arguments dictionary
    data "upcloud_get_tags" "name" {
        # arguments
    }

    The following arguments are supported:

    getTags Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Tags []GetTagsTag
    id string
    The ID of this resource.
    tags list(object)
    id String
    The ID of this resource.
    tags List<GetTagsTag>
    id string
    The ID of this resource.
    tags GetTagsTag[]
    id str
    The ID of this resource.
    tags Sequence[GetTagsTag]
    id String
    The ID of this resource.
    tags List<Property Map>

    Supporting Types

    GetTagsTag

    Description string
    Free form text representing the meaning of the tag.
    Name string
    The name of the tag.
    Servers List<string>
    A collection of servers that have been assigned the tag.
    Description string
    Free form text representing the meaning of the tag.
    Name string
    The name of the tag.
    Servers []string
    A collection of servers that have been assigned the tag.
    description string
    Free form text representing the meaning of the tag.
    name string
    The name of the tag.
    servers list(string)
    A collection of servers that have been assigned the tag.
    description String
    Free form text representing the meaning of the tag.
    name String
    The name of the tag.
    servers List<String>
    A collection of servers that have been assigned the tag.
    description string
    Free form text representing the meaning of the tag.
    name string
    The name of the tag.
    servers string[]
    A collection of servers that have been assigned the tag.
    description str
    Free form text representing the meaning of the tag.
    name str
    The name of the tag.
    servers Sequence[str]
    A collection of servers that have been assigned the tag.
    description String
    Free form text representing the meaning of the tag.
    name String
    The name of the tag.
    servers List<String>
    A collection of servers that have been assigned the tag.

    Package Details

    Repository
    upcloud UpCloudLtd/pulumi-upcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the upcloud Terraform Provider.
    upcloud logo UpCloud
    Viewing docs for UpCloud v0.24.1
    published on Tuesday, Nov 10, 2026 by UpCloudLtd

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial