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";
const config = new pulumi.Config();
// The folder scope for the SCM resource (e.g., 'Shared', 'Predefined', or a specific folder name).
const folderScope = config.get("folderScope") || "Service Connections";
// ------------------------------------------------------------------
// Data Source List: SCM Service Connection Group (List Lookup)
// ------------------------------------------------------------------
const allGroupsInFolder = scm.getServiceConnectionGroupList({
folder: folderScope,
limit: 50,
});
export const listOfAllGroupNames = allGroupsInFolder.then(allGroupsInFolder => .map(group => (group.name)));
export const totalGroupsCount = allGroupsInFolder.then(allGroupsInFolder => allGroupsInFolder.datas).length;
import pulumi
import pulumi_scm as scm
config = pulumi.Config()
# The folder scope for the SCM resource (e.g., 'Shared', 'Predefined', or a specific folder name).
folder_scope = config.get("folderScope")
if folder_scope is None:
folder_scope = "Service Connections"
# ------------------------------------------------------------------
# Data Source List: SCM Service Connection Group (List Lookup)
# ------------------------------------------------------------------
all_groups_in_folder = scm.get_service_connection_group_list(folder=folder_scope,
limit=50)
pulumi.export("listOfAllGroupNames", [group.name for group in all_groups_in_folder.datas])
pulumi.export("totalGroupsCount", len(all_groups_in_folder.datas))
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var config = new Config();
// The folder scope for the SCM resource (e.g., 'Shared', 'Predefined', or a specific folder name).
var folderScope = config.Get("folderScope") ?? "Service Connections";
// ------------------------------------------------------------------
// Data Source List: SCM Service Connection Group (List Lookup)
// ------------------------------------------------------------------
var allGroupsInFolder = Scm.GetServiceConnectionGroupList.Invoke(new()
{
Folder = folderScope,
Limit = 50,
});
return new Dictionary<string, object?>
{
["listOfAllGroupNames"] = .Select(group =>
{
return @group.Name;
}).ToList(),
["totalGroupsCount"] = allGroupsInFolder.Apply(getServiceConnectionGroupListResult => getServiceConnectionGroupListResult.Datas).Length,
};
});
Example coming soon!
Example coming soon!
Using getServiceConnectionGroupList
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 getServiceConnectionGroupList(args: GetServiceConnectionGroupListArgs, opts?: InvokeOptions): Promise<GetServiceConnectionGroupListResult>
function getServiceConnectionGroupListOutput(args: GetServiceConnectionGroupListOutputArgs, opts?: InvokeOptions): Output<GetServiceConnectionGroupListResult>def get_service_connection_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) -> GetServiceConnectionGroupListResult
def get_service_connection_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[GetServiceConnectionGroupListResult]func GetServiceConnectionGroupList(ctx *Context, args *GetServiceConnectionGroupListArgs, opts ...InvokeOption) (*GetServiceConnectionGroupListResult, error)
func GetServiceConnectionGroupListOutput(ctx *Context, args *GetServiceConnectionGroupListOutputArgs, opts ...InvokeOption) GetServiceConnectionGroupListResultOutput> Note: This function is named GetServiceConnectionGroupList in the Go SDK.
public static class GetServiceConnectionGroupList
{
public static Task<GetServiceConnectionGroupListResult> InvokeAsync(GetServiceConnectionGroupListArgs args, InvokeOptions? opts = null)
public static Output<GetServiceConnectionGroupListResult> Invoke(GetServiceConnectionGroupListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceConnectionGroupListResult> getServiceConnectionGroupList(GetServiceConnectionGroupListArgs args, InvokeOptions options)
public static Output<GetServiceConnectionGroupListResult> getServiceConnectionGroupList(GetServiceConnectionGroupListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getServiceConnectionGroupList:getServiceConnectionGroupList
arguments:
# arguments dictionaryThe following arguments are supported:
getServiceConnectionGroupList Result
The following output properties are available:
- Datas
List<Get
Service Connection 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
Service Connection 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
Service Connection 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
Service Connection 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
Service Connection 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
GetServiceConnectionGroupListData
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
