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

    SamlServerProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Data source to retrieve a single SCM SAML Server Profile object by its ID.
    //
    // Replace the ID with the UUID of the SCM SAML Server Profile you want to find.
    const scmSamlServerProf = scm.getSamlServerProfile({
        id: "a17abcfc-d37d-4b8a-bb09-102ffdc3abef",
    });
    export const scmSamlServerProfileDetails = {
        folder: scmSamlServerProf.then(scmSamlServerProf => scmSamlServerProf.folder),
        name: scmSamlServerProf.then(scmSamlServerProf => scmSamlServerProf.name),
        id: scmSamlServerProf.then(scmSamlServerProf => scmSamlServerProf.id),
        ssoUrl: scmSamlServerProf.then(scmSamlServerProf => scmSamlServerProf.ssoUrl),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Data source to retrieve a single SCM SAML Server Profile object by its ID.
    #
    # Replace the ID with the UUID of the SCM SAML Server Profile you want to find.
    scm_saml_server_prof = scm.get_saml_server_profile(id="a17abcfc-d37d-4b8a-bb09-102ffdc3abef")
    pulumi.export("scmSamlServerProfileDetails", {
        "folder": scm_saml_server_prof.folder,
        "name": scm_saml_server_prof.name,
        "id": scm_saml_server_prof.id,
        "ssoUrl": scm_saml_server_prof.sso_url,
    })
    
    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 source to retrieve a single SCM SAML Server Profile object by its ID.
    		//
    		// Replace the ID with the UUID of the SCM SAML Server Profile you want to find.
    		scmSamlServerProf, err := scm.LookupSamlServerProfile(ctx, &scm.LookupSamlServerProfileArgs{
    			Id: "a17abcfc-d37d-4b8a-bb09-102ffdc3abef",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmSamlServerProfileDetails", pulumi.StringMap{
    			"folder": scmSamlServerProf.Folder,
    			"name":   scmSamlServerProf.Name,
    			"id":     scmSamlServerProf.Id,
    			"ssoUrl": scmSamlServerProf.SsoUrl,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        //
        // Data source to retrieve a single SCM SAML Server Profile object by its ID.
        //
        // Replace the ID with the UUID of the SCM SAML Server Profile you want to find.
        var scmSamlServerProf = Scm.GetSamlServerProfile.Invoke(new()
        {
            Id = "a17abcfc-d37d-4b8a-bb09-102ffdc3abef",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmSamlServerProfileDetails"] = 
            {
                { "folder", scmSamlServerProf.Apply(getSamlServerProfileResult => getSamlServerProfileResult.Folder) },
                { "name", scmSamlServerProf.Apply(getSamlServerProfileResult => getSamlServerProfileResult.Name) },
                { "id", scmSamlServerProf.Apply(getSamlServerProfileResult => getSamlServerProfileResult.Id) },
                { "ssoUrl", scmSamlServerProf.Apply(getSamlServerProfileResult => getSamlServerProfileResult.SsoUrl) },
            },
        };
    });
    
    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.GetSamlServerProfileArgs;
    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 source to retrieve a single SCM SAML Server Profile object by its ID.
            //
            // Replace the ID with the UUID of the SCM SAML Server Profile you want to find.
            final var scmSamlServerProf = ScmFunctions.getSamlServerProfile(GetSamlServerProfileArgs.builder()
                .id("a17abcfc-d37d-4b8a-bb09-102ffdc3abef")
                .build());
    
            ctx.export("scmSamlServerProfileDetails", Map.ofEntries(
                Map.entry("folder", scmSamlServerProf.folder()),
                Map.entry("name", scmSamlServerProf.name()),
                Map.entry("id", scmSamlServerProf.id()),
                Map.entry("ssoUrl", scmSamlServerProf.ssoUrl())
            ));
        }
    }
    
    variables:
      #
      # Data source to retrieve a single SCM SAML Server Profile object by its ID.
      #
    
      # Replace the ID with the UUID of the SCM SAML Server Profile you want to find.
      scmSamlServerProf:
        fn::invoke:
          function: scm:getSamlServerProfile
          arguments:
            id: a17abcfc-d37d-4b8a-bb09-102ffdc3abef
    outputs:
      # Output the details of the single SCM SAML Server Profile object found.
      scmSamlServerProfileDetails:
        folder: ${scmSamlServerProf.folder}
        name: ${scmSamlServerProf.name}
        id: ${scmSamlServerProf.id}
        ssoUrl: ${scmSamlServerProf.ssoUrl}
    

    Using getSamlServerProfile

    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 getSamlServerProfile(args: GetSamlServerProfileArgs, opts?: InvokeOptions): Promise<GetSamlServerProfileResult>
    function getSamlServerProfileOutput(args: GetSamlServerProfileOutputArgs, opts?: InvokeOptions): Output<GetSamlServerProfileResult>
    def get_saml_server_profile(device: Optional[str] = None,
                                folder: Optional[str] = None,
                                id: Optional[str] = None,
                                name: Optional[str] = None,
                                snippet: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetSamlServerProfileResult
    def get_saml_server_profile_output(device: Optional[pulumi.Input[str]] = None,
                                folder: Optional[pulumi.Input[str]] = None,
                                id: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                snippet: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetSamlServerProfileResult]
    func LookupSamlServerProfile(ctx *Context, args *LookupSamlServerProfileArgs, opts ...InvokeOption) (*LookupSamlServerProfileResult, error)
    func LookupSamlServerProfileOutput(ctx *Context, args *LookupSamlServerProfileOutputArgs, opts ...InvokeOption) LookupSamlServerProfileResultOutput

    > Note: This function is named LookupSamlServerProfile in the Go SDK.

    public static class GetSamlServerProfile 
    {
        public static Task<GetSamlServerProfileResult> InvokeAsync(GetSamlServerProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetSamlServerProfileResult> Invoke(GetSamlServerProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSamlServerProfileResult> getSamlServerProfile(GetSamlServerProfileArgs args, InvokeOptions options)
    public static Output<GetSamlServerProfileResult> getSamlServerProfile(GetSamlServerProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getSamlServerProfile:getSamlServerProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The UUID of the SAML server profile
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    Id string
    The UUID of the SAML server profile
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    id String
    The UUID of the SAML server profile
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String
    id string
    The UUID of the SAML server profile
    device string
    The device in which the resource is defined
    folder string
    name string
    snippet string
    id str
    The UUID of the SAML server profile
    device str
    The device in which the resource is defined
    folder str
    name str
    snippet str
    id String
    The UUID of the SAML server profile
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String

    getSamlServerProfile Result

    The following output properties are available:

    Certificate string
    Device string
    The device in which the resource is defined
    EntityId string
    Folder string
    Id string
    The UUID of the SAML server profile
    MaxClockSkew int
    Name string
    SloBindings string
    SloUrl string
    Snippet string
    SsoBindings string
    SsoUrl string
    Tfid string
    ValidateIdpCertificate bool
    WantAuthRequestsSigned bool
    Certificate string
    Device string
    The device in which the resource is defined
    EntityId string
    Folder string
    Id string
    The UUID of the SAML server profile
    MaxClockSkew int
    Name string
    SloBindings string
    SloUrl string
    Snippet string
    SsoBindings string
    SsoUrl string
    Tfid string
    ValidateIdpCertificate bool
    WantAuthRequestsSigned bool
    certificate String
    device String
    The device in which the resource is defined
    entityId String
    folder String
    id String
    The UUID of the SAML server profile
    maxClockSkew Integer
    name String
    sloBindings String
    sloUrl String
    snippet String
    ssoBindings String
    ssoUrl String
    tfid String
    validateIdpCertificate Boolean
    wantAuthRequestsSigned Boolean
    certificate string
    device string
    The device in which the resource is defined
    entityId string
    folder string
    id string
    The UUID of the SAML server profile
    maxClockSkew number
    name string
    sloBindings string
    sloUrl string
    snippet string
    ssoBindings string
    ssoUrl string
    tfid string
    validateIdpCertificate boolean
    wantAuthRequestsSigned boolean
    certificate str
    device str
    The device in which the resource is defined
    entity_id str
    folder str
    id str
    The UUID of the SAML server profile
    max_clock_skew int
    name str
    slo_bindings str
    slo_url str
    snippet str
    sso_bindings str
    sso_url str
    tfid str
    validate_idp_certificate bool
    want_auth_requests_signed bool
    certificate String
    device String
    The device in which the resource is defined
    entityId String
    folder String
    id String
    The UUID of the SAML server profile
    maxClockSkew Number
    name String
    sloBindings String
    sloUrl String
    snippet String
    ssoBindings String
    ssoUrl String
    tfid String
    validateIdpCertificate Boolean
    wantAuthRequestsSigned Boolean

    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