1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getTagList
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    Retrieves a listing of config items.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    // Fetch a list of all application objects.
    // This data source will call the "List" API endpoint.
    const allTags = scm.getTagList({
        folder: "All",
    });
    export const tagsListRaw = allTags.then(allTags => allTags.datas);
    
    import pulumi
    import pulumi_scm as scm
    
    # Fetch a list of all application objects.
    # This data source will call the "List" API endpoint.
    all_tags = scm.get_tag_list(folder="All")
    pulumi.export("tagsListRaw", all_tags.datas)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Fetch a list of all application objects.
    		// This data source will call the "List" API endpoint.
    		allTags, err := scm.GetTagList(ctx, &scm.GetTagListArgs{
    			Folder: pulumi.StringRef("All"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("tagsListRaw", allTags.Datas)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // Fetch a list of all application objects.
        // This data source will call the "List" API endpoint.
        var allTags = Scm.GetTagList.Invoke(new()
        {
            Folder = "All",
        });
    
        return new Dictionary<string, object?>
        {
            ["tagsListRaw"] = allTags.Apply(getTagListResult => getTagListResult.Datas),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetTagListArgs;
    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) {
            // Fetch a list of all application objects.
            // This data source will call the "List" API endpoint.
            final var allTags = ScmFunctions.getTagList(GetTagListArgs.builder()
                .folder("All")
                .build());
    
            ctx.export("tagsListRaw", allTags.datas());
        }
    }
    
    variables:
      # Fetch a list of all application objects.
      # This data source will call the "List" API endpoint.
      allTags:
        fn::invoke:
          function: scm:getTagList
          arguments:
            folder: All
    outputs:
      # Output the raw list of all application objects
      tagsListRaw: ${allTags.datas}
    

    Using getTagList

    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 getTagList(args: GetTagListArgs, opts?: InvokeOptions): Promise<GetTagListResult>
    function getTagListOutput(args: GetTagListOutputArgs, opts?: InvokeOptions): Output<GetTagListResult>
    def get_tag_list(device: Optional[str] = None,
                     folder: Optional[str] = None,
                     limit: Optional[int] = None,
                     name: Optional[str] = None,
                     offset: Optional[int] = None,
                     snippet: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetTagListResult
    def get_tag_list_output(device: Optional[pulumi.Input[str]] = None,
                     folder: Optional[pulumi.Input[str]] = None,
                     limit: Optional[pulumi.Input[int]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     offset: Optional[pulumi.Input[int]] = None,
                     snippet: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetTagListResult]
    func GetTagList(ctx *Context, args *GetTagListArgs, opts ...InvokeOption) (*GetTagListResult, error)
    func GetTagListOutput(ctx *Context, args *GetTagListOutputArgs, opts ...InvokeOption) GetTagListResultOutput

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

    public static class GetTagList 
    {
        public static Task<GetTagListResult> InvokeAsync(GetTagListArgs args, InvokeOptions? opts = null)
        public static Output<GetTagListResult> Invoke(GetTagListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTagListResult> getTagList(GetTagListArgs args, InvokeOptions options)
    public static Output<GetTagListResult> getTagList(GetTagListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getTagList:getTagList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    getTagList Result

    The following output properties are available:

    Datas List<GetTagListData>
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Datas []GetTagListData
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    datas List<GetTagListData>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    total Integer
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    datas GetTagListData[]
    The data.
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    total number
    The total number of items.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    datas Sequence[GetTagListData]
    The data.
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    total int
    The total number of items.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    datas List<Property Map>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    total Number
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    Supporting Types

    GetTagListData

    Color string
    The color of the tag
    Comments string
    The description of the tag
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Id string
    The UUID of the tag
    Name string
    The name of the tag
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    Color string
    The color of the tag
    Comments string
    The description of the tag
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Id string
    The UUID of the tag
    Name string
    The name of the tag
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    color String
    The color of the tag
    comments String
    The description of the tag
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    id String
    The UUID of the tag
    name String
    The name of the tag
    snippet String
    The snippet in which the resource is defined
    tfid String
    color string
    The color of the tag
    comments string
    The description of the tag
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    id string
    The UUID of the tag
    name string
    The name of the tag
    snippet string
    The snippet in which the resource is defined
    tfid string
    color str
    The color of the tag
    comments str
    The description of the tag
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    id str
    The UUID of the tag
    name str
    The name of the tag
    snippet str
    The snippet in which the resource is defined
    tfid str
    color String
    The color of the tag
    comments String
    The description of the tag
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    id String
    The UUID of the tag
    name String
    The name of the tag
    snippet String
    The snippet in which the resource is defined
    tfid String

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate