Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
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 application groups in the "Shared" folder.
const allShared = scm.getApplicationGroupList({
folder: "All",
});
export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
// Example of using pagination to get a subset of application groups.
const paginatedExample = scm.getApplicationGroupList({
folder: "All",
limit: 5,
offset: 0,
});
export const paginatedApplicationGroups = paginatedExample.then(paginatedExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
export const paginationApplicationGroupsDetails = {
totalObjectsInFolder: paginatedExample.then(paginatedExample => paginatedExample.total),
limitUsed: paginatedExample.then(paginatedExample => paginatedExample.limit),
};
import pulumi
import pulumi_scm as scm
# 1. Use a single data block to fetch ALL application groups in the "Shared" folder.
all_shared = scm.get_application_group_list(folder="All")
pulumi.export("applicationGroupsDataSourceResultsFromList", {group.id: group for group in all_shared.datas})
# Example of using pagination to get a subset of application groups.
paginated_example = scm.get_application_group_list(folder="All",
limit=5,
offset=0)
pulumi.export("paginatedApplicationGroups", {group.id: group for group in paginated_example.datas})
pulumi.export("paginationApplicationGroupsDetails", {
"totalObjectsInFolder": paginated_example.total,
"limitUsed": paginated_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 application groups in the "Shared" folder.
var allShared = Scm.GetApplicationGroupList.Invoke(new()
{
Folder = "All",
});
// Example of using pagination to get a subset of application groups.
var paginatedExample = Scm.GetApplicationGroupList.Invoke(new()
{
Folder = "All",
Limit = 5,
Offset = 0,
});
return new Dictionary<string, object?>
{
["applicationGroupsDataSourceResultsFromList"] = ,
["paginatedApplicationGroups"] = ,
["paginationApplicationGroupsDetails"] =
{
{ "totalObjectsInFolder", paginatedExample.Apply(getApplicationGroupListResult => getApplicationGroupListResult.Total) },
{ "limitUsed", paginatedExample.Apply(getApplicationGroupListResult => getApplicationGroupListResult.Limit) },
},
};
});
Example coming soon!
Example coming soon!
Using getApplicationGroupList
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 getApplicationGroupList(args: GetApplicationGroupListArgs, opts?: InvokeOptions): Promise<GetApplicationGroupListResult>
function getApplicationGroupListOutput(args: GetApplicationGroupListOutputArgs, opts?: InvokeOptions): Output<GetApplicationGroupListResult>def get_application_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) -> GetApplicationGroupListResult
def get_application_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[GetApplicationGroupListResult]func GetApplicationGroupList(ctx *Context, args *GetApplicationGroupListArgs, opts ...InvokeOption) (*GetApplicationGroupListResult, error)
func GetApplicationGroupListOutput(ctx *Context, args *GetApplicationGroupListOutputArgs, opts ...InvokeOption) GetApplicationGroupListResultOutput> Note: This function is named GetApplicationGroupList in the Go SDK.
public static class GetApplicationGroupList
{
public static Task<GetApplicationGroupListResult> InvokeAsync(GetApplicationGroupListArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationGroupListResult> Invoke(GetApplicationGroupListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApplicationGroupListResult> getApplicationGroupList(GetApplicationGroupListArgs args, InvokeOptions options)
public static Output<GetApplicationGroupListResult> getApplicationGroupList(GetApplicationGroupListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getApplicationGroupList:getApplicationGroupList
arguments:
# arguments dictionaryThe following arguments are supported:
getApplicationGroupList Result
The following output properties are available:
- Datas
List<Get
Application Group List Data> - 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
[]Get
Application Group List Data - 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<Get
Application Group List Data> - 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
Get
Application Group List Data[] - 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[Get
Application Group List Data] - 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
GetApplicationGroupListData
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
