1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getDynamicUserGroupList
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";
    
    // 1. Use a single data block to fetch ALL dynamic user groups in the "Shared" folder. [cite: 2]
    const allSharedDugs = scm.getDynamicUserGroupList({
        folder: "All",
    });
    export const dugResultsFromList = allSharedDugs.then(allSharedDugs => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
    // This data source block shows an example of pagination.
    const paginatedDugsExample = scm.getDynamicUserGroupList({
        folder: "All",
        limit: 5,
        offset: 0,
    });
    export const paginatedDugs = paginatedDugsExample.then(paginatedDugsExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
    export const paginationDugsDetails = {
        totalObjectsInFolder: paginatedDugsExample.then(paginatedDugsExample => paginatedDugsExample.total),
        limitUsed: paginatedDugsExample.then(paginatedDugsExample => paginatedDugsExample.limit),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    # 1. Use a single data block to fetch ALL dynamic user groups in the "Shared" folder. [cite: 2]
    all_shared_dugs = scm.get_dynamic_user_group_list(folder="All")
    pulumi.export("dugResultsFromList", {group.id: group for group in all_shared_dugs.datas})
    # This data source block shows an example of pagination.
    paginated_dugs_example = scm.get_dynamic_user_group_list(folder="All",
        limit=5,
        offset=0)
    pulumi.export("paginatedDugs", {group.id: group for group in paginated_dugs_example.datas})
    pulumi.export("paginationDugsDetails", {
        "totalObjectsInFolder": paginated_dugs_example.total,
        "limitUsed": paginated_dugs_example.limit,
    })
    
    Example coming soon!
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        // 1. Use a single data block to fetch ALL dynamic user groups in the "Shared" folder. [cite: 2]
        var allSharedDugs = Scm.GetDynamicUserGroupList.Invoke(new()
        {
            Folder = "All",
        });
    
        // This data source block shows an example of pagination.
        var paginatedDugsExample = Scm.GetDynamicUserGroupList.Invoke(new()
        {
            Folder = "All",
            Limit = 5,
            Offset = 0,
        });
    
        return new Dictionary<string, object?>
        {
            ["dugResultsFromList"] = ,
            ["paginatedDugs"] = ,
            ["paginationDugsDetails"] = 
            {
                { "totalObjectsInFolder", paginatedDugsExample.Apply(getDynamicUserGroupListResult => getDynamicUserGroupListResult.Total) },
                { "limitUsed", paginatedDugsExample.Apply(getDynamicUserGroupListResult => getDynamicUserGroupListResult.Limit) },
            },
        };
    });
    
    Example coming soon!
    
    Example coming soon!
    

    Using getDynamicUserGroupList

    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 getDynamicUserGroupList(args: GetDynamicUserGroupListArgs, opts?: InvokeOptions): Promise<GetDynamicUserGroupListResult>
    function getDynamicUserGroupListOutput(args: GetDynamicUserGroupListOutputArgs, opts?: InvokeOptions): Output<GetDynamicUserGroupListResult>
    def get_dynamic_user_group_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) -> GetDynamicUserGroupListResult
    def get_dynamic_user_group_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[GetDynamicUserGroupListResult]
    func GetDynamicUserGroupList(ctx *Context, args *GetDynamicUserGroupListArgs, opts ...InvokeOption) (*GetDynamicUserGroupListResult, error)
    func GetDynamicUserGroupListOutput(ctx *Context, args *GetDynamicUserGroupListOutputArgs, opts ...InvokeOption) GetDynamicUserGroupListResultOutput

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

    public static class GetDynamicUserGroupList 
    {
        public static Task<GetDynamicUserGroupListResult> InvokeAsync(GetDynamicUserGroupListArgs args, InvokeOptions? opts = null)
        public static Output<GetDynamicUserGroupListResult> Invoke(GetDynamicUserGroupListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDynamicUserGroupListResult> getDynamicUserGroupList(GetDynamicUserGroupListArgs args, InvokeOptions options)
    public static Output<GetDynamicUserGroupListResult> getDynamicUserGroupList(GetDynamicUserGroupListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getDynamicUserGroupList:getDynamicUserGroupList
      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.

    getDynamicUserGroupList Result

    The following output properties are available:

    Datas List<GetDynamicUserGroupListData>
    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 []GetDynamicUserGroupListData
    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<GetDynamicUserGroupListData>
    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 GetDynamicUserGroupListData[]
    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[GetDynamicUserGroupListData]
    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

    GetDynamicUserGroupListData

    Description string
    The description of the dynamic address group
    Device string
    The device in which the resource is defined
    Filter string
    The tag-based filter for the dynamic user group
    Folder string
    The folder in which the resource is defined
    Id string
    The UUID of the dynamic user group
    Name string
    The name of the dynamic address group
    Snippet string
    The snippet in which the resource is defined
    Tags List<string>
    Tags associated with the dynamic user group
    Tfid string
    Description string
    The description of the dynamic address group
    Device string
    The device in which the resource is defined
    Filter string
    The tag-based filter for the dynamic user group
    Folder string
    The folder in which the resource is defined
    Id string
    The UUID of the dynamic user group
    Name string
    The name of the dynamic address group
    Snippet string
    The snippet in which the resource is defined
    Tags []string
    Tags associated with the dynamic user group
    Tfid string
    description String
    The description of the dynamic address group
    device String
    The device in which the resource is defined
    filter String
    The tag-based filter for the dynamic user group
    folder String
    The folder in which the resource is defined
    id String
    The UUID of the dynamic user group
    name String
    The name of the dynamic address group
    snippet String
    The snippet in which the resource is defined
    tags List<String>
    Tags associated with the dynamic user group
    tfid String
    description string
    The description of the dynamic address group
    device string
    The device in which the resource is defined
    filter string
    The tag-based filter for the dynamic user group
    folder string
    The folder in which the resource is defined
    id string
    The UUID of the dynamic user group
    name string
    The name of the dynamic address group
    snippet string
    The snippet in which the resource is defined
    tags string[]
    Tags associated with the dynamic user group
    tfid string
    description str
    The description of the dynamic address group
    device str
    The device in which the resource is defined
    filter str
    The tag-based filter for the dynamic user group
    folder str
    The folder in which the resource is defined
    id str
    The UUID of the dynamic user group
    name str
    The name of the dynamic address group
    snippet str
    The snippet in which the resource is defined
    tags Sequence[str]
    Tags associated with the dynamic user group
    tfid str
    description String
    The description of the dynamic address group
    device String
    The device in which the resource is defined
    filter String
    The tag-based filter for the dynamic user group
    folder String
    The folder in which the resource is defined
    id String
    The UUID of the dynamic user group
    name String
    The name of the dynamic address group
    snippet String
    The snippet in which the resource is defined
    tags List<String>
    Tags associated with the dynamic user group
    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