nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers
nexus.getSecurityLdap
Explore with Pulumi AI
Use this data source to read the LDAP configurations.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nexus from "@pulumi/nexus";
const _default = nexus.getSecurityLdap({});
import pulumi
import pulumi_nexus as nexus
default = nexus.get_security_ldap()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/nexus/v2/nexus"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nexus.LookupSecurityLdap(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nexus = Pulumi.Nexus;
return await Deployment.RunAsync(() =>
{
var @default = Nexus.GetSecurityLdap.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nexus.NexusFunctions;
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 default = NexusFunctions.getSecurityLdap();
}
}
variables:
default:
fn::invoke:
function: nexus:getSecurityLdap
arguments: {}
Using getSecurityLdap
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 getSecurityLdap(opts?: InvokeOptions): Promise<GetSecurityLdapResult>
function getSecurityLdapOutput(opts?: InvokeOptions): Output<GetSecurityLdapResult>
def get_security_ldap(opts: Optional[InvokeOptions] = None) -> GetSecurityLdapResult
def get_security_ldap_output(opts: Optional[InvokeOptions] = None) -> Output[GetSecurityLdapResult]
func LookupSecurityLdap(ctx *Context, opts ...InvokeOption) (*LookupSecurityLdapResult, error)
func LookupSecurityLdapOutput(ctx *Context, opts ...InvokeOption) LookupSecurityLdapResultOutput
> Note: This function is named LookupSecurityLdap
in the Go SDK.
public static class GetSecurityLdap
{
public static Task<GetSecurityLdapResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetSecurityLdapResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecurityLdapResult> getSecurityLdap(InvokeOptions options)
public static Output<GetSecurityLdapResult> getSecurityLdap(InvokeOptions options)
fn::invoke:
function: nexus:index/getSecurityLdap:getSecurityLdap
arguments:
# arguments dictionary
getSecurityLdap Result
The following output properties are available:
- Id string
- Used to identify data source at nexus
- Ldaps
List<Get
Security Ldap Ldap> - List of ldap configrations
- Id string
- Used to identify data source at nexus
- Ldaps
[]Get
Security Ldap Ldap - List of ldap configrations
- id String
- Used to identify data source at nexus
- ldaps
List<Get
Security Ldap Ldap> - List of ldap configrations
- id string
- Used to identify data source at nexus
- ldaps
Get
Security Ldap Ldap[] - List of ldap configrations
- id str
- Used to identify data source at nexus
- ldaps
Sequence[Get
Security Ldap Ldap] - List of ldap configrations
- id String
- Used to identify data source at nexus
- ldaps List<Property Map>
- List of ldap configrations
Supporting Types
GetSecurityLdapLdap
- Auth
Password string - Auth
Realm string - Auth
Schema string - Auth
Username string - Connection
Retry doubleDelay Seconds - Connection
Timeout doubleSeconds - Group
Base stringDn - Group
Id stringAttribute - Group
Member stringAttribute - Group
Member stringFormat - Group
Object stringClass - Group
Subtree string - Group
Type string - Host string
- Id string
- Ldap
Groups boolAs Roles - Max
Incident doubleCount - Name string
- Port double
- Protocol string
- Search
Base string - Use
Trust boolStore - User
Base stringDn - User
Email stringAddress Attribute - User
Id stringAttribute - User
Ldap stringFilter - User
Member stringOf Attribute - User
Object stringClass - User
Password stringAttribute - User
Real stringName Attribute - User
Subtree bool
- Auth
Password string - Auth
Realm string - Auth
Schema string - Auth
Username string - Connection
Retry float64Delay Seconds - Connection
Timeout float64Seconds - Group
Base stringDn - Group
Id stringAttribute - Group
Member stringAttribute - Group
Member stringFormat - Group
Object stringClass - Group
Subtree string - Group
Type string - Host string
- Id string
- Ldap
Groups boolAs Roles - Max
Incident float64Count - Name string
- Port float64
- Protocol string
- Search
Base string - Use
Trust boolStore - User
Base stringDn - User
Email stringAddress Attribute - User
Id stringAttribute - User
Ldap stringFilter - User
Member stringOf Attribute - User
Object stringClass - User
Password stringAttribute - User
Real stringName Attribute - User
Subtree bool
- auth
Password String - auth
Realm String - auth
Schema String - auth
Username String - connection
Retry DoubleDelay Seconds - connection
Timeout DoubleSeconds - group
Base StringDn - group
Id StringAttribute - group
Member StringAttribute - group
Member StringFormat - group
Object StringClass - group
Subtree String - group
Type String - host String
- id String
- ldap
Groups BooleanAs Roles - max
Incident DoubleCount - name String
- port Double
- protocol String
- search
Base String - use
Trust BooleanStore - user
Base StringDn - user
Email StringAddress Attribute - user
Id StringAttribute - user
Ldap StringFilter - user
Member StringOf Attribute - user
Object StringClass - user
Password StringAttribute - user
Real StringName Attribute - user
Subtree Boolean
- auth
Password string - auth
Realm string - auth
Schema string - auth
Username string - connection
Retry numberDelay Seconds - connection
Timeout numberSeconds - group
Base stringDn - group
Id stringAttribute - group
Member stringAttribute - group
Member stringFormat - group
Object stringClass - group
Subtree string - group
Type string - host string
- id string
- ldap
Groups booleanAs Roles - max
Incident numberCount - name string
- port number
- protocol string
- search
Base string - use
Trust booleanStore - user
Base stringDn - user
Email stringAddress Attribute - user
Id stringAttribute - user
Ldap stringFilter - user
Member stringOf Attribute - user
Object stringClass - user
Password stringAttribute - user
Real stringName Attribute - user
Subtree boolean
- auth_
password str - auth_
realm str - auth_
schema str - auth_
username str - connection_
retry_ floatdelay_ seconds - connection_
timeout_ floatseconds - group_
base_ strdn - group_
id_ strattribute - group_
member_ strattribute - group_
member_ strformat - group_
object_ strclass - group_
subtree str - group_
type str - host str
- id str
- ldap_
groups_ boolas_ roles - max_
incident_ floatcount - name str
- port float
- protocol str
- search_
base str - use_
trust_ boolstore - user_
base_ strdn - user_
email_ straddress_ attribute - user_
id_ strattribute - user_
ldap_ strfilter - user_
member_ strof_ attribute - user_
object_ strclass - user_
password_ strattribute - user_
real_ strname_ attribute - user_
subtree bool
- auth
Password String - auth
Realm String - auth
Schema String - auth
Username String - connection
Retry NumberDelay Seconds - connection
Timeout NumberSeconds - group
Base StringDn - group
Id StringAttribute - group
Member StringAttribute - group
Member StringFormat - group
Object StringClass - group
Subtree String - group
Type String - host String
- id String
- ldap
Groups BooleanAs Roles - max
Incident NumberCount - name String
- port Number
- protocol String
- search
Base String - use
Trust BooleanStore - user
Base StringDn - user
Email StringAddress Attribute - user
Id StringAttribute - user
Ldap StringFilter - user
Member StringOf Attribute - user
Object StringClass - user
Password StringAttribute - user
Real StringName Attribute - user
Subtree Boolean
Package Details
- Repository
- nexus datadrivers/terraform-provider-nexus
- License
- Notes
- This Pulumi package is based on the
nexus
Terraform Provider.