Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi
LdapServerProfile data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
//
// Data source to retrieve a single SCM LDAP Server Profile object by its ID.
//
// Replace the ID with the UUID of the LDAP Server Profile you want to find.
const ldapServerProf = scm.getLdapServerProfile({
id: "a5006a3e-52b3-435e-9e3b-39b50dc72401",
});
export const scmLdapServerProfileDetails = {
id: ldapServerProf.then(ldapServerProf => ldapServerProf.id),
folder: ldapServerProf.then(ldapServerProf => ldapServerProf.folder),
name: ldapServerProf.then(ldapServerProf => ldapServerProf.name),
};
import pulumi
import pulumi_scm as scm
#
# Data source to retrieve a single SCM LDAP Server Profile object by its ID.
#
# Replace the ID with the UUID of the LDAP Server Profile you want to find.
ldap_server_prof = scm.get_ldap_server_profile(id="a5006a3e-52b3-435e-9e3b-39b50dc72401")
pulumi.export("scmLdapServerProfileDetails", {
"id": ldap_server_prof.id,
"folder": ldap_server_prof.folder,
"name": ldap_server_prof.name,
})
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 LDAP Server Profile object by its ID.
//
// Replace the ID with the UUID of the LDAP Server Profile you want to find.
ldapServerProf, err := scm.GetLdapServerProfile(ctx, &scm.LookupLdapServerProfileArgs{
Id: "a5006a3e-52b3-435e-9e3b-39b50dc72401",
}, nil)
if err != nil {
return err
}
ctx.Export("scmLdapServerProfileDetails", pulumi.StringMap{
"id": ldapServerProf.Id,
"folder": ldapServerProf.Folder,
"name": ldapServerProf.Name,
})
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 LDAP Server Profile object by its ID.
//
// Replace the ID with the UUID of the LDAP Server Profile you want to find.
var ldapServerProf = Scm.GetLdapServerProfile.Invoke(new()
{
Id = "a5006a3e-52b3-435e-9e3b-39b50dc72401",
});
return new Dictionary<string, object?>
{
["scmLdapServerProfileDetails"] = new Dictionary<string, object?>
{
["id"] = ldapServerProf.Apply(getLdapServerProfileResult => getLdapServerProfileResult.Id),
["folder"] = ldapServerProf.Apply(getLdapServerProfileResult => getLdapServerProfileResult.Folder),
["name"] = ldapServerProf.Apply(getLdapServerProfileResult => getLdapServerProfileResult.Name),
},
};
});
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.GetLdapServerProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 LDAP Server Profile object by its ID.
//
// Replace the ID with the UUID of the LDAP Server Profile you want to find.
final var ldapServerProf = ScmFunctions.getLdapServerProfile(GetLdapServerProfileArgs.builder()
.id("a5006a3e-52b3-435e-9e3b-39b50dc72401")
.build());
ctx.export("scmLdapServerProfileDetails", Map.ofEntries(
Map.entry("id", ldapServerProf.id()),
Map.entry("folder", ldapServerProf.folder()),
Map.entry("name", ldapServerProf.name())
));
}
}
variables:
#
# Data source to retrieve a single SCM LDAP Server Profile object by its ID.
#
# Replace the ID with the UUID of the LDAP Server Profile you want to find.
ldapServerProf:
fn::invoke:
function: scm:getLdapServerProfile
arguments:
id: a5006a3e-52b3-435e-9e3b-39b50dc72401
outputs:
# Output the details of the single LDAP Server Profile object found.
scmLdapServerProfileDetails:
id: ${ldapServerProf.id}
folder: ${ldapServerProf.folder}
name: ${ldapServerProf.name}
terraform {
required_providers {
scm = {
source = "pulumi/scm"
}
}
}
data "scm_ldap_server_profile" "ldapServerProf" {
id = "a5006a3e-52b3-435e-9e3b-39b50dc72401"
}
#
# Data source to retrieve a single SCM LDAP Server Profile object by its ID.
#
# Replace the ID with the UUID of the LDAP Server Profile you want to find.
# Output the details of the single LDAP Server Profile object found.
output "scmLdapServerProfileDetails" {
value = {
"id" = data.scm_ldap_server_profile.ldapServerProf.id
"folder" = data.scm_ldap_server_profile.ldapServerProf.folder
"name" = data.scm_ldap_server_profile.ldapServerProf.name
}
}
Using getLdapServerProfile
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 getLdapServerProfile(args: GetLdapServerProfileArgs, opts?: InvokeOptions): Promise<GetLdapServerProfileResult>
function getLdapServerProfileOutput(args: GetLdapServerProfileOutputArgs, opts?: InvokeOutputOptions): Output<GetLdapServerProfileResult>def get_ldap_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) -> GetLdapServerProfileResult
def get_ldap_server_profile_output(device: pulumi.Input[Optional[str]] = None,
folder: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
snippet: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetLdapServerProfileResult]func LookupLdapServerProfile(ctx *Context, args *LookupLdapServerProfileArgs, opts ...InvokeOption) (*LookupLdapServerProfileResult, error)
func LookupLdapServerProfileOutput(ctx *Context, args *LookupLdapServerProfileOutputArgs, opts ...InvokeOption) LookupLdapServerProfileResultOutput> Note: This function is named LookupLdapServerProfile in the Go SDK.
public static class GetLdapServerProfile
{
public static Task<GetLdapServerProfileResult> InvokeAsync(GetLdapServerProfileArgs args, InvokeOptions? opts = null)
public static Output<GetLdapServerProfileResult> Invoke(GetLdapServerProfileInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetLdapServerProfileResult> Invoke(GetLdapServerProfileInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetLdapServerProfileResult> getLdapServerProfile(GetLdapServerProfileArgs args, InvokeOptions options)
public static Output<GetLdapServerProfileResult> getLdapServerProfile(GetLdapServerProfileArgs args, InvokeOptions options)
public static Output<GetLdapServerProfileResult> getLdapServerProfile(GetLdapServerProfileArgs args, InvokeOutputOptions options)
fn::invoke:
function: scm:index/getLdapServerProfile:getLdapServerProfile
arguments:
# arguments dictionarydata "scm_get_ldap_server_profile" "name" {
# arguments
}The following arguments are supported:
getLdapServerProfile Result
The following output properties are available:
- Base string
- The base DN
- Bind
Dn string - The bind DN
- Bind
Password string - The bind password
- Bind
Timelimit string - The bind timeout (seconds)
- Device string
- The device in which the resource is defined
- 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 LDAP server profile
- Ldap
Type string - The LDAP server time. Possible values are
active-directory,e-directory,sunandother. - Name string
- The name of the LDAP server profile
- Retry
Interval int - The search retry interval (seconds)
- Servers
List<Get
Ldap Server Profile Server> - The LDAP server configuration
- Snippet string
- The snippet in which the resource is defined
- Ssl bool
- Require SSL/TLS secured connection?
- Tfid string
- The Terraform ID.
- Timelimit int
- The search timeout (seconds)
- Verify
Server boolCertificate - Verify server certificate for SSL sessions?
- Base string
- The base DN
- Bind
Dn string - The bind DN
- Bind
Password string - The bind password
- Bind
Timelimit string - The bind timeout (seconds)
- Device string
- The device in which the resource is defined
- 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 LDAP server profile
- Ldap
Type string - The LDAP server time. Possible values are
active-directory,e-directory,sunandother. - Name string
- The name of the LDAP server profile
- Retry
Interval int - The search retry interval (seconds)
- Servers
[]Get
Ldap Server Profile Server - The LDAP server configuration
- Snippet string
- The snippet in which the resource is defined
- Ssl bool
- Require SSL/TLS secured connection?
- Tfid string
- The Terraform ID.
- Timelimit int
- The search timeout (seconds)
- Verify
Server boolCertificate - Verify server certificate for SSL sessions?
- base string
- The base DN
- bind_
dn string - The bind DN
- bind_
password string - The bind password
- bind_
timelimit string - The bind timeout (seconds)
- device string
- The device in which the resource is defined
- 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 LDAP server profile
- ldap_
type string - The LDAP server time. Possible values are
active-directory,e-directory,sunandother. - name string
- The name of the LDAP server profile
- retry_
interval number - The search retry interval (seconds)
- servers list(object)
- The LDAP server configuration
- snippet string
- The snippet in which the resource is defined
- ssl bool
- Require SSL/TLS secured connection?
- tfid string
- The Terraform ID.
- timelimit number
- The search timeout (seconds)
- verify_
server_ boolcertificate - Verify server certificate for SSL sessions?
- base String
- The base DN
- bind
Dn String - The bind DN
- bind
Password String - The bind password
- bind
Timelimit String - The bind timeout (seconds)
- device String
- The device in which the resource is defined
- 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 LDAP server profile
- ldap
Type String - The LDAP server time. Possible values are
active-directory,e-directory,sunandother. - name String
- The name of the LDAP server profile
- retry
Interval Integer - The search retry interval (seconds)
- servers
List<Get
Ldap Server Profile Server> - The LDAP server configuration
- snippet String
- The snippet in which the resource is defined
- ssl Boolean
- Require SSL/TLS secured connection?
- tfid String
- The Terraform ID.
- timelimit Integer
- The search timeout (seconds)
- verify
Server BooleanCertificate - Verify server certificate for SSL sessions?
- base string
- The base DN
- bind
Dn string - The bind DN
- bind
Password string - The bind password
- bind
Timelimit string - The bind timeout (seconds)
- device string
- The device in which the resource is defined
- 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 LDAP server profile
- ldap
Type string - The LDAP server time. Possible values are
active-directory,e-directory,sunandother. - name string
- The name of the LDAP server profile
- retry
Interval number - The search retry interval (seconds)
- servers
Get
Ldap Server Profile Server[] - The LDAP server configuration
- snippet string
- The snippet in which the resource is defined
- ssl boolean
- Require SSL/TLS secured connection?
- tfid string
- The Terraform ID.
- timelimit number
- The search timeout (seconds)
- verify
Server booleanCertificate - Verify server certificate for SSL sessions?
- base str
- The base DN
- bind_
dn str - The bind DN
- bind_
password str - The bind password
- bind_
timelimit str - The bind timeout (seconds)
- device str
- The device in which the resource is defined
- 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 LDAP server profile
- ldap_
type str - The LDAP server time. Possible values are
active-directory,e-directory,sunandother. - name str
- The name of the LDAP server profile
- retry_
interval int - The search retry interval (seconds)
- servers
Sequence[Get
Ldap Server Profile Server] - The LDAP server configuration
- snippet str
- The snippet in which the resource is defined
- ssl bool
- Require SSL/TLS secured connection?
- tfid str
- The Terraform ID.
- timelimit int
- The search timeout (seconds)
- verify_
server_ boolcertificate - Verify server certificate for SSL sessions?
- base String
- The base DN
- bind
Dn String - The bind DN
- bind
Password String - The bind password
- bind
Timelimit String - The bind timeout (seconds)
- device String
- The device in which the resource is defined
- 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 LDAP server profile
- ldap
Type String - The LDAP server time. Possible values are
active-directory,e-directory,sunandother. - name String
- The name of the LDAP server profile
- retry
Interval Number - The search retry interval (seconds)
- servers List<Property Map>
- The LDAP server configuration
- snippet String
- The snippet in which the resource is defined
- ssl Boolean
- Require SSL/TLS secured connection?
- tfid String
- The Terraform ID.
- timelimit Number
- The search timeout (seconds)
- verify
Server BooleanCertificate - Verify server certificate for SSL sessions?
Supporting Types
GetLdapServerProfileServer
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi