LdapServerProfile resource
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,
bind_timelimit: Optional[str] = None,
bind_password: Optional[str] = None,
base: Optional[str] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
ldap_type: Optional[str] = None,
name: 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,
},
},
BindTimelimit = "string",
BindPassword = "string",
Base = "string",
Device = "string",
Folder = "string",
LdapType = "string",
Name = "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),
},
},
BindTimelimit: pulumi.String("string"),
BindPassword: pulumi.String("string"),
Base: pulumi.String("string"),
Device: pulumi.String("string"),
Folder: pulumi.String("string"),
LdapType: pulumi.String("string"),
Name: 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())
.bindTimelimit("string")
.bindPassword("string")
.base("string")
.device("string")
.folder("string")
.ldapType("string")
.name("string")
.retryInterval(0)
.bindDn("string")
.snippet("string")
.ssl(false)
.timelimit(0)
.verifyServerCertificate(false)
.build());
ldap_server_profile_resource = scm.LdapServerProfile("ldapServerProfileResource",
servers=[{
"address": "string",
"name": "string",
"port": 0,
}],
bind_timelimit="string",
bind_password="string",
base="string",
device="string",
folder="string",
ldap_type="string",
name="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,
}],
bindTimelimit: "string",
bindPassword: "string",
base: "string",
device: "string",
folder: "string",
ldapType: "string",
name: "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
name: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LdapServerProfile resource accepts the following input properties:
- Servers
List<Ldap
Server Profile Server> - The LDAP server configuration
- 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
- Folder string
- The folder in which the resource is defined
- Ldap
Type string - The LDAP server time
- Name string
- The name of the LDAP server profile
- Retry
Interval int - The search retry interval (seconds)
- Snippet string
- The snippet in which the resource is defined
- Ssl bool
- Require SSL/TLS secured connection?
- Timelimit int
- The search timeout (seconds)
- Verify
Server boolCertificate - Verify server certificate for SSL sessions?
- Servers
[]Ldap
Server Profile Server Args - The LDAP server configuration
- 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
- Folder string
- The folder in which the resource is defined
- Ldap
Type string - The LDAP server time
- Name string
- The name of the LDAP server profile
- Retry
Interval int - The search retry interval (seconds)
- Snippet string
- The snippet in which the resource is defined
- Ssl bool
- Require SSL/TLS secured connection?
- Timelimit int
- The search timeout (seconds)
- Verify
Server boolCertificate - Verify server certificate for SSL sessions?
- servers
List<Ldap
Server Profile Server> - The LDAP server configuration
- 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
- folder String
- The folder in which the resource is defined
- ldap
Type String - The LDAP server time
- name String
- The name of the LDAP server profile
- retry
Interval Integer - The search retry interval (seconds)
- snippet String
- The snippet in which the resource is defined
- ssl Boolean
- Require SSL/TLS secured connection?
- timelimit Integer
- The search timeout (seconds)
- verify
Server BooleanCertificate - Verify server certificate for SSL sessions?
- servers
Ldap
Server Profile Server[] - The LDAP server configuration
- 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
- folder string
- The folder in which the resource is defined
- ldap
Type string - The LDAP server time
- name string
- The name of the LDAP server profile
- retry
Interval number - The search retry interval (seconds)
- snippet string
- The snippet in which the resource is defined
- ssl boolean
- Require SSL/TLS secured connection?
- timelimit number
- The search timeout (seconds)
- verify
Server booleanCertificate - Verify server certificate for SSL sessions?
- servers
Sequence[Ldap
Server Profile Server Args] - The LDAP server configuration
- 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
- folder str
- The folder in which the resource is defined
- ldap_
type str - The LDAP server time
- name str
- The name of the LDAP server profile
- retry_
interval int - The search retry interval (seconds)
- snippet str
- The snippet in which the resource is defined
- ssl bool
- Require SSL/TLS secured connection?
- timelimit int
- The search timeout (seconds)
- verify_
server_ boolcertificate - Verify server certificate for SSL sessions?
- servers List<Property Map>
- The LDAP server configuration
- 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
- folder String
- The folder in which the resource is defined
- ldap
Type String - The LDAP server time
- name String
- The name of the LDAP server profile
- retry
Interval Number - The search retry interval (seconds)
- snippet String
- The snippet in which the resource is defined
- ssl Boolean
- Require SSL/TLS secured connection?
- timelimit Number
- The search timeout (seconds)
- verify
Server BooleanCertificate - Verify server certificate for SSL sessions?
Outputs
All input properties are implicitly available as output properties. Additionally, the LdapServerProfile resource produces the following output properties:
- Encrypted
Values Dictionary<string, string> - Map of sensitive values returned from the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- Encrypted
Values map[string]string - Map of sensitive values returned from the API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- encrypted
Values Map<String,String> - Map of sensitive values returned from the API.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- encrypted
Values {[key: string]: string} - Map of sensitive values returned from the API.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- encrypted_
values Mapping[str, str] - Map of sensitive values returned from the API.
- id str
- The provider-assigned unique ID for this managed resource.
- tfid str
- encrypted
Values Map<String> - Map of sensitive values returned from the API.
- 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,
encrypted_values: Optional[Mapping[str, str]] = None,
folder: Optional[str] = None,
ldap_type: Optional[str] = None,
name: 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) -> LdapServerProfilefunc 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)resources: _: type: scm:LdapServerProfile get: id: ${id}- 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.
- 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
- Ldap
Type string - The LDAP server time
- Name string
- The name of the LDAP server profile
- Retry
Interval int - The search retry interval (seconds)
- Servers
List<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
- 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
- Ldap
Type string - The LDAP server time
- Name string
- The name of the LDAP server profile
- Retry
Interval int - The search retry interval (seconds)
- Servers
[]Ldap
Server Profile Server Args - The LDAP server configuration
- Snippet string
- The snippet in which the resource is defined
- Ssl bool
- Require SSL/TLS secured connection?
- Tfid string
- 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
- ldap
Type String - The LDAP server time
- name String
- The name of the LDAP server profile
- retry
Interval Integer - The search retry interval (seconds)
- servers
List<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
- 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
- ldap
Type string - The LDAP server time
- name string
- The name of the LDAP server profile
- retry
Interval number - The search retry interval (seconds)
- servers
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
- 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
- ldap_
type str - The LDAP server time
- name str
- The name of the LDAP server profile
- retry_
interval int - The search retry interval (seconds)
- servers
Sequence[Ldap
Server Profile Server Args] - The LDAP server configuration
- snippet str
- The snippet in which the resource is defined
- ssl bool
- Require SSL/TLS secured connection?
- tfid str
- 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
- ldap
Type String - The LDAP server time
- 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
- timelimit Number
- The search timeout (seconds)
- verify
Server BooleanCertificate - Verify server certificate for SSL sessions?
Supporting Types
LdapServerProfileServer, LdapServerProfileServerArgs
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
