1. Packages
  2. Fortios
  3. API Docs
  4. user
  5. Domaincontroller
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.user.Domaincontroller

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure domain controller entries.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname1 = new fortios.user.Ldap("trname1", {
        accountKeyFilter: "(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))",
        accountKeyProcessing: "same",
        cnid: "cn",
        dn: "EIWNCIEW",
        groupMemberCheck: "user-attr",
        groupObjectFilter: "(&(objectcategory=group)(member=*))",
        memberAttr: "memberOf",
        passwordExpiryWarning: "disable",
        passwordRenewal: "disable",
        port: 389,
        secure: "disable",
        server: "1.1.1.1",
        serverIdentityCheck: "disable",
        sourceIp: "0.0.0.0",
        sslMinProtoVersion: "default",
        type: "simple",
    });
    const trname = new fortios.user.Domaincontroller("trname", {
        domainName: "s.com",
        ipAddress: "1.1.1.1",
        ldapServer: trname1.name,
        port: 445,
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname1 = fortios.user.Ldap("trname1",
        account_key_filter="(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))",
        account_key_processing="same",
        cnid="cn",
        dn="EIWNCIEW",
        group_member_check="user-attr",
        group_object_filter="(&(objectcategory=group)(member=*))",
        member_attr="memberOf",
        password_expiry_warning="disable",
        password_renewal="disable",
        port=389,
        secure="disable",
        server="1.1.1.1",
        server_identity_check="disable",
        source_ip="0.0.0.0",
        ssl_min_proto_version="default",
        type="simple")
    trname = fortios.user.Domaincontroller("trname",
        domain_name="s.com",
        ip_address="1.1.1.1",
        ldap_server=trname1.name,
        port=445)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/user"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		trname1, err := user.NewLdap(ctx, "trname1", &user.LdapArgs{
    			AccountKeyFilter:      pulumi.String("(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))"),
    			AccountKeyProcessing:  pulumi.String("same"),
    			Cnid:                  pulumi.String("cn"),
    			Dn:                    pulumi.String("EIWNCIEW"),
    			GroupMemberCheck:      pulumi.String("user-attr"),
    			GroupObjectFilter:     pulumi.String("(&(objectcategory=group)(member=*))"),
    			MemberAttr:            pulumi.String("memberOf"),
    			PasswordExpiryWarning: pulumi.String("disable"),
    			PasswordRenewal:       pulumi.String("disable"),
    			Port:                  pulumi.Int(389),
    			Secure:                pulumi.String("disable"),
    			Server:                pulumi.String("1.1.1.1"),
    			ServerIdentityCheck:   pulumi.String("disable"),
    			SourceIp:              pulumi.String("0.0.0.0"),
    			SslMinProtoVersion:    pulumi.String("default"),
    			Type:                  pulumi.String("simple"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = user.NewDomaincontroller(ctx, "trname", &user.DomaincontrollerArgs{
    			DomainName: pulumi.String("s.com"),
    			IpAddress:  pulumi.String("1.1.1.1"),
    			LdapServer: trname1.Name,
    			Port:       pulumi.Int(445),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname1 = new Fortios.User.Ldap("trname1", new()
        {
            AccountKeyFilter = "(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))",
            AccountKeyProcessing = "same",
            Cnid = "cn",
            Dn = "EIWNCIEW",
            GroupMemberCheck = "user-attr",
            GroupObjectFilter = "(&(objectcategory=group)(member=*))",
            MemberAttr = "memberOf",
            PasswordExpiryWarning = "disable",
            PasswordRenewal = "disable",
            Port = 389,
            Secure = "disable",
            Server = "1.1.1.1",
            ServerIdentityCheck = "disable",
            SourceIp = "0.0.0.0",
            SslMinProtoVersion = "default",
            Type = "simple",
        });
    
        var trname = new Fortios.User.Domaincontroller("trname", new()
        {
            DomainName = "s.com",
            IpAddress = "1.1.1.1",
            LdapServer = trname1.Name,
            Port = 445,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.user.Ldap;
    import com.pulumi.fortios.user.LdapArgs;
    import com.pulumi.fortios.user.Domaincontroller;
    import com.pulumi.fortios.user.DomaincontrollerArgs;
    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 trname1 = new Ldap("trname1", LdapArgs.builder()
                .accountKeyFilter("(&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))")
                .accountKeyProcessing("same")
                .cnid("cn")
                .dn("EIWNCIEW")
                .groupMemberCheck("user-attr")
                .groupObjectFilter("(&(objectcategory=group)(member=*))")
                .memberAttr("memberOf")
                .passwordExpiryWarning("disable")
                .passwordRenewal("disable")
                .port(389)
                .secure("disable")
                .server("1.1.1.1")
                .serverIdentityCheck("disable")
                .sourceIp("0.0.0.0")
                .sslMinProtoVersion("default")
                .type("simple")
                .build());
    
            var trname = new Domaincontroller("trname", DomaincontrollerArgs.builder()
                .domainName("s.com")
                .ipAddress("1.1.1.1")
                .ldapServer(trname1.name())
                .port(445)
                .build());
    
        }
    }
    
    resources:
      trname1:
        type: fortios:user:Ldap
        properties:
          accountKeyFilter: (&(userPrincipalName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))
          accountKeyProcessing: same
          cnid: cn
          dn: EIWNCIEW
          groupMemberCheck: user-attr
          groupObjectFilter: (&(objectcategory=group)(member=*))
          memberAttr: memberOf
          passwordExpiryWarning: disable
          passwordRenewal: disable
          port: 389
          secure: disable
          server: 1.1.1.1
          serverIdentityCheck: disable
          sourceIp: 0.0.0.0
          sslMinProtoVersion: default
          type: simple
      trname:
        type: fortios:user:Domaincontroller
        properties:
          domainName: s.com
          ipAddress: 1.1.1.1
          ldapServer: ${trname1.name}
          port: 445
    

    Create Domaincontroller Resource

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

    Constructor syntax

    new Domaincontroller(name: string, args: DomaincontrollerArgs, opts?: CustomResourceOptions);
    @overload
    def Domaincontroller(resource_name: str,
                         args: DomaincontrollerArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def Domaincontroller(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         ip_address: Optional[str] = None,
                         ldap_server: Optional[str] = None,
                         hostname: Optional[str] = None,
                         change_detection_period: Optional[int] = None,
                         interface_select_method: Optional[str] = None,
                         change_detection: Optional[str] = None,
                         ip6: Optional[str] = None,
                         dns_srv_lookup: Optional[str] = None,
                         domain_name: Optional[str] = None,
                         adlds_ip6: Optional[str] = None,
                         extra_servers: Optional[Sequence[DomaincontrollerExtraServerArgs]] = None,
                         get_all_tables: Optional[str] = None,
                         ad_mode: Optional[str] = None,
                         interface: Optional[str] = None,
                         adlds_port: Optional[int] = None,
                         adlds_ip_address: Optional[str] = None,
                         dynamic_sort_subtable: Optional[str] = None,
                         adlds_dn: Optional[str] = None,
                         name: Optional[str] = None,
                         password: Optional[str] = None,
                         port: Optional[int] = None,
                         replication_port: Optional[int] = None,
                         source_ip6: Optional[str] = None,
                         source_ip_address: Optional[str] = None,
                         source_port: Optional[int] = None,
                         username: Optional[str] = None,
                         vdomparam: Optional[str] = None)
    func NewDomaincontroller(ctx *Context, name string, args DomaincontrollerArgs, opts ...ResourceOption) (*Domaincontroller, error)
    public Domaincontroller(string name, DomaincontrollerArgs args, CustomResourceOptions? opts = null)
    public Domaincontroller(String name, DomaincontrollerArgs args)
    public Domaincontroller(String name, DomaincontrollerArgs args, CustomResourceOptions options)
    
    type: fortios:user:Domaincontroller
    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 DomaincontrollerArgs
    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 DomaincontrollerArgs
    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 DomaincontrollerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DomaincontrollerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DomaincontrollerArgs
    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 exampledomaincontrollerResourceResourceFromUserdomaincontroller = new Fortios.User.Domaincontroller("exampledomaincontrollerResourceResourceFromUserdomaincontroller", new()
    {
        IpAddress = "string",
        LdapServer = "string",
        Hostname = "string",
        ChangeDetectionPeriod = 0,
        InterfaceSelectMethod = "string",
        ChangeDetection = "string",
        Ip6 = "string",
        DnsSrvLookup = "string",
        DomainName = "string",
        AdldsIp6 = "string",
        ExtraServers = new[]
        {
            new Fortios.User.Inputs.DomaincontrollerExtraServerArgs
            {
                Id = 0,
                IpAddress = "string",
                Port = 0,
                SourceIpAddress = "string",
                SourcePort = 0,
            },
        },
        GetAllTables = "string",
        AdMode = "string",
        Interface = "string",
        AdldsPort = 0,
        AdldsIpAddress = "string",
        DynamicSortSubtable = "string",
        AdldsDn = "string",
        Name = "string",
        Password = "string",
        Port = 0,
        ReplicationPort = 0,
        SourceIp6 = "string",
        SourceIpAddress = "string",
        SourcePort = 0,
        Username = "string",
        Vdomparam = "string",
    });
    
    example, err := user.NewDomaincontroller(ctx, "exampledomaincontrollerResourceResourceFromUserdomaincontroller", &user.DomaincontrollerArgs{
    	IpAddress:             pulumi.String("string"),
    	LdapServer:            pulumi.String("string"),
    	Hostname:              pulumi.String("string"),
    	ChangeDetectionPeriod: pulumi.Int(0),
    	InterfaceSelectMethod: pulumi.String("string"),
    	ChangeDetection:       pulumi.String("string"),
    	Ip6:                   pulumi.String("string"),
    	DnsSrvLookup:          pulumi.String("string"),
    	DomainName:            pulumi.String("string"),
    	AdldsIp6:              pulumi.String("string"),
    	ExtraServers: user.DomaincontrollerExtraServerArray{
    		&user.DomaincontrollerExtraServerArgs{
    			Id:              pulumi.Int(0),
    			IpAddress:       pulumi.String("string"),
    			Port:            pulumi.Int(0),
    			SourceIpAddress: pulumi.String("string"),
    			SourcePort:      pulumi.Int(0),
    		},
    	},
    	GetAllTables:        pulumi.String("string"),
    	AdMode:              pulumi.String("string"),
    	Interface:           pulumi.String("string"),
    	AdldsPort:           pulumi.Int(0),
    	AdldsIpAddress:      pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	AdldsDn:             pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	Password:            pulumi.String("string"),
    	Port:                pulumi.Int(0),
    	ReplicationPort:     pulumi.Int(0),
    	SourceIp6:           pulumi.String("string"),
    	SourceIpAddress:     pulumi.String("string"),
    	SourcePort:          pulumi.Int(0),
    	Username:            pulumi.String("string"),
    	Vdomparam:           pulumi.String("string"),
    })
    
    var exampledomaincontrollerResourceResourceFromUserdomaincontroller = new Domaincontroller("exampledomaincontrollerResourceResourceFromUserdomaincontroller", DomaincontrollerArgs.builder()
        .ipAddress("string")
        .ldapServer("string")
        .hostname("string")
        .changeDetectionPeriod(0)
        .interfaceSelectMethod("string")
        .changeDetection("string")
        .ip6("string")
        .dnsSrvLookup("string")
        .domainName("string")
        .adldsIp6("string")
        .extraServers(DomaincontrollerExtraServerArgs.builder()
            .id(0)
            .ipAddress("string")
            .port(0)
            .sourceIpAddress("string")
            .sourcePort(0)
            .build())
        .getAllTables("string")
        .adMode("string")
        .interface_("string")
        .adldsPort(0)
        .adldsIpAddress("string")
        .dynamicSortSubtable("string")
        .adldsDn("string")
        .name("string")
        .password("string")
        .port(0)
        .replicationPort(0)
        .sourceIp6("string")
        .sourceIpAddress("string")
        .sourcePort(0)
        .username("string")
        .vdomparam("string")
        .build());
    
    exampledomaincontroller_resource_resource_from_userdomaincontroller = fortios.user.Domaincontroller("exampledomaincontrollerResourceResourceFromUserdomaincontroller",
        ip_address="string",
        ldap_server="string",
        hostname="string",
        change_detection_period=0,
        interface_select_method="string",
        change_detection="string",
        ip6="string",
        dns_srv_lookup="string",
        domain_name="string",
        adlds_ip6="string",
        extra_servers=[fortios.user.DomaincontrollerExtraServerArgs(
            id=0,
            ip_address="string",
            port=0,
            source_ip_address="string",
            source_port=0,
        )],
        get_all_tables="string",
        ad_mode="string",
        interface="string",
        adlds_port=0,
        adlds_ip_address="string",
        dynamic_sort_subtable="string",
        adlds_dn="string",
        name="string",
        password="string",
        port=0,
        replication_port=0,
        source_ip6="string",
        source_ip_address="string",
        source_port=0,
        username="string",
        vdomparam="string")
    
    const exampledomaincontrollerResourceResourceFromUserdomaincontroller = new fortios.user.Domaincontroller("exampledomaincontrollerResourceResourceFromUserdomaincontroller", {
        ipAddress: "string",
        ldapServer: "string",
        hostname: "string",
        changeDetectionPeriod: 0,
        interfaceSelectMethod: "string",
        changeDetection: "string",
        ip6: "string",
        dnsSrvLookup: "string",
        domainName: "string",
        adldsIp6: "string",
        extraServers: [{
            id: 0,
            ipAddress: "string",
            port: 0,
            sourceIpAddress: "string",
            sourcePort: 0,
        }],
        getAllTables: "string",
        adMode: "string",
        "interface": "string",
        adldsPort: 0,
        adldsIpAddress: "string",
        dynamicSortSubtable: "string",
        adldsDn: "string",
        name: "string",
        password: "string",
        port: 0,
        replicationPort: 0,
        sourceIp6: "string",
        sourceIpAddress: "string",
        sourcePort: 0,
        username: "string",
        vdomparam: "string",
    });
    
    type: fortios:user:Domaincontroller
    properties:
        adMode: string
        adldsDn: string
        adldsIp6: string
        adldsIpAddress: string
        adldsPort: 0
        changeDetection: string
        changeDetectionPeriod: 0
        dnsSrvLookup: string
        domainName: string
        dynamicSortSubtable: string
        extraServers:
            - id: 0
              ipAddress: string
              port: 0
              sourceIpAddress: string
              sourcePort: 0
        getAllTables: string
        hostname: string
        interface: string
        interfaceSelectMethod: string
        ip6: string
        ipAddress: string
        ldapServer: string
        name: string
        password: string
        port: 0
        replicationPort: 0
        sourceIp6: string
        sourceIpAddress: string
        sourcePort: 0
        username: string
        vdomparam: string
    

    Domaincontroller 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 Domaincontroller resource accepts the following input properties:

    IpAddress string
    Domain controller IP address.
    LdapServer string
    LDAP server name.
    AdMode string
    Set Active Directory mode. Valid values: none, ds, lds.
    AdldsDn string
    AD LDS distinguished name.
    AdldsIp6 string
    AD LDS IPv6 address.
    AdldsIpAddress string
    AD LDS IPv4 address.
    AdldsPort int
    Port number of AD LDS service (default = 389).
    ChangeDetection string
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    ChangeDetectionPeriod int
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    DnsSrvLookup string
    Enable/disable DNS service lookup. Valid values: enable, disable.
    DomainName string
    Domain DNS name.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    ExtraServers List<Pulumiverse.Fortios.User.Inputs.DomaincontrollerExtraServer>
    extra servers. The structure of extra_server block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Hostname string
    Hostname of the server to connect to.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Ip6 string
    Domain controller IPv6 address.
    Name string
    Domain controller entry name.
    Password string
    Password for specified username.
    Port int
    Port to be used for communication with the domain controller (default = 445).
    ReplicationPort int
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    SourceIp6 string
    FortiGate IPv6 address to be used for communication with the domain controller.
    SourceIpAddress string
    FortiGate IPv4 address to be used for communication with the domain controller.
    SourcePort int
    Source port to be used for communication with the domain controller.
    Username string
    User name to sign in with. Must have proper permissions for service.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    IpAddress string
    Domain controller IP address.
    LdapServer string
    LDAP server name.
    AdMode string
    Set Active Directory mode. Valid values: none, ds, lds.
    AdldsDn string
    AD LDS distinguished name.
    AdldsIp6 string
    AD LDS IPv6 address.
    AdldsIpAddress string
    AD LDS IPv4 address.
    AdldsPort int
    Port number of AD LDS service (default = 389).
    ChangeDetection string
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    ChangeDetectionPeriod int
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    DnsSrvLookup string
    Enable/disable DNS service lookup. Valid values: enable, disable.
    DomainName string
    Domain DNS name.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    ExtraServers []DomaincontrollerExtraServerArgs
    extra servers. The structure of extra_server block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Hostname string
    Hostname of the server to connect to.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Ip6 string
    Domain controller IPv6 address.
    Name string
    Domain controller entry name.
    Password string
    Password for specified username.
    Port int
    Port to be used for communication with the domain controller (default = 445).
    ReplicationPort int
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    SourceIp6 string
    FortiGate IPv6 address to be used for communication with the domain controller.
    SourceIpAddress string
    FortiGate IPv4 address to be used for communication with the domain controller.
    SourcePort int
    Source port to be used for communication with the domain controller.
    Username string
    User name to sign in with. Must have proper permissions for service.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    ipAddress String
    Domain controller IP address.
    ldapServer String
    LDAP server name.
    adMode String
    Set Active Directory mode. Valid values: none, ds, lds.
    adldsDn String
    AD LDS distinguished name.
    adldsIp6 String
    AD LDS IPv6 address.
    adldsIpAddress String
    AD LDS IPv4 address.
    adldsPort Integer
    Port number of AD LDS service (default = 389).
    changeDetection String
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    changeDetectionPeriod Integer
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    dnsSrvLookup String
    Enable/disable DNS service lookup. Valid values: enable, disable.
    domainName String
    Domain DNS name.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    extraServers List<DomaincontrollerExtraServer>
    extra servers. The structure of extra_server block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hostname String
    Hostname of the server to connect to.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interface_ String
    Specify outgoing interface to reach server.
    ip6 String
    Domain controller IPv6 address.
    name String
    Domain controller entry name.
    password String
    Password for specified username.
    port Integer
    Port to be used for communication with the domain controller (default = 445).
    replicationPort Integer
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    sourceIp6 String
    FortiGate IPv6 address to be used for communication with the domain controller.
    sourceIpAddress String
    FortiGate IPv4 address to be used for communication with the domain controller.
    sourcePort Integer
    Source port to be used for communication with the domain controller.
    username String
    User name to sign in with. Must have proper permissions for service.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    ipAddress string
    Domain controller IP address.
    ldapServer string
    LDAP server name.
    adMode string
    Set Active Directory mode. Valid values: none, ds, lds.
    adldsDn string
    AD LDS distinguished name.
    adldsIp6 string
    AD LDS IPv6 address.
    adldsIpAddress string
    AD LDS IPv4 address.
    adldsPort number
    Port number of AD LDS service (default = 389).
    changeDetection string
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    changeDetectionPeriod number
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    dnsSrvLookup string
    Enable/disable DNS service lookup. Valid values: enable, disable.
    domainName string
    Domain DNS name.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    extraServers DomaincontrollerExtraServer[]
    extra servers. The structure of extra_server block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hostname string
    Hostname of the server to connect to.
    interface string
    Specify outgoing interface to reach server.
    interfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    ip6 string
    Domain controller IPv6 address.
    name string
    Domain controller entry name.
    password string
    Password for specified username.
    port number
    Port to be used for communication with the domain controller (default = 445).
    replicationPort number
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    sourceIp6 string
    FortiGate IPv6 address to be used for communication with the domain controller.
    sourceIpAddress string
    FortiGate IPv4 address to be used for communication with the domain controller.
    sourcePort number
    Source port to be used for communication with the domain controller.
    username string
    User name to sign in with. Must have proper permissions for service.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    ip_address str
    Domain controller IP address.
    ldap_server str
    LDAP server name.
    ad_mode str
    Set Active Directory mode. Valid values: none, ds, lds.
    adlds_dn str
    AD LDS distinguished name.
    adlds_ip6 str
    AD LDS IPv6 address.
    adlds_ip_address str
    AD LDS IPv4 address.
    adlds_port int
    Port number of AD LDS service (default = 389).
    change_detection str
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    change_detection_period int
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    dns_srv_lookup str
    Enable/disable DNS service lookup. Valid values: enable, disable.
    domain_name str
    Domain DNS name.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    extra_servers Sequence[DomaincontrollerExtraServerArgs]
    extra servers. The structure of extra_server block is documented below.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hostname str
    Hostname of the server to connect to.
    interface str
    Specify outgoing interface to reach server.
    interface_select_method str
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    ip6 str
    Domain controller IPv6 address.
    name str
    Domain controller entry name.
    password str
    Password for specified username.
    port int
    Port to be used for communication with the domain controller (default = 445).
    replication_port int
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    source_ip6 str
    FortiGate IPv6 address to be used for communication with the domain controller.
    source_ip_address str
    FortiGate IPv4 address to be used for communication with the domain controller.
    source_port int
    Source port to be used for communication with the domain controller.
    username str
    User name to sign in with. Must have proper permissions for service.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    ipAddress String
    Domain controller IP address.
    ldapServer String
    LDAP server name.
    adMode String
    Set Active Directory mode. Valid values: none, ds, lds.
    adldsDn String
    AD LDS distinguished name.
    adldsIp6 String
    AD LDS IPv6 address.
    adldsIpAddress String
    AD LDS IPv4 address.
    adldsPort Number
    Port number of AD LDS service (default = 389).
    changeDetection String
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    changeDetectionPeriod Number
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    dnsSrvLookup String
    Enable/disable DNS service lookup. Valid values: enable, disable.
    domainName String
    Domain DNS name.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    extraServers List<Property Map>
    extra servers. The structure of extra_server block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hostname String
    Hostname of the server to connect to.
    interface String
    Specify outgoing interface to reach server.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    ip6 String
    Domain controller IPv6 address.
    name String
    Domain controller entry name.
    password String
    Password for specified username.
    port Number
    Port to be used for communication with the domain controller (default = 445).
    replicationPort Number
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    sourceIp6 String
    FortiGate IPv6 address to be used for communication with the domain controller.
    sourceIpAddress String
    FortiGate IPv4 address to be used for communication with the domain controller.
    sourcePort Number
    Source port to be used for communication with the domain controller.
    username String
    User name to sign in with. Must have proper permissions for service.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Domaincontroller 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 Domaincontroller Resource

    Get an existing Domaincontroller 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?: DomaincontrollerState, opts?: CustomResourceOptions): Domaincontroller
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ad_mode: Optional[str] = None,
            adlds_dn: Optional[str] = None,
            adlds_ip6: Optional[str] = None,
            adlds_ip_address: Optional[str] = None,
            adlds_port: Optional[int] = None,
            change_detection: Optional[str] = None,
            change_detection_period: Optional[int] = None,
            dns_srv_lookup: Optional[str] = None,
            domain_name: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            extra_servers: Optional[Sequence[DomaincontrollerExtraServerArgs]] = None,
            get_all_tables: Optional[str] = None,
            hostname: Optional[str] = None,
            interface: Optional[str] = None,
            interface_select_method: Optional[str] = None,
            ip6: Optional[str] = None,
            ip_address: Optional[str] = None,
            ldap_server: Optional[str] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            port: Optional[int] = None,
            replication_port: Optional[int] = None,
            source_ip6: Optional[str] = None,
            source_ip_address: Optional[str] = None,
            source_port: Optional[int] = None,
            username: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Domaincontroller
    func GetDomaincontroller(ctx *Context, name string, id IDInput, state *DomaincontrollerState, opts ...ResourceOption) (*Domaincontroller, error)
    public static Domaincontroller Get(string name, Input<string> id, DomaincontrollerState? state, CustomResourceOptions? opts = null)
    public static Domaincontroller get(String name, Output<String> id, DomaincontrollerState 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:
    AdMode string
    Set Active Directory mode. Valid values: none, ds, lds.
    AdldsDn string
    AD LDS distinguished name.
    AdldsIp6 string
    AD LDS IPv6 address.
    AdldsIpAddress string
    AD LDS IPv4 address.
    AdldsPort int
    Port number of AD LDS service (default = 389).
    ChangeDetection string
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    ChangeDetectionPeriod int
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    DnsSrvLookup string
    Enable/disable DNS service lookup. Valid values: enable, disable.
    DomainName string
    Domain DNS name.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    ExtraServers List<Pulumiverse.Fortios.User.Inputs.DomaincontrollerExtraServer>
    extra servers. The structure of extra_server block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Hostname string
    Hostname of the server to connect to.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Ip6 string
    Domain controller IPv6 address.
    IpAddress string
    Domain controller IP address.
    LdapServer string
    LDAP server name.
    Name string
    Domain controller entry name.
    Password string
    Password for specified username.
    Port int
    Port to be used for communication with the domain controller (default = 445).
    ReplicationPort int
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    SourceIp6 string
    FortiGate IPv6 address to be used for communication with the domain controller.
    SourceIpAddress string
    FortiGate IPv4 address to be used for communication with the domain controller.
    SourcePort int
    Source port to be used for communication with the domain controller.
    Username string
    User name to sign in with. Must have proper permissions for service.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    AdMode string
    Set Active Directory mode. Valid values: none, ds, lds.
    AdldsDn string
    AD LDS distinguished name.
    AdldsIp6 string
    AD LDS IPv6 address.
    AdldsIpAddress string
    AD LDS IPv4 address.
    AdldsPort int
    Port number of AD LDS service (default = 389).
    ChangeDetection string
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    ChangeDetectionPeriod int
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    DnsSrvLookup string
    Enable/disable DNS service lookup. Valid values: enable, disable.
    DomainName string
    Domain DNS name.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    ExtraServers []DomaincontrollerExtraServerArgs
    extra servers. The structure of extra_server block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Hostname string
    Hostname of the server to connect to.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Ip6 string
    Domain controller IPv6 address.
    IpAddress string
    Domain controller IP address.
    LdapServer string
    LDAP server name.
    Name string
    Domain controller entry name.
    Password string
    Password for specified username.
    Port int
    Port to be used for communication with the domain controller (default = 445).
    ReplicationPort int
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    SourceIp6 string
    FortiGate IPv6 address to be used for communication with the domain controller.
    SourceIpAddress string
    FortiGate IPv4 address to be used for communication with the domain controller.
    SourcePort int
    Source port to be used for communication with the domain controller.
    Username string
    User name to sign in with. Must have proper permissions for service.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    adMode String
    Set Active Directory mode. Valid values: none, ds, lds.
    adldsDn String
    AD LDS distinguished name.
    adldsIp6 String
    AD LDS IPv6 address.
    adldsIpAddress String
    AD LDS IPv4 address.
    adldsPort Integer
    Port number of AD LDS service (default = 389).
    changeDetection String
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    changeDetectionPeriod Integer
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    dnsSrvLookup String
    Enable/disable DNS service lookup. Valid values: enable, disable.
    domainName String
    Domain DNS name.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    extraServers List<DomaincontrollerExtraServer>
    extra servers. The structure of extra_server block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hostname String
    Hostname of the server to connect to.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interface_ String
    Specify outgoing interface to reach server.
    ip6 String
    Domain controller IPv6 address.
    ipAddress String
    Domain controller IP address.
    ldapServer String
    LDAP server name.
    name String
    Domain controller entry name.
    password String
    Password for specified username.
    port Integer
    Port to be used for communication with the domain controller (default = 445).
    replicationPort Integer
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    sourceIp6 String
    FortiGate IPv6 address to be used for communication with the domain controller.
    sourceIpAddress String
    FortiGate IPv4 address to be used for communication with the domain controller.
    sourcePort Integer
    Source port to be used for communication with the domain controller.
    username String
    User name to sign in with. Must have proper permissions for service.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    adMode string
    Set Active Directory mode. Valid values: none, ds, lds.
    adldsDn string
    AD LDS distinguished name.
    adldsIp6 string
    AD LDS IPv6 address.
    adldsIpAddress string
    AD LDS IPv4 address.
    adldsPort number
    Port number of AD LDS service (default = 389).
    changeDetection string
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    changeDetectionPeriod number
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    dnsSrvLookup string
    Enable/disable DNS service lookup. Valid values: enable, disable.
    domainName string
    Domain DNS name.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    extraServers DomaincontrollerExtraServer[]
    extra servers. The structure of extra_server block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hostname string
    Hostname of the server to connect to.
    interface string
    Specify outgoing interface to reach server.
    interfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    ip6 string
    Domain controller IPv6 address.
    ipAddress string
    Domain controller IP address.
    ldapServer string
    LDAP server name.
    name string
    Domain controller entry name.
    password string
    Password for specified username.
    port number
    Port to be used for communication with the domain controller (default = 445).
    replicationPort number
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    sourceIp6 string
    FortiGate IPv6 address to be used for communication with the domain controller.
    sourceIpAddress string
    FortiGate IPv4 address to be used for communication with the domain controller.
    sourcePort number
    Source port to be used for communication with the domain controller.
    username string
    User name to sign in with. Must have proper permissions for service.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    ad_mode str
    Set Active Directory mode. Valid values: none, ds, lds.
    adlds_dn str
    AD LDS distinguished name.
    adlds_ip6 str
    AD LDS IPv6 address.
    adlds_ip_address str
    AD LDS IPv4 address.
    adlds_port int
    Port number of AD LDS service (default = 389).
    change_detection str
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    change_detection_period int
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    dns_srv_lookup str
    Enable/disable DNS service lookup. Valid values: enable, disable.
    domain_name str
    Domain DNS name.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    extra_servers Sequence[DomaincontrollerExtraServerArgs]
    extra servers. The structure of extra_server block is documented below.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hostname str
    Hostname of the server to connect to.
    interface str
    Specify outgoing interface to reach server.
    interface_select_method str
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    ip6 str
    Domain controller IPv6 address.
    ip_address str
    Domain controller IP address.
    ldap_server str
    LDAP server name.
    name str
    Domain controller entry name.
    password str
    Password for specified username.
    port int
    Port to be used for communication with the domain controller (default = 445).
    replication_port int
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    source_ip6 str
    FortiGate IPv6 address to be used for communication with the domain controller.
    source_ip_address str
    FortiGate IPv4 address to be used for communication with the domain controller.
    source_port int
    Source port to be used for communication with the domain controller.
    username str
    User name to sign in with. Must have proper permissions for service.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    adMode String
    Set Active Directory mode. Valid values: none, ds, lds.
    adldsDn String
    AD LDS distinguished name.
    adldsIp6 String
    AD LDS IPv6 address.
    adldsIpAddress String
    AD LDS IPv4 address.
    adldsPort Number
    Port number of AD LDS service (default = 389).
    changeDetection String
    Enable/disable detection of a configuration change in the Active Directory server. Valid values: enable, disable.
    changeDetectionPeriod Number
    Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
    dnsSrvLookup String
    Enable/disable DNS service lookup. Valid values: enable, disable.
    domainName String
    Domain DNS name.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    extraServers List<Property Map>
    extra servers. The structure of extra_server block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    hostname String
    Hostname of the server to connect to.
    interface String
    Specify outgoing interface to reach server.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    ip6 String
    Domain controller IPv6 address.
    ipAddress String
    Domain controller IP address.
    ldapServer String
    LDAP server name.
    name String
    Domain controller entry name.
    password String
    Password for specified username.
    port Number
    Port to be used for communication with the domain controller (default = 445).
    replicationPort Number
    Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
    sourceIp6 String
    FortiGate IPv6 address to be used for communication with the domain controller.
    sourceIpAddress String
    FortiGate IPv4 address to be used for communication with the domain controller.
    sourcePort Number
    Source port to be used for communication with the domain controller.
    username String
    User name to sign in with. Must have proper permissions for service.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    DomaincontrollerExtraServer, DomaincontrollerExtraServerArgs

    Id int
    Server ID.
    IpAddress string
    Domain controller IP address.
    Port int
    Port to be used for communication with the domain controller (default = 445).
    SourceIpAddress string
    FortiGate IPv4 address to be used for communication with the domain controller.
    SourcePort int
    Source port to be used for communication with the domain controller.
    Id int
    Server ID.
    IpAddress string
    Domain controller IP address.
    Port int
    Port to be used for communication with the domain controller (default = 445).
    SourceIpAddress string
    FortiGate IPv4 address to be used for communication with the domain controller.
    SourcePort int
    Source port to be used for communication with the domain controller.
    id Integer
    Server ID.
    ipAddress String
    Domain controller IP address.
    port Integer
    Port to be used for communication with the domain controller (default = 445).
    sourceIpAddress String
    FortiGate IPv4 address to be used for communication with the domain controller.
    sourcePort Integer
    Source port to be used for communication with the domain controller.
    id number
    Server ID.
    ipAddress string
    Domain controller IP address.
    port number
    Port to be used for communication with the domain controller (default = 445).
    sourceIpAddress string
    FortiGate IPv4 address to be used for communication with the domain controller.
    sourcePort number
    Source port to be used for communication with the domain controller.
    id int
    Server ID.
    ip_address str
    Domain controller IP address.
    port int
    Port to be used for communication with the domain controller (default = 445).
    source_ip_address str
    FortiGate IPv4 address to be used for communication with the domain controller.
    source_port int
    Source port to be used for communication with the domain controller.
    id Number
    Server ID.
    ipAddress String
    Domain controller IP address.
    port Number
    Port to be used for communication with the domain controller (default = 445).
    sourceIpAddress String
    FortiGate IPv4 address to be used for communication with the domain controller.
    sourcePort Number
    Source port to be used for communication with the domain controller.

    Import

    User DomainController can be imported using any of these accepted formats:

    $ pulumi import fortios:user/domaincontroller:Domaincontroller labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:user/domaincontroller:Domaincontroller labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse