Viewing docs for Strata Cloud Manager v1.0.4
published on Saturday, Feb 14, 2026 by Pulumi
published on Saturday, Feb 14, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v1.0.4
published on Saturday, Feb 14, 2026 by Pulumi
published on Saturday, Feb 14, 2026 by Pulumi
ServiceConnection data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
//------------------------------------------------------
// Data Soruce
//------------------------------------------------------
const createdConnLookup = scm.getServiceConnection({
id: "3d07bda7-2cfa-4fdc-b504-cd82847b2ec3",
});
export const createdServiceConnectionId = createdConnLookup.then(createdConnLookup => createdConnLookup.id);
export const createdServiceConnectionRegion = createdConnLookup.then(createdConnLookup => createdConnLookup.region);
export const createdServiceConnectionSubnets = createdConnLookup.then(createdConnLookup => createdConnLookup.subnets);
import pulumi
import pulumi_scm as scm
#------------------------------------------------------
# Data Soruce
#------------------------------------------------------
created_conn_lookup = scm.get_service_connection(id="3d07bda7-2cfa-4fdc-b504-cd82847b2ec3")
pulumi.export("createdServiceConnectionId", created_conn_lookup.id)
pulumi.export("createdServiceConnectionRegion", created_conn_lookup.region)
pulumi.export("createdServiceConnectionSubnets", created_conn_lookup.subnets)
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// ------------------------------------------------------
// Data Soruce
// ------------------------------------------------------
createdConnLookup, err := scm.LookupServiceConnection(ctx, &scm.LookupServiceConnectionArgs{
Id: "3d07bda7-2cfa-4fdc-b504-cd82847b2ec3",
}, nil)
if err != nil {
return err
}
ctx.Export("createdServiceConnectionId", createdConnLookup.Id)
ctx.Export("createdServiceConnectionRegion", createdConnLookup.Region)
ctx.Export("createdServiceConnectionSubnets", createdConnLookup.Subnets)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
//------------------------------------------------------
// Data Soruce
//------------------------------------------------------
var createdConnLookup = Scm.GetServiceConnection.Invoke(new()
{
Id = "3d07bda7-2cfa-4fdc-b504-cd82847b2ec3",
});
return new Dictionary<string, object?>
{
["createdServiceConnectionId"] = createdConnLookup.Apply(getServiceConnectionResult => getServiceConnectionResult.Id),
["createdServiceConnectionRegion"] = createdConnLookup.Apply(getServiceConnectionResult => getServiceConnectionResult.Region),
["createdServiceConnectionSubnets"] = createdConnLookup.Apply(getServiceConnectionResult => getServiceConnectionResult.Subnets),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetServiceConnectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
//------------------------------------------------------
// Data Soruce
//------------------------------------------------------
final var createdConnLookup = ScmFunctions.getServiceConnection(GetServiceConnectionArgs.builder()
.id("3d07bda7-2cfa-4fdc-b504-cd82847b2ec3")
.build());
ctx.export("createdServiceConnectionId", createdConnLookup.id());
ctx.export("createdServiceConnectionRegion", createdConnLookup.region());
ctx.export("createdServiceConnectionSubnets", createdConnLookup.subnets());
}
}
variables:
#------------------------------------------------------
# Data Soruce
#------------------------------------------------------
createdConnLookup:
fn::invoke:
function: scm:getServiceConnection
arguments:
id: 3d07bda7-2cfa-4fdc-b504-cd82847b2ec3
outputs:
createdServiceConnectionId: ${createdConnLookup.id}
createdServiceConnectionRegion: ${createdConnLookup.region}
createdServiceConnectionSubnets: ${createdConnLookup.subnets}
Using getServiceConnection
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 getServiceConnection(args: GetServiceConnectionArgs, opts?: InvokeOptions): Promise<GetServiceConnectionResult>
function getServiceConnectionOutput(args: GetServiceConnectionOutputArgs, opts?: InvokeOptions): Output<GetServiceConnectionResult>def get_service_connection(folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceConnectionResult
def get_service_connection_output(folder: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceConnectionResult]func LookupServiceConnection(ctx *Context, args *LookupServiceConnectionArgs, opts ...InvokeOption) (*LookupServiceConnectionResult, error)
func LookupServiceConnectionOutput(ctx *Context, args *LookupServiceConnectionOutputArgs, opts ...InvokeOption) LookupServiceConnectionResultOutput> Note: This function is named LookupServiceConnection in the Go SDK.
public static class GetServiceConnection
{
public static Task<GetServiceConnectionResult> InvokeAsync(GetServiceConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetServiceConnectionResult> Invoke(GetServiceConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceConnectionResult> getServiceConnection(GetServiceConnectionArgs args, InvokeOptions options)
public static Output<GetServiceConnectionResult> getServiceConnection(GetServiceConnectionArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getServiceConnection:getServiceConnection
arguments:
# arguments dictionaryThe following arguments are supported:
getServiceConnection Result
The following output properties are available:
- Backup
Sc string - Backup s c
- Bgp
Peer GetService Connection Bgp Peer - Bgp peer
- Encrypted
Values Dictionary<string, string> - Map of sensitive values returned from the API.
- Folder string
- The folder in which the resource is defined
- 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 Protocol - Protocol
- Qos
Get
Service Connection Qos - Qos
- Region string
- Region
- Secondary
Ipsec stringTunnel - Secondary ipsec tunnel
- Source
Nat bool - Source nat
- Subnets List<string>
- Subnets
- Tfid string
- The Terraform ID.
- Backup
Sc string - Backup s c
- Bgp
Peer GetService Connection Bgp Peer - Bgp peer
- Encrypted
Values map[string]string - Map of sensitive values returned from the API.
- Folder string
- The folder in which the resource is defined
- 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 Protocol - Protocol
- Qos
Get
Service Connection Qos - Qos
- Region string
- Region
- Secondary
Ipsec stringTunnel - Secondary ipsec tunnel
- Source
Nat bool - Source nat
- Subnets []string
- Subnets
- Tfid string
- The Terraform ID.
- backup
Sc String - Backup s c
- bgp
Peer GetService Connection Bgp Peer - Bgp peer
- encrypted
Values Map<String,String> - Map of sensitive values returned from the API.
- folder String
- The folder in which the resource is defined
- 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 Protocol - Protocol
- qos
Get
Service Connection Qos - Qos
- region String
- Region
- secondary
Ipsec StringTunnel - Secondary ipsec tunnel
- source
Nat Boolean - Source nat
- subnets List<String>
- Subnets
- tfid String
- The Terraform ID.
- backup
Sc string - Backup s c
- bgp
Peer GetService Connection Bgp Peer - Bgp peer
- encrypted
Values {[key: string]: string} - Map of sensitive values returned from the API.
- folder string
- The folder in which the resource is defined
- 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 Protocol - Protocol
- qos
Get
Service Connection Qos - Qos
- region string
- Region
- secondary
Ipsec stringTunnel - Secondary ipsec tunnel
- source
Nat boolean - Source nat
- subnets string[]
- Subnets
- tfid string
- The Terraform ID.
- backup_
sc str - Backup s c
- bgp_
peer GetService Connection Bgp Peer - Bgp peer
- encrypted_
values Mapping[str, str] - Map of sensitive values returned from the API.
- folder str
- The folder in which the resource is defined
- 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 Protocol - Protocol
- qos
Get
Service Connection Qos - Qos
- region str
- Region
- secondary_
ipsec_ strtunnel - Secondary ipsec tunnel
- source_
nat bool - Source nat
- subnets Sequence[str]
- Subnets
- tfid str
- The Terraform ID.
- backup
Sc String - Backup s c
- bgp
Peer Property Map - Bgp peer
- encrypted
Values Map<String> - Map of sensitive values returned from the API.
- folder String
- The folder in which the resource is defined
- 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
- The Terraform ID.
Supporting Types
GetServiceConnectionBgpPeer
- 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
GetServiceConnectionProtocol
- bgp Property Map
- Bgp
GetServiceConnectionProtocolBgp
- 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
GetServiceConnectionQos
- 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.
Viewing docs for Strata Cloud Manager v1.0.4
published on Saturday, Feb 14, 2026 by Pulumi
published on Saturday, Feb 14, 2026 by Pulumi
