Viewing docs for Strata Cloud Manager v0.4.3 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v0.4.3 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Data source to fetch all services in the "Shared" folder.
const allSharedServices = scm.getServiceList({
folder: "All",
});
export const allSharedServicesMap = allSharedServices.then(allSharedServices => .reduce((__obj, svc) => ({ ...__obj, [svc.name]: svc })));
// Example of using pagination to get the first 5 services.
const paginatedServices = scm.getServiceList({
folder: "All",
limit: 5,
offset: 0,
});
export const paginatedServicesList = paginatedServices.then(paginatedServices => paginatedServices.datas);
export const paginatedServicesDetails = {
totalInFolder: paginatedServices.then(paginatedServices => paginatedServices.total),
limitUsed: paginatedServices.then(paginatedServices => paginatedServices.limit),
offsetUsed: paginatedServices.then(paginatedServices => paginatedServices.offset),
};
import pulumi
import pulumi_scm as scm
# Data source to fetch all services in the "Shared" folder.
all_shared_services = scm.get_service_list(folder="All")
pulumi.export("allSharedServicesMap", {svc.name: svc for svc in all_shared_services.datas})
# Example of using pagination to get the first 5 services.
paginated_services = scm.get_service_list(folder="All",
limit=5,
offset=0)
pulumi.export("paginatedServicesList", paginated_services.datas)
pulumi.export("paginatedServicesDetails", {
"totalInFolder": paginated_services.total,
"limitUsed": paginated_services.limit,
"offsetUsed": paginated_services.offset,
})
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Data source to fetch all services in the "Shared" folder.
var allSharedServices = Scm.GetServiceList.Invoke(new()
{
Folder = "All",
});
// Example of using pagination to get the first 5 services.
var paginatedServices = Scm.GetServiceList.Invoke(new()
{
Folder = "All",
Limit = 5,
Offset = 0,
});
return new Dictionary<string, object?>
{
["allSharedServicesMap"] = ,
["paginatedServicesList"] = paginatedServices.Apply(getServiceListResult => getServiceListResult.Datas),
["paginatedServicesDetails"] =
{
{ "totalInFolder", paginatedServices.Apply(getServiceListResult => getServiceListResult.Total) },
{ "limitUsed", paginatedServices.Apply(getServiceListResult => getServiceListResult.Limit) },
{ "offsetUsed", paginatedServices.Apply(getServiceListResult => getServiceListResult.Offset) },
},
};
});
Example coming soon!
Example coming soon!
Using getServiceList
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 getServiceList(args: GetServiceListArgs, opts?: InvokeOptions): Promise<GetServiceListResult>
function getServiceListOutput(args: GetServiceListOutputArgs, opts?: InvokeOptions): Output<GetServiceListResult>def get_service_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) -> GetServiceListResult
def get_service_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[GetServiceListResult]func GetServiceList(ctx *Context, args *GetServiceListArgs, opts ...InvokeOption) (*GetServiceListResult, error)
func GetServiceListOutput(ctx *Context, args *GetServiceListOutputArgs, opts ...InvokeOption) GetServiceListResultOutput> Note: This function is named GetServiceList in the Go SDK.
public static class GetServiceList
{
public static Task<GetServiceListResult> InvokeAsync(GetServiceListArgs args, InvokeOptions? opts = null)
public static Output<GetServiceListResult> Invoke(GetServiceListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceListResult> getServiceList(GetServiceListArgs args, InvokeOptions options)
public static Output<GetServiceListResult> getServiceList(GetServiceListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getServiceList:getServiceList
arguments:
# arguments dictionaryThe following arguments are supported:
getServiceList Result
The following output properties are available:
- Datas
List<Get
Service 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 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 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 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 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
GetServiceListData
- Description string
- Description
- 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 service
- Name string
- The name of the service
- Protocol
Get
Service List Data Protocol - Protocol
- Snippet string
- The snippet in which the resource is defined
- List<string>
- Tags for service object
- Tfid string
- Description string
- Description
- 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 service
- Name string
- The name of the service
- Protocol
Get
Service List Data Protocol - Protocol
- Snippet string
- The snippet in which the resource is defined
- []string
- Tags for service object
- Tfid string
- description String
- Description
- 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 service
- name String
- The name of the service
- protocol
Get
Service List Data Protocol - Protocol
- snippet String
- The snippet in which the resource is defined
- List<String>
- Tags for service object
- tfid String
- description string
- Description
- 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 service
- name string
- The name of the service
- protocol
Get
Service List Data Protocol - Protocol
- snippet string
- The snippet in which the resource is defined
- string[]
- Tags for service object
- tfid string
- description str
- Description
- 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 service
- name str
- The name of the service
- protocol
Get
Service List Data Protocol - Protocol
- snippet str
- The snippet in which the resource is defined
- Sequence[str]
- Tags for service object
- tfid str
- description String
- Description
- 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 service
- name String
- The name of the service
- protocol Property Map
- Protocol
- snippet String
- The snippet in which the resource is defined
- List<String>
- Tags for service object
- tfid String
GetServiceListDataProtocol
- tcp Property Map
- Tcp
- udp Property Map
- Udp
GetServiceListDataProtocolTcp
- Override
Get
Service List Data Protocol Tcp Override - Override
- Port string
- Port
- Source
Port string - Source port
- Override
Get
Service List Data Protocol Tcp Override - Override
- Port string
- Port
- Source
Port string - Source port
- override
Get
Service List Data Protocol Tcp Override - Override
- port String
- Port
- source
Port String - Source port
- override
Get
Service List Data Protocol Tcp Override - Override
- port string
- Port
- source
Port string - Source port
- override
Get
Service List Data Protocol Tcp Override - Override
- port str
- Port
- source_
port str - Source port
- override Property Map
- Override
- port String
- Port
- source
Port String - Source port
GetServiceListDataProtocolTcpOverride
- Halfclose
Timeout int - tcp session half-close timeout value (in second)
- Timeout int
- tcp session timeout value (in second)
- Timewait
Timeout int - tcp session time-wait timeout value (in second)
- Halfclose
Timeout int - tcp session half-close timeout value (in second)
- Timeout int
- tcp session timeout value (in second)
- Timewait
Timeout int - tcp session time-wait timeout value (in second)
- halfclose
Timeout Integer - tcp session half-close timeout value (in second)
- timeout Integer
- tcp session timeout value (in second)
- timewait
Timeout Integer - tcp session time-wait timeout value (in second)
- halfclose
Timeout number - tcp session half-close timeout value (in second)
- timeout number
- tcp session timeout value (in second)
- timewait
Timeout number - tcp session time-wait timeout value (in second)
- halfclose_
timeout int - tcp session half-close timeout value (in second)
- timeout int
- tcp session timeout value (in second)
- timewait_
timeout int - tcp session time-wait timeout value (in second)
- halfclose
Timeout Number - tcp session half-close timeout value (in second)
- timeout Number
- tcp session timeout value (in second)
- timewait
Timeout Number - tcp session time-wait timeout value (in second)
GetServiceListDataProtocolUdp
- Override
Get
Service List Data Protocol Udp Override - Override
- Port string
- Port
- Source
Port string - Source port
- Override
Get
Service List Data Protocol Udp Override - Override
- Port string
- Port
- Source
Port string - Source port
- override
Get
Service List Data Protocol Udp Override - Override
- port String
- Port
- source
Port String - Source port
- override
Get
Service List Data Protocol Udp Override - Override
- port string
- Port
- source
Port string - Source port
- override
Get
Service List Data Protocol Udp Override - Override
- port str
- Port
- source_
port str - Source port
- override Property Map
- Override
- port String
- Port
- source
Port String - Source port
GetServiceListDataProtocolUdpOverride
- Timeout int
- udp session timeout value (in second)
- Timeout int
- udp session timeout value (in second)
- timeout Integer
- udp session timeout value (in second)
- timeout number
- udp session timeout value (in second)
- timeout int
- udp session timeout value (in second)
- timeout Number
- udp session timeout value (in second)
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Viewing docs for Strata Cloud Manager v0.4.3 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
