fortimanager.SystemAdminLdap
Explore with Pulumi AI
LDAP server entry configuration.
The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
adom
:fortimanager_system_admin_ldap_adom
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.SystemAdminLdap("trname", {
passwords: ["Fortinet"],
port: 390,
server: "terraform",
type: "regular",
username: "terraform-username",
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.SystemAdminLdap("trname",
passwords=["Fortinet"],
port=390,
server="terraform",
type="regular",
username="terraform-username")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fortimanager.NewSystemAdminLdap(ctx, "trname", &fortimanager.SystemAdminLdapArgs{
Passwords: pulumi.StringArray{
pulumi.String("Fortinet"),
},
Port: pulumi.Float64(390),
Server: pulumi.String("terraform"),
Type: pulumi.String("regular"),
Username: pulumi.String("terraform-username"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() =>
{
var trname = new Fortimanager.SystemAdminLdap("trname", new()
{
Passwords = new[]
{
"Fortinet",
},
Port = 390,
Server = "terraform",
Type = "regular",
Username = "terraform-username",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemAdminLdap;
import com.pulumi.fortimanager.SystemAdminLdapArgs;
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 trname = new SystemAdminLdap("trname", SystemAdminLdapArgs.builder()
.passwords("Fortinet")
.port(390)
.server("terraform")
.type("regular")
.username("terraform-username")
.build());
}
}
resources:
trname:
type: fortimanager:SystemAdminLdap
properties:
passwords:
- Fortinet
port: 390
server: terraform
type: regular
username: terraform-username
Create SystemAdminLdap Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SystemAdminLdap(name: string, args?: SystemAdminLdapArgs, opts?: CustomResourceOptions);
@overload
def SystemAdminLdap(resource_name: str,
args: Optional[SystemAdminLdapArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SystemAdminLdap(resource_name: str,
opts: Optional[ResourceOptions] = None,
adom_access: Optional[str] = None,
adom_attr: Optional[str] = None,
attributes: Optional[str] = None,
ca_cert: Optional[str] = None,
cnid: Optional[str] = None,
connect_timeout: Optional[float] = None,
dn: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
filter: Optional[str] = None,
fmgadoms: Optional[Sequence[SystemAdminLdapFmgadomArgs]] = None,
group: Optional[str] = None,
memberof_attr: Optional[str] = None,
name: Optional[str] = None,
passwords: Optional[Sequence[str]] = None,
port: Optional[float] = None,
profile_attr: Optional[str] = None,
secondary_server: Optional[str] = None,
secure: Optional[str] = None,
server: Optional[str] = None,
ssl_protocol: Optional[str] = None,
system_admin_ldap_id: Optional[str] = None,
tertiary_server: Optional[str] = None,
type: Optional[str] = None,
username: Optional[str] = None)
func NewSystemAdminLdap(ctx *Context, name string, args *SystemAdminLdapArgs, opts ...ResourceOption) (*SystemAdminLdap, error)
public SystemAdminLdap(string name, SystemAdminLdapArgs? args = null, CustomResourceOptions? opts = null)
public SystemAdminLdap(String name, SystemAdminLdapArgs args)
public SystemAdminLdap(String name, SystemAdminLdapArgs args, CustomResourceOptions options)
type: fortimanager:SystemAdminLdap
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 SystemAdminLdapArgs
- 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 SystemAdminLdapArgs
- 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 SystemAdminLdapArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SystemAdminLdapArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SystemAdminLdapArgs
- 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 systemAdminLdapResource = new Fortimanager.SystemAdminLdap("systemAdminLdapResource", new()
{
AdomAccess = "string",
AdomAttr = "string",
Attributes = "string",
CaCert = "string",
Cnid = "string",
ConnectTimeout = 0,
Dn = "string",
DynamicSortSubtable = "string",
Filter = "string",
Fmgadoms = new[]
{
new Fortimanager.Inputs.SystemAdminLdapFmgadomArgs
{
AdomName = "string",
},
},
Group = "string",
MemberofAttr = "string",
Name = "string",
Passwords = new[]
{
"string",
},
Port = 0,
ProfileAttr = "string",
SecondaryServer = "string",
Secure = "string",
Server = "string",
SslProtocol = "string",
SystemAdminLdapId = "string",
TertiaryServer = "string",
Type = "string",
Username = "string",
});
example, err := fortimanager.NewSystemAdminLdap(ctx, "systemAdminLdapResource", &fortimanager.SystemAdminLdapArgs{
AdomAccess: pulumi.String("string"),
AdomAttr: pulumi.String("string"),
Attributes: pulumi.String("string"),
CaCert: pulumi.String("string"),
Cnid: pulumi.String("string"),
ConnectTimeout: pulumi.Float64(0),
Dn: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Filter: pulumi.String("string"),
Fmgadoms: .SystemAdminLdapFmgadomArray{
&.SystemAdminLdapFmgadomArgs{
AdomName: pulumi.String("string"),
},
},
Group: pulumi.String("string"),
MemberofAttr: pulumi.String("string"),
Name: pulumi.String("string"),
Passwords: pulumi.StringArray{
pulumi.String("string"),
},
Port: pulumi.Float64(0),
ProfileAttr: pulumi.String("string"),
SecondaryServer: pulumi.String("string"),
Secure: pulumi.String("string"),
Server: pulumi.String("string"),
SslProtocol: pulumi.String("string"),
SystemAdminLdapId: pulumi.String("string"),
TertiaryServer: pulumi.String("string"),
Type: pulumi.String("string"),
Username: pulumi.String("string"),
})
var systemAdminLdapResource = new SystemAdminLdap("systemAdminLdapResource", SystemAdminLdapArgs.builder()
.adomAccess("string")
.adomAttr("string")
.attributes("string")
.caCert("string")
.cnid("string")
.connectTimeout(0)
.dn("string")
.dynamicSortSubtable("string")
.filter("string")
.fmgadoms(SystemAdminLdapFmgadomArgs.builder()
.adomName("string")
.build())
.group("string")
.memberofAttr("string")
.name("string")
.passwords("string")
.port(0)
.profileAttr("string")
.secondaryServer("string")
.secure("string")
.server("string")
.sslProtocol("string")
.systemAdminLdapId("string")
.tertiaryServer("string")
.type("string")
.username("string")
.build());
system_admin_ldap_resource = fortimanager.SystemAdminLdap("systemAdminLdapResource",
adom_access="string",
adom_attr="string",
attributes="string",
ca_cert="string",
cnid="string",
connect_timeout=0,
dn="string",
dynamic_sort_subtable="string",
filter="string",
fmgadoms=[{
"adom_name": "string",
}],
group="string",
memberof_attr="string",
name="string",
passwords=["string"],
port=0,
profile_attr="string",
secondary_server="string",
secure="string",
server="string",
ssl_protocol="string",
system_admin_ldap_id="string",
tertiary_server="string",
type="string",
username="string")
const systemAdminLdapResource = new fortimanager.SystemAdminLdap("systemAdminLdapResource", {
adomAccess: "string",
adomAttr: "string",
attributes: "string",
caCert: "string",
cnid: "string",
connectTimeout: 0,
dn: "string",
dynamicSortSubtable: "string",
filter: "string",
fmgadoms: [{
adomName: "string",
}],
group: "string",
memberofAttr: "string",
name: "string",
passwords: ["string"],
port: 0,
profileAttr: "string",
secondaryServer: "string",
secure: "string",
server: "string",
sslProtocol: "string",
systemAdminLdapId: "string",
tertiaryServer: "string",
type: "string",
username: "string",
});
type: fortimanager:SystemAdminLdap
properties:
adomAccess: string
adomAttr: string
attributes: string
caCert: string
cnid: string
connectTimeout: 0
dn: string
dynamicSortSubtable: string
filter: string
fmgadoms:
- adomName: string
group: string
memberofAttr: string
name: string
passwords:
- string
port: 0
profileAttr: string
secondaryServer: string
secure: string
server: string
sslProtocol: string
systemAdminLdapId: string
tertiaryServer: string
type: string
username: string
SystemAdminLdap 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 SystemAdminLdap resource accepts the following input properties:
- Adom
Access string - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - Adom
Attr string - Attribute used to retrieve adom
- Attributes string
- Attributes used for group searching.
- Ca
Cert string - CA certificate name.
- Cnid string
- Common Name Identifier (default = CN).
- Connect
Timeout double - LDAP connection timeout (msec).
- Dn string
- Distinguished Name.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Filter string
- Filter used for group searching.
- Fmgadoms
List<System
Admin Ldap Fmgadom> - Adom. The structure of
fmgadom
block is documented below. - Group string
- Full base DN used for group searching.
- Memberof
Attr string - Attribute used to retrieve memeberof.
- Name string
- LDAP server entry name.
- Passwords List<string>
- Password for initial binding.
- Port double
- Port number of LDAP server (default = 389).
- Profile
Attr string - Attribute used to retrieve admin profile.
- Secondary
Server string - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- Secure string
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - Server string
- {<name_str|ip_str>} LDAP server domain name or IP.
- Ssl
Protocol string - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - System
Admin stringLdap Id - an identifier for the resource with format {{name}}.
- Tertiary
Server string - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- Type string
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - Username string
- Username (full DN) for initial binding.
- Adom
Access string - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - Adom
Attr string - Attribute used to retrieve adom
- Attributes string
- Attributes used for group searching.
- Ca
Cert string - CA certificate name.
- Cnid string
- Common Name Identifier (default = CN).
- Connect
Timeout float64 - LDAP connection timeout (msec).
- Dn string
- Distinguished Name.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Filter string
- Filter used for group searching.
- Fmgadoms
[]System
Admin Ldap Fmgadom Args - Adom. The structure of
fmgadom
block is documented below. - Group string
- Full base DN used for group searching.
- Memberof
Attr string - Attribute used to retrieve memeberof.
- Name string
- LDAP server entry name.
- Passwords []string
- Password for initial binding.
- Port float64
- Port number of LDAP server (default = 389).
- Profile
Attr string - Attribute used to retrieve admin profile.
- Secondary
Server string - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- Secure string
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - Server string
- {<name_str|ip_str>} LDAP server domain name or IP.
- Ssl
Protocol string - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - System
Admin stringLdap Id - an identifier for the resource with format {{name}}.
- Tertiary
Server string - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- Type string
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - Username string
- Username (full DN) for initial binding.
- adom
Access String - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - adom
Attr String - Attribute used to retrieve adom
- attributes String
- Attributes used for group searching.
- ca
Cert String - CA certificate name.
- cnid String
- Common Name Identifier (default = CN).
- connect
Timeout Double - LDAP connection timeout (msec).
- dn String
- Distinguished Name.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter String
- Filter used for group searching.
- fmgadoms
List<System
Admin Ldap Fmgadom> - Adom. The structure of
fmgadom
block is documented below. - group String
- Full base DN used for group searching.
- memberof
Attr String - Attribute used to retrieve memeberof.
- name String
- LDAP server entry name.
- passwords List<String>
- Password for initial binding.
- port Double
- Port number of LDAP server (default = 389).
- profile
Attr String - Attribute used to retrieve admin profile.
- secondary
Server String - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- secure String
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - server String
- {<name_str|ip_str>} LDAP server domain name or IP.
- ssl
Protocol String - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - system
Admin StringLdap Id - an identifier for the resource with format {{name}}.
- tertiary
Server String - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- type String
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - username String
- Username (full DN) for initial binding.
- adom
Access string - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - adom
Attr string - Attribute used to retrieve adom
- attributes string
- Attributes used for group searching.
- ca
Cert string - CA certificate name.
- cnid string
- Common Name Identifier (default = CN).
- connect
Timeout number - LDAP connection timeout (msec).
- dn string
- Distinguished Name.
- dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter string
- Filter used for group searching.
- fmgadoms
System
Admin Ldap Fmgadom[] - Adom. The structure of
fmgadom
block is documented below. - group string
- Full base DN used for group searching.
- memberof
Attr string - Attribute used to retrieve memeberof.
- name string
- LDAP server entry name.
- passwords string[]
- Password for initial binding.
- port number
- Port number of LDAP server (default = 389).
- profile
Attr string - Attribute used to retrieve admin profile.
- secondary
Server string - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- secure string
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - server string
- {<name_str|ip_str>} LDAP server domain name or IP.
- ssl
Protocol string - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - system
Admin stringLdap Id - an identifier for the resource with format {{name}}.
- tertiary
Server string - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- type string
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - username string
- Username (full DN) for initial binding.
- adom_
access str - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - adom_
attr str - Attribute used to retrieve adom
- attributes str
- Attributes used for group searching.
- ca_
cert str - CA certificate name.
- cnid str
- Common Name Identifier (default = CN).
- connect_
timeout float - LDAP connection timeout (msec).
- dn str
- Distinguished Name.
- dynamic_
sort_ strsubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter str
- Filter used for group searching.
- fmgadoms
Sequence[System
Admin Ldap Fmgadom Args] - Adom. The structure of
fmgadom
block is documented below. - group str
- Full base DN used for group searching.
- memberof_
attr str - Attribute used to retrieve memeberof.
- name str
- LDAP server entry name.
- passwords Sequence[str]
- Password for initial binding.
- port float
- Port number of LDAP server (default = 389).
- profile_
attr str - Attribute used to retrieve admin profile.
- secondary_
server str - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- secure str
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - server str
- {<name_str|ip_str>} LDAP server domain name or IP.
- ssl_
protocol str - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - system_
admin_ strldap_ id - an identifier for the resource with format {{name}}.
- tertiary_
server str - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- type str
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - username str
- Username (full DN) for initial binding.
- adom
Access String - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - adom
Attr String - Attribute used to retrieve adom
- attributes String
- Attributes used for group searching.
- ca
Cert String - CA certificate name.
- cnid String
- Common Name Identifier (default = CN).
- connect
Timeout Number - LDAP connection timeout (msec).
- dn String
- Distinguished Name.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter String
- Filter used for group searching.
- fmgadoms List<Property Map>
- Adom. The structure of
fmgadom
block is documented below. - group String
- Full base DN used for group searching.
- memberof
Attr String - Attribute used to retrieve memeberof.
- name String
- LDAP server entry name.
- passwords List<String>
- Password for initial binding.
- port Number
- Port number of LDAP server (default = 389).
- profile
Attr String - Attribute used to retrieve admin profile.
- secondary
Server String - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- secure String
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - server String
- {<name_str|ip_str>} LDAP server domain name or IP.
- ssl
Protocol String - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - system
Admin StringLdap Id - an identifier for the resource with format {{name}}.
- tertiary
Server String - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- type String
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - username String
- Username (full DN) for initial binding.
Outputs
All input properties are implicitly available as output properties. Additionally, the SystemAdminLdap resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SystemAdminLdap Resource
Get an existing SystemAdminLdap 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?: SystemAdminLdapState, opts?: CustomResourceOptions): SystemAdminLdap
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom_access: Optional[str] = None,
adom_attr: Optional[str] = None,
attributes: Optional[str] = None,
ca_cert: Optional[str] = None,
cnid: Optional[str] = None,
connect_timeout: Optional[float] = None,
dn: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
filter: Optional[str] = None,
fmgadoms: Optional[Sequence[SystemAdminLdapFmgadomArgs]] = None,
group: Optional[str] = None,
memberof_attr: Optional[str] = None,
name: Optional[str] = None,
passwords: Optional[Sequence[str]] = None,
port: Optional[float] = None,
profile_attr: Optional[str] = None,
secondary_server: Optional[str] = None,
secure: Optional[str] = None,
server: Optional[str] = None,
ssl_protocol: Optional[str] = None,
system_admin_ldap_id: Optional[str] = None,
tertiary_server: Optional[str] = None,
type: Optional[str] = None,
username: Optional[str] = None) -> SystemAdminLdap
func GetSystemAdminLdap(ctx *Context, name string, id IDInput, state *SystemAdminLdapState, opts ...ResourceOption) (*SystemAdminLdap, error)
public static SystemAdminLdap Get(string name, Input<string> id, SystemAdminLdapState? state, CustomResourceOptions? opts = null)
public static SystemAdminLdap get(String name, Output<String> id, SystemAdminLdapState state, CustomResourceOptions options)
resources: _: type: fortimanager:SystemAdminLdap 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.
- Adom
Access string - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - Adom
Attr string - Attribute used to retrieve adom
- Attributes string
- Attributes used for group searching.
- Ca
Cert string - CA certificate name.
- Cnid string
- Common Name Identifier (default = CN).
- Connect
Timeout double - LDAP connection timeout (msec).
- Dn string
- Distinguished Name.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Filter string
- Filter used for group searching.
- Fmgadoms
List<System
Admin Ldap Fmgadom> - Adom. The structure of
fmgadom
block is documented below. - Group string
- Full base DN used for group searching.
- Memberof
Attr string - Attribute used to retrieve memeberof.
- Name string
- LDAP server entry name.
- Passwords List<string>
- Password for initial binding.
- Port double
- Port number of LDAP server (default = 389).
- Profile
Attr string - Attribute used to retrieve admin profile.
- Secondary
Server string - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- Secure string
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - Server string
- {<name_str|ip_str>} LDAP server domain name or IP.
- Ssl
Protocol string - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - System
Admin stringLdap Id - an identifier for the resource with format {{name}}.
- Tertiary
Server string - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- Type string
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - Username string
- Username (full DN) for initial binding.
- Adom
Access string - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - Adom
Attr string - Attribute used to retrieve adom
- Attributes string
- Attributes used for group searching.
- Ca
Cert string - CA certificate name.
- Cnid string
- Common Name Identifier (default = CN).
- Connect
Timeout float64 - LDAP connection timeout (msec).
- Dn string
- Distinguished Name.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Filter string
- Filter used for group searching.
- Fmgadoms
[]System
Admin Ldap Fmgadom Args - Adom. The structure of
fmgadom
block is documented below. - Group string
- Full base DN used for group searching.
- Memberof
Attr string - Attribute used to retrieve memeberof.
- Name string
- LDAP server entry name.
- Passwords []string
- Password for initial binding.
- Port float64
- Port number of LDAP server (default = 389).
- Profile
Attr string - Attribute used to retrieve admin profile.
- Secondary
Server string - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- Secure string
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - Server string
- {<name_str|ip_str>} LDAP server domain name or IP.
- Ssl
Protocol string - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - System
Admin stringLdap Id - an identifier for the resource with format {{name}}.
- Tertiary
Server string - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- Type string
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - Username string
- Username (full DN) for initial binding.
- adom
Access String - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - adom
Attr String - Attribute used to retrieve adom
- attributes String
- Attributes used for group searching.
- ca
Cert String - CA certificate name.
- cnid String
- Common Name Identifier (default = CN).
- connect
Timeout Double - LDAP connection timeout (msec).
- dn String
- Distinguished Name.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter String
- Filter used for group searching.
- fmgadoms
List<System
Admin Ldap Fmgadom> - Adom. The structure of
fmgadom
block is documented below. - group String
- Full base DN used for group searching.
- memberof
Attr String - Attribute used to retrieve memeberof.
- name String
- LDAP server entry name.
- passwords List<String>
- Password for initial binding.
- port Double
- Port number of LDAP server (default = 389).
- profile
Attr String - Attribute used to retrieve admin profile.
- secondary
Server String - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- secure String
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - server String
- {<name_str|ip_str>} LDAP server domain name or IP.
- ssl
Protocol String - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - system
Admin StringLdap Id - an identifier for the resource with format {{name}}.
- tertiary
Server String - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- type String
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - username String
- Username (full DN) for initial binding.
- adom
Access string - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - adom
Attr string - Attribute used to retrieve adom
- attributes string
- Attributes used for group searching.
- ca
Cert string - CA certificate name.
- cnid string
- Common Name Identifier (default = CN).
- connect
Timeout number - LDAP connection timeout (msec).
- dn string
- Distinguished Name.
- dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter string
- Filter used for group searching.
- fmgadoms
System
Admin Ldap Fmgadom[] - Adom. The structure of
fmgadom
block is documented below. - group string
- Full base DN used for group searching.
- memberof
Attr string - Attribute used to retrieve memeberof.
- name string
- LDAP server entry name.
- passwords string[]
- Password for initial binding.
- port number
- Port number of LDAP server (default = 389).
- profile
Attr string - Attribute used to retrieve admin profile.
- secondary
Server string - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- secure string
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - server string
- {<name_str|ip_str>} LDAP server domain name or IP.
- ssl
Protocol string - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - system
Admin stringLdap Id - an identifier for the resource with format {{name}}.
- tertiary
Server string - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- type string
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - username string
- Username (full DN) for initial binding.
- adom_
access str - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - adom_
attr str - Attribute used to retrieve adom
- attributes str
- Attributes used for group searching.
- ca_
cert str - CA certificate name.
- cnid str
- Common Name Identifier (default = CN).
- connect_
timeout float - LDAP connection timeout (msec).
- dn str
- Distinguished Name.
- dynamic_
sort_ strsubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter str
- Filter used for group searching.
- fmgadoms
Sequence[System
Admin Ldap Fmgadom Args] - Adom. The structure of
fmgadom
block is documented below. - group str
- Full base DN used for group searching.
- memberof_
attr str - Attribute used to retrieve memeberof.
- name str
- LDAP server entry name.
- passwords Sequence[str]
- Password for initial binding.
- port float
- Port number of LDAP server (default = 389).
- profile_
attr str - Attribute used to retrieve admin profile.
- secondary_
server str - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- secure str
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - server str
- {<name_str|ip_str>} LDAP server domain name or IP.
- ssl_
protocol str - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - system_
admin_ strldap_ id - an identifier for the resource with format {{name}}.
- tertiary_
server str - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- type str
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - username str
- Username (full DN) for initial binding.
- adom
Access String - set all or specify adom access type. all - All ADOMs access. specify - Specify ADOMs access. Valid values:
all
,specify
. - adom
Attr String - Attribute used to retrieve adom
- attributes String
- Attributes used for group searching.
- ca
Cert String - CA certificate name.
- cnid String
- Common Name Identifier (default = CN).
- connect
Timeout Number - LDAP connection timeout (msec).
- dn String
- Distinguished Name.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter String
- Filter used for group searching.
- fmgadoms List<Property Map>
- Adom. The structure of
fmgadom
block is documented below. - group String
- Full base DN used for group searching.
- memberof
Attr String - Attribute used to retrieve memeberof.
- name String
- LDAP server entry name.
- passwords List<String>
- Password for initial binding.
- port Number
- Port number of LDAP server (default = 389).
- profile
Attr String - Attribute used to retrieve admin profile.
- secondary
Server String - {<name_str|ip_str>} secondary LDAP server domain name or IP.
- secure String
- SSL connection. disable - No SSL. starttls - Use StartTLS. ldaps - Use LDAPS. Valid values:
disable
,starttls
,ldaps
. - server String
- {<name_str|ip_str>} LDAP server domain name or IP.
- ssl
Protocol String - set the lowest SSL protocol version for connection to ldap server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values:
follow-global-ssl-protocol
,sslv3
,tlsv1.0
,tlsv1.1
,tlsv1.2
,tlsv1.3
. - system
Admin StringLdap Id - an identifier for the resource with format {{name}}.
- tertiary
Server String - {<name_str|ip_str>} tertiary LDAP server domain name or IP.
- type String
- Type of LDAP binding. simple - Simple password authentication without search. anonymous - Bind using anonymous user search. regular - Bind using username/password and then search. Valid values:
simple
,anonymous
,regular
. - username String
- Username (full DN) for initial binding.
Supporting Types
SystemAdminLdapFmgadom, SystemAdminLdapFmgadomArgs
- Adom
Name string - Admin domain names.
- Adom
Name string - Admin domain names.
- adom
Name String - Admin domain names.
- adom
Name string - Admin domain names.
- adom_
name str - Admin domain names.
- adom
Name String - Admin domain names.
Import
System AdminLdap can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/systemAdminLdap:SystemAdminLdap labelname {{name}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the
fortimanager
Terraform Provider.