1. Packages
  2. Strata Cloud Manager
  3. API Docs
  4. LdapServerProfile
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

scm.LdapServerProfile

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = new scm.LdapServerProfile("example", {});
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.LdapServerProfile("example")
    
    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 {
    		_, err := scm.NewLdapServerProfile(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Scm.LdapServerProfile("example");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.LdapServerProfile;
    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) {
            var example = new LdapServerProfile("example");
    
        }
    }
    
    resources:
      example:
        type: scm:LdapServerProfile
    

    Create LdapServerProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LdapServerProfile(name: string, args: LdapServerProfileArgs, opts?: CustomResourceOptions);
    @overload
    def LdapServerProfile(resource_name: str,
                          args: LdapServerProfileArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def LdapServerProfile(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          servers: Optional[Sequence[LdapServerProfileServerArgs]] = None,
                          ldap_type: Optional[str] = None,
                          bind_password: Optional[str] = None,
                          bind_timelimit: Optional[str] = None,
                          device: Optional[str] = None,
                          folder: Optional[str] = None,
                          base: Optional[str] = None,
                          retry_interval: Optional[int] = None,
                          bind_dn: Optional[str] = None,
                          snippet: Optional[str] = None,
                          ssl: Optional[bool] = None,
                          timelimit: Optional[int] = None,
                          verify_server_certificate: Optional[bool] = None)
    func NewLdapServerProfile(ctx *Context, name string, args LdapServerProfileArgs, opts ...ResourceOption) (*LdapServerProfile, error)
    public LdapServerProfile(string name, LdapServerProfileArgs args, CustomResourceOptions? opts = null)
    public LdapServerProfile(String name, LdapServerProfileArgs args)
    public LdapServerProfile(String name, LdapServerProfileArgs args, CustomResourceOptions options)
    
    type: scm:LdapServerProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LdapServerProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LdapServerProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LdapServerProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LdapServerProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LdapServerProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ldapServerProfileResource = new Scm.LdapServerProfile("ldapServerProfileResource", new()
    {
        Servers = new[]
        {
            new Scm.Inputs.LdapServerProfileServerArgs
            {
                Address = "string",
                Name = "string",
                Port = 0,
            },
        },
        LdapType = "string",
        BindPassword = "string",
        BindTimelimit = "string",
        Device = "string",
        Folder = "string",
        Base = "string",
        RetryInterval = 0,
        BindDn = "string",
        Snippet = "string",
        Ssl = false,
        Timelimit = 0,
        VerifyServerCertificate = false,
    });
    
    example, err := scm.NewLdapServerProfile(ctx, "ldapServerProfileResource", &scm.LdapServerProfileArgs{
    	Servers: scm.LdapServerProfileServerArray{
    		&scm.LdapServerProfileServerArgs{
    			Address: pulumi.String("string"),
    			Name:    pulumi.String("string"),
    			Port:    pulumi.Int(0),
    		},
    	},
    	LdapType:                pulumi.String("string"),
    	BindPassword:            pulumi.String("string"),
    	BindTimelimit:           pulumi.String("string"),
    	Device:                  pulumi.String("string"),
    	Folder:                  pulumi.String("string"),
    	Base:                    pulumi.String("string"),
    	RetryInterval:           pulumi.Int(0),
    	BindDn:                  pulumi.String("string"),
    	Snippet:                 pulumi.String("string"),
    	Ssl:                     pulumi.Bool(false),
    	Timelimit:               pulumi.Int(0),
    	VerifyServerCertificate: pulumi.Bool(false),
    })
    
    var ldapServerProfileResource = new LdapServerProfile("ldapServerProfileResource", LdapServerProfileArgs.builder()
        .servers(LdapServerProfileServerArgs.builder()
            .address("string")
            .name("string")
            .port(0)
            .build())
        .ldapType("string")
        .bindPassword("string")
        .bindTimelimit("string")
        .device("string")
        .folder("string")
        .base("string")
        .retryInterval(0)
        .bindDn("string")
        .snippet("string")
        .ssl(false)
        .timelimit(0)
        .verifyServerCertificate(false)
        .build());
    
    ldap_server_profile_resource = scm.LdapServerProfile("ldapServerProfileResource",
        servers=[scm.LdapServerProfileServerArgs(
            address="string",
            name="string",
            port=0,
        )],
        ldap_type="string",
        bind_password="string",
        bind_timelimit="string",
        device="string",
        folder="string",
        base="string",
        retry_interval=0,
        bind_dn="string",
        snippet="string",
        ssl=False,
        timelimit=0,
        verify_server_certificate=False)
    
    const ldapServerProfileResource = new scm.LdapServerProfile("ldapServerProfileResource", {
        servers: [{
            address: "string",
            name: "string",
            port: 0,
        }],
        ldapType: "string",
        bindPassword: "string",
        bindTimelimit: "string",
        device: "string",
        folder: "string",
        base: "string",
        retryInterval: 0,
        bindDn: "string",
        snippet: "string",
        ssl: false,
        timelimit: 0,
        verifyServerCertificate: false,
    });
    
    type: scm:LdapServerProfile
    properties:
        base: string
        bindDn: string
        bindPassword: string
        bindTimelimit: string
        device: string
        folder: string
        ldapType: string
        retryInterval: 0
        servers:
            - address: string
              name: string
              port: 0
        snippet: string
        ssl: false
        timelimit: 0
        verifyServerCertificate: false
    

    LdapServerProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The LdapServerProfile resource accepts the following input properties:

    Servers List<LdapServerProfileServer>
    The Servers param.
    Base string
    The Base param. String length must not exceed 255 characters.
    BindDn string
    The BindDn param. String length must not exceed 255 characters.
    BindPassword string
    The BindPassword param. String length must not exceed 121 characters.
    BindTimelimit string
    The BindTimelimit param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    LdapType string
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    RetryInterval int
    The RetryInterval param.
    Snippet string
    The Snippet param.
    Ssl bool
    The Ssl param.
    Timelimit int
    The Timelimit param.
    VerifyServerCertificate bool
    The VerifyServerCertificate param.
    Servers []LdapServerProfileServerArgs
    The Servers param.
    Base string
    The Base param. String length must not exceed 255 characters.
    BindDn string
    The BindDn param. String length must not exceed 255 characters.
    BindPassword string
    The BindPassword param. String length must not exceed 121 characters.
    BindTimelimit string
    The BindTimelimit param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    LdapType string
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    RetryInterval int
    The RetryInterval param.
    Snippet string
    The Snippet param.
    Ssl bool
    The Ssl param.
    Timelimit int
    The Timelimit param.
    VerifyServerCertificate bool
    The VerifyServerCertificate param.
    servers List<LdapServerProfileServer>
    The Servers param.
    base String
    The Base param. String length must not exceed 255 characters.
    bindDn String
    The BindDn param. String length must not exceed 255 characters.
    bindPassword String
    The BindPassword param. String length must not exceed 121 characters.
    bindTimelimit String
    The BindTimelimit param.
    device String
    The Device param.
    folder String
    The Folder param.
    ldapType String
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    retryInterval Integer
    The RetryInterval param.
    snippet String
    The Snippet param.
    ssl Boolean
    The Ssl param.
    timelimit Integer
    The Timelimit param.
    verifyServerCertificate Boolean
    The VerifyServerCertificate param.
    servers LdapServerProfileServer[]
    The Servers param.
    base string
    The Base param. String length must not exceed 255 characters.
    bindDn string
    The BindDn param. String length must not exceed 255 characters.
    bindPassword string
    The BindPassword param. String length must not exceed 121 characters.
    bindTimelimit string
    The BindTimelimit param.
    device string
    The Device param.
    folder string
    The Folder param.
    ldapType string
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    retryInterval number
    The RetryInterval param.
    snippet string
    The Snippet param.
    ssl boolean
    The Ssl param.
    timelimit number
    The Timelimit param.
    verifyServerCertificate boolean
    The VerifyServerCertificate param.
    servers Sequence[LdapServerProfileServerArgs]
    The Servers param.
    base str
    The Base param. String length must not exceed 255 characters.
    bind_dn str
    The BindDn param. String length must not exceed 255 characters.
    bind_password str
    The BindPassword param. String length must not exceed 121 characters.
    bind_timelimit str
    The BindTimelimit param.
    device str
    The Device param.
    folder str
    The Folder param.
    ldap_type str
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    retry_interval int
    The RetryInterval param.
    snippet str
    The Snippet param.
    ssl bool
    The Ssl param.
    timelimit int
    The Timelimit param.
    verify_server_certificate bool
    The VerifyServerCertificate param.
    servers List<Property Map>
    The Servers param.
    base String
    The Base param. String length must not exceed 255 characters.
    bindDn String
    The BindDn param. String length must not exceed 255 characters.
    bindPassword String
    The BindPassword param. String length must not exceed 121 characters.
    bindTimelimit String
    The BindTimelimit param.
    device String
    The Device param.
    folder String
    The Folder param.
    ldapType String
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    retryInterval Number
    The RetryInterval param.
    snippet String
    The Snippet param.
    ssl Boolean
    The Ssl param.
    timelimit Number
    The Timelimit param.
    verifyServerCertificate Boolean
    The VerifyServerCertificate param.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LdapServerProfile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String

    Look up Existing LdapServerProfile Resource

    Get an existing LdapServerProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LdapServerProfileState, opts?: CustomResourceOptions): LdapServerProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            base: Optional[str] = None,
            bind_dn: Optional[str] = None,
            bind_password: Optional[str] = None,
            bind_timelimit: Optional[str] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            ldap_type: Optional[str] = None,
            retry_interval: Optional[int] = None,
            servers: Optional[Sequence[LdapServerProfileServerArgs]] = None,
            snippet: Optional[str] = None,
            ssl: Optional[bool] = None,
            tfid: Optional[str] = None,
            timelimit: Optional[int] = None,
            verify_server_certificate: Optional[bool] = None) -> LdapServerProfile
    func GetLdapServerProfile(ctx *Context, name string, id IDInput, state *LdapServerProfileState, opts ...ResourceOption) (*LdapServerProfile, error)
    public static LdapServerProfile Get(string name, Input<string> id, LdapServerProfileState? state, CustomResourceOptions? opts = null)
    public static LdapServerProfile get(String name, Output<String> id, LdapServerProfileState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Base string
    The Base param. String length must not exceed 255 characters.
    BindDn string
    The BindDn param. String length must not exceed 255 characters.
    BindPassword string
    The BindPassword param. String length must not exceed 121 characters.
    BindTimelimit string
    The BindTimelimit param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    LdapType string
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    RetryInterval int
    The RetryInterval param.
    Servers List<LdapServerProfileServer>
    The Servers param.
    Snippet string
    The Snippet param.
    Ssl bool
    The Ssl param.
    Tfid string
    Timelimit int
    The Timelimit param.
    VerifyServerCertificate bool
    The VerifyServerCertificate param.
    Base string
    The Base param. String length must not exceed 255 characters.
    BindDn string
    The BindDn param. String length must not exceed 255 characters.
    BindPassword string
    The BindPassword param. String length must not exceed 121 characters.
    BindTimelimit string
    The BindTimelimit param.
    Device string
    The Device param.
    Folder string
    The Folder param.
    LdapType string
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    RetryInterval int
    The RetryInterval param.
    Servers []LdapServerProfileServerArgs
    The Servers param.
    Snippet string
    The Snippet param.
    Ssl bool
    The Ssl param.
    Tfid string
    Timelimit int
    The Timelimit param.
    VerifyServerCertificate bool
    The VerifyServerCertificate param.
    base String
    The Base param. String length must not exceed 255 characters.
    bindDn String
    The BindDn param. String length must not exceed 255 characters.
    bindPassword String
    The BindPassword param. String length must not exceed 121 characters.
    bindTimelimit String
    The BindTimelimit param.
    device String
    The Device param.
    folder String
    The Folder param.
    ldapType String
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    retryInterval Integer
    The RetryInterval param.
    servers List<LdapServerProfileServer>
    The Servers param.
    snippet String
    The Snippet param.
    ssl Boolean
    The Ssl param.
    tfid String
    timelimit Integer
    The Timelimit param.
    verifyServerCertificate Boolean
    The VerifyServerCertificate param.
    base string
    The Base param. String length must not exceed 255 characters.
    bindDn string
    The BindDn param. String length must not exceed 255 characters.
    bindPassword string
    The BindPassword param. String length must not exceed 121 characters.
    bindTimelimit string
    The BindTimelimit param.
    device string
    The Device param.
    folder string
    The Folder param.
    ldapType string
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    retryInterval number
    The RetryInterval param.
    servers LdapServerProfileServer[]
    The Servers param.
    snippet string
    The Snippet param.
    ssl boolean
    The Ssl param.
    tfid string
    timelimit number
    The Timelimit param.
    verifyServerCertificate boolean
    The VerifyServerCertificate param.
    base str
    The Base param. String length must not exceed 255 characters.
    bind_dn str
    The BindDn param. String length must not exceed 255 characters.
    bind_password str
    The BindPassword param. String length must not exceed 121 characters.
    bind_timelimit str
    The BindTimelimit param.
    device str
    The Device param.
    folder str
    The Folder param.
    ldap_type str
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    retry_interval int
    The RetryInterval param.
    servers Sequence[LdapServerProfileServerArgs]
    The Servers param.
    snippet str
    The Snippet param.
    ssl bool
    The Ssl param.
    tfid str
    timelimit int
    The Timelimit param.
    verify_server_certificate bool
    The VerifyServerCertificate param.
    base String
    The Base param. String length must not exceed 255 characters.
    bindDn String
    The BindDn param. String length must not exceed 255 characters.
    bindPassword String
    The BindPassword param. String length must not exceed 121 characters.
    bindTimelimit String
    The BindTimelimit param.
    device String
    The Device param.
    folder String
    The Folder param.
    ldapType String
    The LdapType param. String must be one of these: "active-directory", "e-directory", "sun", "other".
    retryInterval Number
    The RetryInterval param.
    servers List<Property Map>
    The Servers param.
    snippet String
    The Snippet param.
    ssl Boolean
    The Ssl param.
    tfid String
    timelimit Number
    The Timelimit param.
    verifyServerCertificate Boolean
    The VerifyServerCertificate param.

    Supporting Types

    LdapServerProfileServer, LdapServerProfileServerArgs

    Address string
    The Address param.
    Name string
    The Name param.
    Port int
    The Port param. Value must be between 1 and 65535.
    Address string
    The Address param.
    Name string
    The Name param.
    Port int
    The Port param. Value must be between 1 and 65535.
    address String
    The Address param.
    name String
    The Name param.
    port Integer
    The Port param. Value must be between 1 and 65535.
    address string
    The Address param.
    name string
    The Name param.
    port number
    The Port param. Value must be between 1 and 65535.
    address str
    The Address param.
    name str
    The Name param.
    port int
    The Port param. Value must be between 1 and 65535.
    address String
    The Address param.
    name String
    The Name param.
    port Number
    The Port param. Value must be between 1 and 65535.

    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 v0.1.1 published on Friday, May 31, 2024 by Pulumi