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

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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
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
Copy

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

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Domaincontroller resource accepts the following input properties:

IpAddress This property is required. string
Domain controller IP address.
LdapServer This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 This property is required. string
Domain controller IP address.
LdapServer This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 This property is required. String
Domain controller IP address.
ldapServer This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 This property is required. string
Domain controller IP address.
ldapServer This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 This property is required. str
Domain controller IP address.
ldap_server This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 This property is required. String
Domain controller IP address.
ldapServer This property is required. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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)
resources:  _:    type: fortios:user:Domaincontroller    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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}}
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

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

$ 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.