1. Packages
  2. Nexus Provider
  3. API Docs
  4. getSecurityLdap
nexus 2.6.0 published on Thursday, May 8, 2025 by datadrivers

nexus.getSecurityLdap

Start a Neo task
Explain and create a nexus.getSecurityLdap resource
nexus logo
nexus 2.6.0 published on Thursday, May 8, 2025 by datadrivers

    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<GetSecurityLdapLdap>
    List of ldap configrations
    Id string
    Used to identify data source at nexus
    Ldaps []GetSecurityLdapLdap
    List of ldap configrations
    id String
    Used to identify data source at nexus
    ldaps List<GetSecurityLdapLdap>
    List of ldap configrations
    id string
    Used to identify data source at nexus
    ldaps GetSecurityLdapLdap[]
    List of ldap configrations
    id str
    Used to identify data source at nexus
    ldaps Sequence[GetSecurityLdapLdap]
    List of ldap configrations
    id String
    Used to identify data source at nexus
    ldaps List<Property Map>
    List of ldap configrations

    Supporting Types

    GetSecurityLdapLdap

    Package Details

    Repository
    nexus datadrivers/terraform-provider-nexus
    License
    Notes
    This Pulumi package is based on the nexus Terraform Provider.
    nexus logo
    nexus 2.6.0 published on Thursday, May 8, 2025 by datadrivers
      Meet Neo: Your AI Platform Teammate