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 Lookup
// ------------------------------------------------------------------
const allConnectionsInFolder = scm.getServiceConnectionList({
folder: folderScope,
limit: 50,
});
export const listOfAllConnectionNames = allConnectionsInFolder.then(allConnectionsInFolder => .map(conn => (conn.name)));
export const totalConnectionsCount = allConnectionsInFolder.then(allConnectionsInFolder => allConnectionsInFolder.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 Lookup
# ------------------------------------------------------------------
all_connections_in_folder = scm.get_service_connection_list(folder=folder_scope,
limit=50)
pulumi.export("listOfAllConnectionNames", [conn.name for conn in all_connections_in_folder.datas])
pulumi.export("totalConnectionsCount", len(all_connections_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 Lookup
// ------------------------------------------------------------------
var allConnectionsInFolder = Scm.GetServiceConnectionList.Invoke(new()
{
Folder = folderScope,
Limit = 50,
});
return new Dictionary<string, object?>
{
["listOfAllConnectionNames"] = .Select(conn =>
{
return conn.Name;
}).ToList(),
["totalConnectionsCount"] = allConnectionsInFolder.Apply(getServiceConnectionListResult => getServiceConnectionListResult.Datas).Length,
};
});
Example coming soon!
Example coming soon!
Using getServiceConnectionList
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 getServiceConnectionList(args: GetServiceConnectionListArgs, opts?: InvokeOptions): Promise<GetServiceConnectionListResult>
function getServiceConnectionListOutput(args: GetServiceConnectionListOutputArgs, opts?: InvokeOptions): Output<GetServiceConnectionListResult>def get_service_connection_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) -> GetServiceConnectionListResult
def get_service_connection_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[GetServiceConnectionListResult]func GetServiceConnectionList(ctx *Context, args *GetServiceConnectionListArgs, opts ...InvokeOption) (*GetServiceConnectionListResult, error)
func GetServiceConnectionListOutput(ctx *Context, args *GetServiceConnectionListOutputArgs, opts ...InvokeOption) GetServiceConnectionListResultOutput> Note: This function is named GetServiceConnectionList in the Go SDK.
public static class GetServiceConnectionList
{
public static Task<GetServiceConnectionListResult> InvokeAsync(GetServiceConnectionListArgs args, InvokeOptions? opts = null)
public static Output<GetServiceConnectionListResult> Invoke(GetServiceConnectionListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceConnectionListResult> getServiceConnectionList(GetServiceConnectionListArgs args, InvokeOptions options)
public static Output<GetServiceConnectionListResult> getServiceConnectionList(GetServiceConnectionListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getServiceConnectionList:getServiceConnectionList
arguments:
# arguments dictionaryThe following arguments are supported:
getServiceConnectionList Result
The following output properties are available:
- Datas
List<Get
Service Connection 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 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 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 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 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
GetServiceConnectionListData
- Backup
Sc string - Backup s c
- Bgp
Peer GetService Connection List Data Bgp Peer - Bgp peer
- Encrypted
Values Dictionary<string, string> - Map of sensitive values returned from the API.
- Id string
- The UUID of the service connection
- Ipsec
Tunnel string - Ipsec tunnel
- Name string
- The name of the service connection
- Nat
Pool string - Nat pool
- No
Export stringCommunity - No export community
- Onboarding
Type string - Onboarding type
- Protocol
Get
Service Connection List Data Protocol - Protocol
- Qos
Get
Service Connection List Data Qos - Qos
- Region string
- Region
- Secondary
Ipsec stringTunnel - Secondary ipsec tunnel
- Source
Nat bool - Source nat
- Subnets List<string>
- Subnets
- Tfid string
- Backup
Sc string - Backup s c
- Bgp
Peer GetService Connection List Data Bgp Peer - Bgp peer
- Encrypted
Values map[string]string - Map of sensitive values returned from the API.
- Id string
- The UUID of the service connection
- Ipsec
Tunnel string - Ipsec tunnel
- Name string
- The name of the service connection
- Nat
Pool string - Nat pool
- No
Export stringCommunity - No export community
- Onboarding
Type string - Onboarding type
- Protocol
Get
Service Connection List Data Protocol - Protocol
- Qos
Get
Service Connection List Data Qos - Qos
- Region string
- Region
- Secondary
Ipsec stringTunnel - Secondary ipsec tunnel
- Source
Nat bool - Source nat
- Subnets []string
- Subnets
- Tfid string
- backup
Sc String - Backup s c
- bgp
Peer GetService Connection List Data Bgp Peer - Bgp peer
- encrypted
Values Map<String,String> - Map of sensitive values returned from the API.
- id String
- The UUID of the service connection
- ipsec
Tunnel String - Ipsec tunnel
- name String
- The name of the service connection
- nat
Pool String - Nat pool
- no
Export StringCommunity - No export community
- onboarding
Type String - Onboarding type
- protocol
Get
Service Connection List Data Protocol - Protocol
- qos
Get
Service Connection List Data Qos - Qos
- region String
- Region
- secondary
Ipsec StringTunnel - Secondary ipsec tunnel
- source
Nat Boolean - Source nat
- subnets List<String>
- Subnets
- tfid String
- backup
Sc string - Backup s c
- bgp
Peer GetService Connection List Data Bgp Peer - Bgp peer
- encrypted
Values {[key: string]: string} - Map of sensitive values returned from the API.
- id string
- The UUID of the service connection
- ipsec
Tunnel string - Ipsec tunnel
- name string
- The name of the service connection
- nat
Pool string - Nat pool
- no
Export stringCommunity - No export community
- onboarding
Type string - Onboarding type
- protocol
Get
Service Connection List Data Protocol - Protocol
- qos
Get
Service Connection List Data Qos - Qos
- region string
- Region
- secondary
Ipsec stringTunnel - Secondary ipsec tunnel
- source
Nat boolean - Source nat
- subnets string[]
- Subnets
- tfid string
- backup_
sc str - Backup s c
- bgp_
peer GetService Connection List Data Bgp Peer - Bgp peer
- encrypted_
values Mapping[str, str] - Map of sensitive values returned from the API.
- id str
- The UUID of the service connection
- ipsec_
tunnel str - Ipsec tunnel
- name str
- The name of the service connection
- nat_
pool str - Nat pool
- no_
export_ strcommunity - No export community
- onboarding_
type str - Onboarding type
- protocol
Get
Service Connection List Data Protocol - Protocol
- qos
Get
Service Connection List Data Qos - Qos
- region str
- Region
- secondary_
ipsec_ strtunnel - Secondary ipsec tunnel
- source_
nat bool - Source nat
- subnets Sequence[str]
- Subnets
- tfid str
- backup
Sc String - Backup s c
- bgp
Peer Property Map - Bgp peer
- encrypted
Values Map<String> - Map of sensitive values returned from the API.
- id String
- The UUID of the service connection
- ipsec
Tunnel String - Ipsec tunnel
- name String
- The name of the service connection
- nat
Pool String - Nat pool
- no
Export StringCommunity - No export community
- onboarding
Type String - Onboarding type
- protocol Property Map
- Protocol
- qos Property Map
- Qos
- region String
- Region
- secondary
Ipsec StringTunnel - Secondary ipsec tunnel
- source
Nat Boolean - Source nat
- subnets List<String>
- Subnets
- tfid String
GetServiceConnectionListDataBgpPeer
- Local
Ip stringAddress - Local ip address
- Local
Ipv6Address string - Local ipv6 address
- Peer
Ip stringAddress - Peer ip address
- Peer
Ipv6Address string - Peer ipv6 address
- Secret string
- Secret
- Local
Ip stringAddress - Local ip address
- Local
Ipv6Address string - Local ipv6 address
- Peer
Ip stringAddress - Peer ip address
- Peer
Ipv6Address string - Peer ipv6 address
- Secret string
- Secret
- local
Ip StringAddress - Local ip address
- local
Ipv6Address String - Local ipv6 address
- peer
Ip StringAddress - Peer ip address
- peer
Ipv6Address String - Peer ipv6 address
- secret String
- Secret
- local
Ip stringAddress - Local ip address
- local
Ipv6Address string - Local ipv6 address
- peer
Ip stringAddress - Peer ip address
- peer
Ipv6Address string - Peer ipv6 address
- secret string
- Secret
- local_
ip_ straddress - Local ip address
- local_
ipv6_ straddress - Local ipv6 address
- peer_
ip_ straddress - Peer ip address
- peer_
ipv6_ straddress - Peer ipv6 address
- secret str
- Secret
- local
Ip StringAddress - Local ip address
- local
Ipv6Address String - Local ipv6 address
- peer
Ip StringAddress - Peer ip address
- peer
Ipv6Address String - Peer ipv6 address
- secret String
- Secret
GetServiceConnectionListDataProtocol
- bgp Property Map
- Bgp
GetServiceConnectionListDataProtocolBgp
- Do
Not boolExport Routes - Do not export routes
- Enable bool
- Enable
- Fast
Failover bool - Fast failover
- Local
Ip stringAddress - Local ip address
- Originate
Default boolRoute - Originate default route
- Peer
As string - Peer as
- Peer
Ip stringAddress - Peer ip address
- Secret string
- Secret
- Summarize
Mobile boolUser Routes - Summarize mobile user routes
- Do
Not boolExport Routes - Do not export routes
- Enable bool
- Enable
- Fast
Failover bool - Fast failover
- Local
Ip stringAddress - Local ip address
- Originate
Default boolRoute - Originate default route
- Peer
As string - Peer as
- Peer
Ip stringAddress - Peer ip address
- Secret string
- Secret
- Summarize
Mobile boolUser Routes - Summarize mobile user routes
- do
Not BooleanExport Routes - Do not export routes
- enable Boolean
- Enable
- fast
Failover Boolean - Fast failover
- local
Ip StringAddress - Local ip address
- originate
Default BooleanRoute - Originate default route
- peer
As String - Peer as
- peer
Ip StringAddress - Peer ip address
- secret String
- Secret
- summarize
Mobile BooleanUser Routes - Summarize mobile user routes
- do
Not booleanExport Routes - Do not export routes
- enable boolean
- Enable
- fast
Failover boolean - Fast failover
- local
Ip stringAddress - Local ip address
- originate
Default booleanRoute - Originate default route
- peer
As string - Peer as
- peer
Ip stringAddress - Peer ip address
- secret string
- Secret
- summarize
Mobile booleanUser Routes - Summarize mobile user routes
- do_
not_ boolexport_ routes - Do not export routes
- enable bool
- Enable
- fast_
failover bool - Fast failover
- local_
ip_ straddress - Local ip address
- originate_
default_ boolroute - Originate default route
- peer_
as str - Peer as
- peer_
ip_ straddress - Peer ip address
- secret str
- Secret
- summarize_
mobile_ booluser_ routes - Summarize mobile user routes
- do
Not BooleanExport Routes - Do not export routes
- enable Boolean
- Enable
- fast
Failover Boolean - Fast failover
- local
Ip StringAddress - Local ip address
- originate
Default BooleanRoute - Originate default route
- peer
As String - Peer as
- peer
Ip StringAddress - Peer ip address
- secret String
- Secret
- summarize
Mobile BooleanUser Routes - Summarize mobile user routes
GetServiceConnectionListDataQos
- Enable bool
- Enable
- Qos
Profile string - Qos profile
- Enable bool
- Enable
- Qos
Profile string - Qos profile
- enable Boolean
- Enable
- qos
Profile String - Qos profile
- enable boolean
- Enable
- qos
Profile string - Qos profile
- enable bool
- Enable
- qos_
profile str - Qos profile
- enable Boolean
- Enable
- qos
Profile String - Qos profile
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
