1. Packages
  2. Volcengine
  3. API Docs
  4. nlb
  5. getTags
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
volcengine logo
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine

    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?: InvokeOptions): Output<GetTagsResult>
    def get_tags(output_file: Optional[str] = None,
                 resource_ids: Optional[Sequence[str]] = None,
                 resource_type: Optional[str] = None,
                 tag_filters: Optional[Sequence[GetTagsTagFilter]] = None,
                 tag_type: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetTagsResult
    def get_tags_output(output_file: Optional[pulumi.Input[str]] = None,
                 resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 resource_type: Optional[pulumi.Input[str]] = None,
                 tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTagsTagFilterArgs]]]] = None,
                 tag_type: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = 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 CompletableFuture<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
    public static Output<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:nlb/getTags:getTags
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getTags Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceType string
    Tags List<GetTagsTag>
    TotalCount int
    OutputFile string
    ResourceIds List<string>
    TagFilters List<GetTagsTagFilter>
    TagType string
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceType string
    Tags []GetTagsTag
    TotalCount int
    OutputFile string
    ResourceIds []string
    TagFilters []GetTagsTagFilter
    TagType string
    id String
    The provider-assigned unique ID for this managed resource.
    resourceType String
    tags List<GetTagsTag>
    totalCount Integer
    outputFile String
    resourceIds List<String>
    tagFilters List<GetTagsTagFilter>
    tagType String
    id string
    The provider-assigned unique ID for this managed resource.
    resourceType string
    tags GetTagsTag[]
    totalCount number
    outputFile string
    resourceIds string[]
    tagFilters GetTagsTagFilter[]
    tagType string
    id str
    The provider-assigned unique ID for this managed resource.
    resource_type str
    tags Sequence[GetTagsTag]
    total_count int
    output_file str
    resource_ids Sequence[str]
    tag_filters Sequence[GetTagsTagFilter]
    tag_type str
    id String
    The provider-assigned unique ID for this managed resource.
    resourceType String
    tags List<Property Map>
    totalCount Number
    outputFile String
    resourceIds List<String>
    tagFilters List<Property Map>
    tagType String

    Supporting Types

    GetTagsTag

    Key string
    The key of the tag.
    ResourceId string
    The id of the resource.
    ResourceType string
    The type of the resource.
    Value string
    The value of the tag.
    Key string
    The key of the tag.
    ResourceId string
    The id of the resource.
    ResourceType string
    The type of the resource.
    Value string
    The value of the tag.
    key String
    The key of the tag.
    resourceId String
    The id of the resource.
    resourceType String
    The type of the resource.
    value String
    The value of the tag.
    key string
    The key of the tag.
    resourceId string
    The id of the resource.
    resourceType string
    The type of the resource.
    value string
    The value of the tag.
    key str
    The key of the tag.
    resource_id str
    The id of the resource.
    resource_type str
    The type of the resource.
    value str
    The value of the tag.
    key String
    The key of the tag.
    resourceId String
    The id of the resource.
    resourceType String
    The type of the resource.
    value String
    The value of the tag.

    GetTagsTagFilter

    Key string
    The key of the tag.
    Values List<string>
    The values of the tag.
    Key string
    The key of the tag.
    Values []string
    The values of the tag.
    key String
    The key of the tag.
    values List<String>
    The values of the tag.
    key string
    The key of the tag.
    values string[]
    The values of the tag.
    key str
    The key of the tag.
    values Sequence[str]
    The values of the tag.
    key String
    The key of the tag.
    values List<String>
    The values of the tag.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Viewing docs for Volcengine v0.0.47
    published on Friday, Mar 13, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.