Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
Site data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const singleSiteById = scm.getSite({
id: "d037fe30-68ae-47ee-9a74-71bc63ac2c10",
});
export const singleSiteDetails = singleSiteById;
import pulumi
import pulumi_scm as scm
single_site_by_id = scm.get_site(id="d037fe30-68ae-47ee-9a74-71bc63ac2c10")
pulumi.export("singleSiteDetails", single_site_by_id)
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 {
singleSiteById, err := scm.LookupSite(ctx, &scm.LookupSiteArgs{
Id: "d037fe30-68ae-47ee-9a74-71bc63ac2c10",
}, nil)
if err != nil {
return err
}
ctx.Export("singleSiteDetails", singleSiteById)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var singleSiteById = Scm.GetSite.Invoke(new()
{
Id = "d037fe30-68ae-47ee-9a74-71bc63ac2c10",
});
return new Dictionary<string, object?>
{
["singleSiteDetails"] = singleSiteById,
};
});
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.GetSiteArgs;
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) {
final var singleSiteById = ScmFunctions.getSite(GetSiteArgs.builder()
.id("d037fe30-68ae-47ee-9a74-71bc63ac2c10")
.build());
ctx.export("singleSiteDetails", singleSiteById);
}
}
variables:
singleSiteById:
fn::invoke:
function: scm:getSite
arguments:
id: d037fe30-68ae-47ee-9a74-71bc63ac2c10
outputs:
singleSiteDetails: ${singleSiteById}
Using getSite
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 getSite(args: GetSiteArgs, opts?: InvokeOptions): Promise<GetSiteResult>
function getSiteOutput(args: GetSiteOutputArgs, opts?: InvokeOptions): Output<GetSiteResult>def get_site(folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSiteResult
def get_site_output(folder: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSiteResult]func LookupSite(ctx *Context, args *LookupSiteArgs, opts ...InvokeOption) (*LookupSiteResult, error)
func LookupSiteOutput(ctx *Context, args *LookupSiteOutputArgs, opts ...InvokeOption) LookupSiteResultOutput> Note: This function is named LookupSite in the Go SDK.
public static class GetSite
{
public static Task<GetSiteResult> InvokeAsync(GetSiteArgs args, InvokeOptions? opts = null)
public static Output<GetSiteResult> Invoke(GetSiteInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSiteResult> getSite(GetSiteArgs args, InvokeOptions options)
public static Output<GetSiteResult> getSite(GetSiteArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getSite:getSite
arguments:
# arguments dictionaryThe following arguments are supported:
getSite Result
The following output properties are available:
- Address
Line1 string - The address in which the site exists
- Address
Line2 string - The address in which the site exists (continued)
- City string
- The city in which the site exists
- Country string
- The country in which the site exists
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the site
- Latitude string
- The latitude coordinate for the site
- License
Type string - The license type of the site
- Longitude string
- The longitude coordinate for the site
- Members
List<Get
Site Member> - Members
- Name string
- The name of the site
- Qos
Get
Site Qos - Qos
- State string
- The state in which the site exists
- Tfid string
- Type string
- The site type
- Zip
Code string - The postal code in which the site exists
- Address
Line1 string - The address in which the site exists
- Address
Line2 string - The address in which the site exists (continued)
- City string
- The city in which the site exists
- Country string
- The country in which the site exists
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the site
- Latitude string
- The latitude coordinate for the site
- License
Type string - The license type of the site
- Longitude string
- The longitude coordinate for the site
- Members
[]Get
Site Member - Members
- Name string
- The name of the site
- Qos
Get
Site Qos - Qos
- State string
- The state in which the site exists
- Tfid string
- Type string
- The site type
- Zip
Code string - The postal code in which the site exists
- address
Line1 String - The address in which the site exists
- address
Line2 String - The address in which the site exists (continued)
- city String
- The city in which the site exists
- country String
- The country in which the site exists
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the site
- latitude String
- The latitude coordinate for the site
- license
Type String - The license type of the site
- longitude String
- The longitude coordinate for the site
- members
List<Get
Site Member> - Members
- name String
- The name of the site
- qos
Get
Site Qos - Qos
- state String
- The state in which the site exists
- tfid String
- type String
- The site type
- zip
Code String - The postal code in which the site exists
- address
Line1 string - The address in which the site exists
- address
Line2 string - The address in which the site exists (continued)
- city string
- The city in which the site exists
- country string
- The country in which the site exists
- folder string
- The folder in which the resource is defined
- id string
- The UUID of the site
- latitude string
- The latitude coordinate for the site
- license
Type string - The license type of the site
- longitude string
- The longitude coordinate for the site
- members
Get
Site Member[] - Members
- name string
- The name of the site
- qos
Get
Site Qos - Qos
- state string
- The state in which the site exists
- tfid string
- type string
- The site type
- zip
Code string - The postal code in which the site exists
- address_
line1 str - The address in which the site exists
- address_
line2 str - The address in which the site exists (continued)
- city str
- The city in which the site exists
- country str
- The country in which the site exists
- folder str
- The folder in which the resource is defined
- id str
- The UUID of the site
- latitude str
- The latitude coordinate for the site
- license_
type str - The license type of the site
- longitude str
- The longitude coordinate for the site
- members
Sequence[Get
Site Member] - Members
- name str
- The name of the site
- qos
Get
Site Qos - Qos
- state str
- The state in which the site exists
- tfid str
- type str
- The site type
- zip_
code str - The postal code in which the site exists
- address
Line1 String - The address in which the site exists
- address
Line2 String - The address in which the site exists (continued)
- city String
- The city in which the site exists
- country String
- The country in which the site exists
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the site
- latitude String
- The latitude coordinate for the site
- license
Type String - The license type of the site
- longitude String
- The longitude coordinate for the site
- members List<Property Map>
- Members
- name String
- The name of the site
- qos Property Map
- Qos
- state String
- The state in which the site exists
- tfid String
- type String
- The site type
- zip
Code String - The postal code in which the site exists
Supporting Types
GetSiteMember
- Id string
- UUID of the remote network
- Mode string
- The mode of the remote network
- Name string
- The member name
- Remote
Network string - The remote network name
- Id string
- UUID of the remote network
- Mode string
- The mode of the remote network
- Name string
- The member name
- Remote
Network string - The remote network name
- id String
- UUID of the remote network
- mode String
- The mode of the remote network
- name String
- The member name
- remote
Network String - The remote network name
- id string
- UUID of the remote network
- mode string
- The mode of the remote network
- name string
- The member name
- remote
Network string - The remote network name
- id str
- UUID of the remote network
- mode str
- The mode of the remote network
- name str
- The member name
- remote_
network str - The remote network name
- id String
- UUID of the remote network
- mode String
- The mode of the remote network
- name String
- The member name
- remote
Network String - The remote network name
GetSiteQos
- backup_
cir float - The backup CIR in Mbps. This is distributed equally for all tunnels in the site.
- cir float
- The CIR in Mbps. This is distributed equally for all tunnels in the site.
- profile str
- The name of the site 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 v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
