1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getSite
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
scm logo
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 dictionary

    The following arguments are supported:

    Id string
    The UUID of the site
    Folder string
    The folder in which the resource is defined
    Name string
    The name of the site
    Id string
    The UUID of the site
    Folder string
    The folder in which the resource is defined
    Name string
    The name of the site
    id String
    The UUID of the site
    folder String
    The folder in which the resource is defined
    name String
    The name of the site
    id string
    The UUID of the site
    folder string
    The folder in which the resource is defined
    name string
    The name of the site
    id str
    The UUID of the site
    folder str
    The folder in which the resource is defined
    name str
    The name of the site
    id String
    The UUID of the site
    folder String
    The folder in which the resource is defined
    name String
    The name of the site

    getSite Result

    The following output properties are available:

    AddressLine1 string
    The address in which the site exists
    AddressLine2 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
    LicenseType string
    The license type of the site
    Longitude string
    The longitude coordinate for the site
    Members List<GetSiteMember>
    Members
    Name string
    The name of the site
    Qos GetSiteQos
    Qos
    State string
    The state in which the site exists
    Tfid string
    Type string
    The site type
    ZipCode string
    The postal code in which the site exists
    AddressLine1 string
    The address in which the site exists
    AddressLine2 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
    LicenseType string
    The license type of the site
    Longitude string
    The longitude coordinate for the site
    Members []GetSiteMember
    Members
    Name string
    The name of the site
    Qos GetSiteQos
    Qos
    State string
    The state in which the site exists
    Tfid string
    Type string
    The site type
    ZipCode string
    The postal code in which the site exists
    addressLine1 String
    The address in which the site exists
    addressLine2 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
    licenseType String
    The license type of the site
    longitude String
    The longitude coordinate for the site
    members List<GetSiteMember>
    Members
    name String
    The name of the site
    qos GetSiteQos
    Qos
    state String
    The state in which the site exists
    tfid String
    type String
    The site type
    zipCode String
    The postal code in which the site exists
    addressLine1 string
    The address in which the site exists
    addressLine2 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
    licenseType string
    The license type of the site
    longitude string
    The longitude coordinate for the site
    members GetSiteMember[]
    Members
    name string
    The name of the site
    qos GetSiteQos
    Qos
    state string
    The state in which the site exists
    tfid string
    type string
    The site type
    zipCode 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[GetSiteMember]
    Members
    name str
    The name of the site
    qos GetSiteQos
    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
    addressLine1 String
    The address in which the site exists
    addressLine2 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
    licenseType 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
    zipCode 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
    RemoteNetwork 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
    RemoteNetwork 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
    remoteNetwork 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
    remoteNetwork 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
    remoteNetwork String
    The remote network name

    GetSiteQos

    BackupCir double
    The backup CIR in Mbps. This is distributed equally for all tunnels in the site.
    Cir double
    The CIR in Mbps. This is distributed equally for all tunnels in the site.
    Profile string
    The name of the site QoS profile
    BackupCir float64
    The backup CIR in Mbps. This is distributed equally for all tunnels in the site.
    Cir float64
    The CIR in Mbps. This is distributed equally for all tunnels in the site.
    Profile string
    The name of the site QoS profile
    backupCir Double
    The backup CIR in Mbps. This is distributed equally for all tunnels in the site.
    cir Double
    The CIR in Mbps. This is distributed equally for all tunnels in the site.
    profile String
    The name of the site QoS profile
    backupCir number
    The backup CIR in Mbps. This is distributed equally for all tunnels in the site.
    cir number
    The CIR in Mbps. This is distributed equally for all tunnels in the site.
    profile string
    The name of the site QoS profile
    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
    backupCir Number
    The backup CIR in Mbps. This is distributed equally for all tunnels in the site.
    cir Number
    The CIR in Mbps. This is distributed equally for all tunnels in the site.
    profile String
    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 scm Terraform Provider.
    scm logo
    Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate