1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getServiceConnectionList
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";
    
    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 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.

    getServiceConnectionList Result

    The following output properties are available:

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

    BackupSc string
    Backup s c
    BgpPeer GetServiceConnectionListDataBgpPeer
    Bgp peer
    EncryptedValues Dictionary<string, string>
    Map of sensitive values returned from the API.
    Id string
    The UUID of the service connection
    IpsecTunnel string
    Ipsec tunnel
    Name string
    The name of the service connection
    NatPool string
    Nat pool
    NoExportCommunity string
    No export community
    OnboardingType string
    Onboarding type
    Protocol GetServiceConnectionListDataProtocol
    Protocol
    Qos GetServiceConnectionListDataQos
    Qos
    Region string
    Region
    SecondaryIpsecTunnel string
    Secondary ipsec tunnel
    SourceNat bool
    Source nat
    Subnets List<string>
    Subnets
    Tfid string
    BackupSc string
    Backup s c
    BgpPeer GetServiceConnectionListDataBgpPeer
    Bgp peer
    EncryptedValues map[string]string
    Map of sensitive values returned from the API.
    Id string
    The UUID of the service connection
    IpsecTunnel string
    Ipsec tunnel
    Name string
    The name of the service connection
    NatPool string
    Nat pool
    NoExportCommunity string
    No export community
    OnboardingType string
    Onboarding type
    Protocol GetServiceConnectionListDataProtocol
    Protocol
    Qos GetServiceConnectionListDataQos
    Qos
    Region string
    Region
    SecondaryIpsecTunnel string
    Secondary ipsec tunnel
    SourceNat bool
    Source nat
    Subnets []string
    Subnets
    Tfid string
    backupSc String
    Backup s c
    bgpPeer GetServiceConnectionListDataBgpPeer
    Bgp peer
    encryptedValues Map<String,String>
    Map of sensitive values returned from the API.
    id String
    The UUID of the service connection
    ipsecTunnel String
    Ipsec tunnel
    name String
    The name of the service connection
    natPool String
    Nat pool
    noExportCommunity String
    No export community
    onboardingType String
    Onboarding type
    protocol GetServiceConnectionListDataProtocol
    Protocol
    qos GetServiceConnectionListDataQos
    Qos
    region String
    Region
    secondaryIpsecTunnel String
    Secondary ipsec tunnel
    sourceNat Boolean
    Source nat
    subnets List<String>
    Subnets
    tfid String
    backupSc string
    Backup s c
    bgpPeer GetServiceConnectionListDataBgpPeer
    Bgp peer
    encryptedValues {[key: string]: string}
    Map of sensitive values returned from the API.
    id string
    The UUID of the service connection
    ipsecTunnel string
    Ipsec tunnel
    name string
    The name of the service connection
    natPool string
    Nat pool
    noExportCommunity string
    No export community
    onboardingType string
    Onboarding type
    protocol GetServiceConnectionListDataProtocol
    Protocol
    qos GetServiceConnectionListDataQos
    Qos
    region string
    Region
    secondaryIpsecTunnel string
    Secondary ipsec tunnel
    sourceNat boolean
    Source nat
    subnets string[]
    Subnets
    tfid string
    backup_sc str
    Backup s c
    bgp_peer GetServiceConnectionListDataBgpPeer
    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_community str
    No export community
    onboarding_type str
    Onboarding type
    protocol GetServiceConnectionListDataProtocol
    Protocol
    qos GetServiceConnectionListDataQos
    Qos
    region str
    Region
    secondary_ipsec_tunnel str
    Secondary ipsec tunnel
    source_nat bool
    Source nat
    subnets Sequence[str]
    Subnets
    tfid str
    backupSc String
    Backup s c
    bgpPeer Property Map
    Bgp peer
    encryptedValues Map<String>
    Map of sensitive values returned from the API.
    id String
    The UUID of the service connection
    ipsecTunnel String
    Ipsec tunnel
    name String
    The name of the service connection
    natPool String
    Nat pool
    noExportCommunity String
    No export community
    onboardingType String
    Onboarding type
    protocol Property Map
    Protocol
    qos Property Map
    Qos
    region String
    Region
    secondaryIpsecTunnel String
    Secondary ipsec tunnel
    sourceNat Boolean
    Source nat
    subnets List<String>
    Subnets
    tfid String

    GetServiceConnectionListDataBgpPeer

    LocalIpAddress string
    Local ip address
    LocalIpv6Address string
    Local ipv6 address
    PeerIpAddress string
    Peer ip address
    PeerIpv6Address string
    Peer ipv6 address
    Secret string
    Secret
    LocalIpAddress string
    Local ip address
    LocalIpv6Address string
    Local ipv6 address
    PeerIpAddress string
    Peer ip address
    PeerIpv6Address string
    Peer ipv6 address
    Secret string
    Secret
    localIpAddress String
    Local ip address
    localIpv6Address String
    Local ipv6 address
    peerIpAddress String
    Peer ip address
    peerIpv6Address String
    Peer ipv6 address
    secret String
    Secret
    localIpAddress string
    Local ip address
    localIpv6Address string
    Local ipv6 address
    peerIpAddress string
    Peer ip address
    peerIpv6Address string
    Peer ipv6 address
    secret string
    Secret
    local_ip_address str
    Local ip address
    local_ipv6_address str
    Local ipv6 address
    peer_ip_address str
    Peer ip address
    peer_ipv6_address str
    Peer ipv6 address
    secret str
    Secret
    localIpAddress String
    Local ip address
    localIpv6Address String
    Local ipv6 address
    peerIpAddress String
    Peer ip address
    peerIpv6Address String
    Peer ipv6 address
    secret String
    Secret

    GetServiceConnectionListDataProtocol

    GetServiceConnectionListDataProtocolBgp

    DoNotExportRoutes bool
    Do not export routes
    Enable bool
    Enable
    FastFailover bool
    Fast failover
    LocalIpAddress string
    Local ip address
    OriginateDefaultRoute bool
    Originate default route
    PeerAs string
    Peer as
    PeerIpAddress string
    Peer ip address
    Secret string
    Secret
    SummarizeMobileUserRoutes bool
    Summarize mobile user routes
    DoNotExportRoutes bool
    Do not export routes
    Enable bool
    Enable
    FastFailover bool
    Fast failover
    LocalIpAddress string
    Local ip address
    OriginateDefaultRoute bool
    Originate default route
    PeerAs string
    Peer as
    PeerIpAddress string
    Peer ip address
    Secret string
    Secret
    SummarizeMobileUserRoutes bool
    Summarize mobile user routes
    doNotExportRoutes Boolean
    Do not export routes
    enable Boolean
    Enable
    fastFailover Boolean
    Fast failover
    localIpAddress String
    Local ip address
    originateDefaultRoute Boolean
    Originate default route
    peerAs String
    Peer as
    peerIpAddress String
    Peer ip address
    secret String
    Secret
    summarizeMobileUserRoutes Boolean
    Summarize mobile user routes
    doNotExportRoutes boolean
    Do not export routes
    enable boolean
    Enable
    fastFailover boolean
    Fast failover
    localIpAddress string
    Local ip address
    originateDefaultRoute boolean
    Originate default route
    peerAs string
    Peer as
    peerIpAddress string
    Peer ip address
    secret string
    Secret
    summarizeMobileUserRoutes boolean
    Summarize mobile user routes
    do_not_export_routes bool
    Do not export routes
    enable bool
    Enable
    fast_failover bool
    Fast failover
    local_ip_address str
    Local ip address
    originate_default_route bool
    Originate default route
    peer_as str
    Peer as
    peer_ip_address str
    Peer ip address
    secret str
    Secret
    summarize_mobile_user_routes bool
    Summarize mobile user routes
    doNotExportRoutes Boolean
    Do not export routes
    enable Boolean
    Enable
    fastFailover Boolean
    Fast failover
    localIpAddress String
    Local ip address
    originateDefaultRoute Boolean
    Originate default route
    peerAs String
    Peer as
    peerIpAddress String
    Peer ip address
    secret String
    Secret
    summarizeMobileUserRoutes Boolean
    Summarize mobile user routes

    GetServiceConnectionListDataQos

    Enable bool
    Enable
    QosProfile string
    Qos profile
    Enable bool
    Enable
    QosProfile string
    Qos profile
    enable Boolean
    Enable
    qosProfile String
    Qos profile
    enable boolean
    Enable
    qosProfile string
    Qos profile
    enable bool
    Enable
    qos_profile str
    Qos profile
    enable Boolean
    Enable
    qosProfile String
    Qos profile

    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