fortimanager.ObjectUserDomaincontroller
Explore with Pulumi AI
Configure domain controller entries.
The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
extra_server:fortimanager.ObjectUserDomaincontrollerExtraserver
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.ObjectUserDomaincontroller("trname", {
    domainName: "admin",
    ipAddress: "192.168.1.1",
    port: 445,
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.ObjectUserDomaincontroller("trname",
    domain_name="admin",
    ip_address="192.168.1.1",
    port=445)
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewObjectUserDomaincontroller(ctx, "trname", &fortimanager.ObjectUserDomaincontrollerArgs{
			DomainName: pulumi.String("admin"),
			IpAddress:  pulumi.String("192.168.1.1"),
			Port:       pulumi.Float64(445),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectUserDomaincontroller("trname", new()
    {
        DomainName = "admin",
        IpAddress = "192.168.1.1",
        Port = 445,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectUserDomaincontroller;
import com.pulumi.fortimanager.ObjectUserDomaincontrollerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var trname = new ObjectUserDomaincontroller("trname", ObjectUserDomaincontrollerArgs.builder()
            .domainName("admin")
            .ipAddress("192.168.1.1")
            .port(445)
            .build());
    }
}
resources:
  trname:
    type: fortimanager:ObjectUserDomaincontroller
    properties:
      domainName: admin
      ipAddress: 192.168.1.1
      port: 445
Create ObjectUserDomaincontroller Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectUserDomaincontroller(name: string, args?: ObjectUserDomaincontrollerArgs, opts?: CustomResourceOptions);@overload
def ObjectUserDomaincontroller(resource_name: str,
                               args: Optional[ObjectUserDomaincontrollerArgs] = None,
                               opts: Optional[ResourceOptions] = None)
@overload
def ObjectUserDomaincontroller(resource_name: 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[float] = None,
                               adom: Optional[str] = None,
                               change_detection: Optional[str] = None,
                               change_detection_period: Optional[float] = None,
                               dns_srv_lookup: Optional[str] = None,
                               domain_name: Optional[str] = None,
                               dynamic_sort_subtable: Optional[str] = None,
                               extra_servers: Optional[Sequence[ObjectUserDomaincontrollerExtraServerArgs]] = 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_servers: Optional[Sequence[str]] = None,
                               name: Optional[str] = None,
                               object_user_domaincontroller_id: Optional[str] = None,
                               passwords: Optional[Sequence[str]] = None,
                               port: Optional[float] = None,
                               replication_port: Optional[float] = None,
                               scopetype: Optional[str] = None,
                               source_ip6: Optional[str] = None,
                               source_ip_address: Optional[str] = None,
                               source_port: Optional[float] = None,
                               username: Optional[str] = None)func NewObjectUserDomaincontroller(ctx *Context, name string, args *ObjectUserDomaincontrollerArgs, opts ...ResourceOption) (*ObjectUserDomaincontroller, error)public ObjectUserDomaincontroller(string name, ObjectUserDomaincontrollerArgs? args = null, CustomResourceOptions? opts = null)
public ObjectUserDomaincontroller(String name, ObjectUserDomaincontrollerArgs args)
public ObjectUserDomaincontroller(String name, ObjectUserDomaincontrollerArgs args, CustomResourceOptions options)
type: fortimanager:ObjectUserDomaincontroller
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 ObjectUserDomaincontrollerArgs
- 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 ObjectUserDomaincontrollerArgs
- 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 ObjectUserDomaincontrollerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectUserDomaincontrollerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectUserDomaincontrollerArgs
- 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 objectUserDomaincontrollerResource = new Fortimanager.ObjectUserDomaincontroller("objectUserDomaincontrollerResource", new()
{
    AdMode = "string",
    AdldsDn = "string",
    AdldsIp6 = "string",
    AdldsIpAddress = "string",
    AdldsPort = 0,
    Adom = "string",
    ChangeDetection = "string",
    ChangeDetectionPeriod = 0,
    DnsSrvLookup = "string",
    DomainName = "string",
    DynamicSortSubtable = "string",
    ExtraServers = new[]
    {
        new Fortimanager.Inputs.ObjectUserDomaincontrollerExtraServerArgs
        {
            Id = 0,
            IpAddress = "string",
            Port = 0,
            SourceIpAddress = "string",
            SourcePort = 0,
        },
    },
    Hostname = "string",
    Interface = "string",
    InterfaceSelectMethod = "string",
    Ip6 = "string",
    IpAddress = "string",
    LdapServers = new[]
    {
        "string",
    },
    Name = "string",
    ObjectUserDomaincontrollerId = "string",
    Passwords = new[]
    {
        "string",
    },
    Port = 0,
    ReplicationPort = 0,
    Scopetype = "string",
    SourceIp6 = "string",
    SourceIpAddress = "string",
    SourcePort = 0,
    Username = "string",
});
example, err := fortimanager.NewObjectUserDomaincontroller(ctx, "objectUserDomaincontrollerResource", &fortimanager.ObjectUserDomaincontrollerArgs{
AdMode: pulumi.String("string"),
AdldsDn: pulumi.String("string"),
AdldsIp6: pulumi.String("string"),
AdldsIpAddress: pulumi.String("string"),
AdldsPort: pulumi.Float64(0),
Adom: pulumi.String("string"),
ChangeDetection: pulumi.String("string"),
ChangeDetectionPeriod: pulumi.Float64(0),
DnsSrvLookup: pulumi.String("string"),
DomainName: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
ExtraServers: .ObjectUserDomaincontrollerExtraServerTypeArray{
&.ObjectUserDomaincontrollerExtraServerTypeArgs{
Id: pulumi.Float64(0),
IpAddress: pulumi.String("string"),
Port: pulumi.Float64(0),
SourceIpAddress: pulumi.String("string"),
SourcePort: pulumi.Float64(0),
},
},
Hostname: pulumi.String("string"),
Interface: pulumi.String("string"),
InterfaceSelectMethod: pulumi.String("string"),
Ip6: pulumi.String("string"),
IpAddress: pulumi.String("string"),
LdapServers: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
ObjectUserDomaincontrollerId: pulumi.String("string"),
Passwords: pulumi.StringArray{
pulumi.String("string"),
},
Port: pulumi.Float64(0),
ReplicationPort: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
SourceIp6: pulumi.String("string"),
SourceIpAddress: pulumi.String("string"),
SourcePort: pulumi.Float64(0),
Username: pulumi.String("string"),
})
var objectUserDomaincontrollerResource = new ObjectUserDomaincontroller("objectUserDomaincontrollerResource", ObjectUserDomaincontrollerArgs.builder()
    .adMode("string")
    .adldsDn("string")
    .adldsIp6("string")
    .adldsIpAddress("string")
    .adldsPort(0)
    .adom("string")
    .changeDetection("string")
    .changeDetectionPeriod(0)
    .dnsSrvLookup("string")
    .domainName("string")
    .dynamicSortSubtable("string")
    .extraServers(ObjectUserDomaincontrollerExtraServerArgs.builder()
        .id(0)
        .ipAddress("string")
        .port(0)
        .sourceIpAddress("string")
        .sourcePort(0)
        .build())
    .hostname("string")
    .interface_("string")
    .interfaceSelectMethod("string")
    .ip6("string")
    .ipAddress("string")
    .ldapServers("string")
    .name("string")
    .objectUserDomaincontrollerId("string")
    .passwords("string")
    .port(0)
    .replicationPort(0)
    .scopetype("string")
    .sourceIp6("string")
    .sourceIpAddress("string")
    .sourcePort(0)
    .username("string")
    .build());
object_user_domaincontroller_resource = fortimanager.ObjectUserDomaincontroller("objectUserDomaincontrollerResource",
    ad_mode="string",
    adlds_dn="string",
    adlds_ip6="string",
    adlds_ip_address="string",
    adlds_port=0,
    adom="string",
    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,
    }],
    hostname="string",
    interface="string",
    interface_select_method="string",
    ip6="string",
    ip_address="string",
    ldap_servers=["string"],
    name="string",
    object_user_domaincontroller_id="string",
    passwords=["string"],
    port=0,
    replication_port=0,
    scopetype="string",
    source_ip6="string",
    source_ip_address="string",
    source_port=0,
    username="string")
const objectUserDomaincontrollerResource = new fortimanager.ObjectUserDomaincontroller("objectUserDomaincontrollerResource", {
    adMode: "string",
    adldsDn: "string",
    adldsIp6: "string",
    adldsIpAddress: "string",
    adldsPort: 0,
    adom: "string",
    changeDetection: "string",
    changeDetectionPeriod: 0,
    dnsSrvLookup: "string",
    domainName: "string",
    dynamicSortSubtable: "string",
    extraServers: [{
        id: 0,
        ipAddress: "string",
        port: 0,
        sourceIpAddress: "string",
        sourcePort: 0,
    }],
    hostname: "string",
    "interface": "string",
    interfaceSelectMethod: "string",
    ip6: "string",
    ipAddress: "string",
    ldapServers: ["string"],
    name: "string",
    objectUserDomaincontrollerId: "string",
    passwords: ["string"],
    port: 0,
    replicationPort: 0,
    scopetype: "string",
    sourceIp6: "string",
    sourceIpAddress: "string",
    sourcePort: 0,
    username: "string",
});
type: fortimanager:ObjectUserDomaincontroller
properties:
    adMode: string
    adldsDn: string
    adldsIp6: string
    adldsIpAddress: string
    adldsPort: 0
    adom: string
    changeDetection: string
    changeDetectionPeriod: 0
    dnsSrvLookup: string
    domainName: string
    dynamicSortSubtable: string
    extraServers:
        - id: 0
          ipAddress: string
          port: 0
          sourceIpAddress: string
          sourcePort: 0
    hostname: string
    interface: string
    interfaceSelectMethod: string
    ip6: string
    ipAddress: string
    ldapServers:
        - string
    name: string
    objectUserDomaincontrollerId: string
    passwords:
        - string
    port: 0
    replicationPort: 0
    scopetype: string
    sourceIp6: string
    sourceIpAddress: string
    sourcePort: 0
    username: string
ObjectUserDomaincontroller 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 ObjectUserDomaincontroller resource accepts the following input properties:
- AdMode string
- Set Active Directory mode. Valid values: none,ds,lds.
- AdldsDn string
- AD LDS distinguished name.
- AdldsIp6 string
- AD LDS IPv6 address.
- AdldsIp stringAddress 
- AD LDS IPv4 address.
- AdldsPort double
- Port number of AD LDS service (default = 389).
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- ChangeDetection string
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- ChangeDetection doublePeriod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- DnsSrv stringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- DomainName string
- Domain DNS name.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- ExtraServers List<ObjectUser Domaincontroller Extra Server> 
- Extra-Server. The structure of extra_serverblock is documented below.
- Hostname string
- Hostname of the server to connect to.
- Interface string
- Specify outgoing interface to reach server.
- InterfaceSelect stringMethod 
- 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.
- LdapServers List<string>
- LDAP server name.
- Name string
- Domain controller entry name.
- ObjectUser stringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- Passwords List<string>
- Password for specified username.
- Port double
- Port to be used for communication with the domain controller (default = 445).
- ReplicationPort double
- Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SourceIp6 string
- FortiGate IPv6 address to be used for communication with the domain controller.
- SourceIp stringAddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- SourcePort double
- 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.
- AdMode string
- Set Active Directory mode. Valid values: none,ds,lds.
- AdldsDn string
- AD LDS distinguished name.
- AdldsIp6 string
- AD LDS IPv6 address.
- AdldsIp stringAddress 
- AD LDS IPv4 address.
- AdldsPort float64
- Port number of AD LDS service (default = 389).
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- ChangeDetection string
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- ChangeDetection float64Period 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- DnsSrv stringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- DomainName string
- Domain DNS name.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- ExtraServers []ObjectUser Domaincontroller Extra Server Type Args 
- Extra-Server. The structure of extra_serverblock is documented below.
- Hostname string
- Hostname of the server to connect to.
- Interface string
- Specify outgoing interface to reach server.
- InterfaceSelect stringMethod 
- 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.
- LdapServers []string
- LDAP server name.
- Name string
- Domain controller entry name.
- ObjectUser stringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- Passwords []string
- Password for specified username.
- Port float64
- Port to be used for communication with the domain controller (default = 445).
- ReplicationPort float64
- Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SourceIp6 string
- FortiGate IPv6 address to be used for communication with the domain controller.
- SourceIp stringAddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- SourcePort float64
- 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.
- adMode String
- Set Active Directory mode. Valid values: none,ds,lds.
- adldsDn String
- AD LDS distinguished name.
- adldsIp6 String
- AD LDS IPv6 address.
- adldsIp StringAddress 
- AD LDS IPv4 address.
- adldsPort Double
- Port number of AD LDS service (default = 389).
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- changeDetection String
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- changeDetection DoublePeriod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- dnsSrv StringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- domainName String
- Domain DNS name.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- extraServers List<ObjectUser Domaincontroller Extra Server> 
- Extra-Server. The structure of extra_serverblock is documented below.
- hostname String
- Hostname of the server to connect to.
- interfaceSelect StringMethod 
- 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.
- ldapServers List<String>
- LDAP server name.
- name String
- Domain controller entry name.
- objectUser StringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- passwords List<String>
- Password for specified username.
- port Double
- Port to be used for communication with the domain controller (default = 445).
- replicationPort Double
- Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sourceIp6 String
- FortiGate IPv6 address to be used for communication with the domain controller.
- sourceIp StringAddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- sourcePort Double
- 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.
- adMode string
- Set Active Directory mode. Valid values: none,ds,lds.
- adldsDn string
- AD LDS distinguished name.
- adldsIp6 string
- AD LDS IPv6 address.
- adldsIp stringAddress 
- AD LDS IPv4 address.
- adldsPort number
- Port number of AD LDS service (default = 389).
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- changeDetection string
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- changeDetection numberPeriod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- dnsSrv stringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- domainName string
- Domain DNS name.
- dynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- extraServers ObjectUser Domaincontroller Extra Server[] 
- Extra-Server. The structure of extra_serverblock is documented below.
- hostname string
- Hostname of the server to connect to.
- interface string
- Specify outgoing interface to reach server.
- interfaceSelect stringMethod 
- 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.
- ldapServers string[]
- LDAP server name.
- name string
- Domain controller entry name.
- objectUser stringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- passwords 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.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sourceIp6 string
- FortiGate IPv6 address to be used for communication with the domain controller.
- sourceIp stringAddress 
- 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.
- 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_ straddress 
- AD LDS IPv4 address.
- adlds_port float
- Port number of AD LDS service (default = 389).
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- change_detection str
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- change_detection_ floatperiod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- dns_srv_ strlookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- domain_name str
- Domain DNS name.
- dynamic_sort_ strsubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- extra_servers Sequence[ObjectUser Domaincontroller Extra Server Args] 
- Extra-Server. The structure of extra_serverblock is documented below.
- hostname str
- Hostname of the server to connect to.
- interface str
- Specify outgoing interface to reach server.
- interface_select_ strmethod 
- 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_servers Sequence[str]
- LDAP server name.
- name str
- Domain controller entry name.
- object_user_ strdomaincontroller_ id 
- an identifier for the resource with format {{name}}.
- passwords Sequence[str]
- Password for specified username.
- port float
- Port to be used for communication with the domain controller (default = 445).
- replication_port float
- Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- source_ip6 str
- FortiGate IPv6 address to be used for communication with the domain controller.
- source_ip_ straddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- source_port float
- 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.
- adMode String
- Set Active Directory mode. Valid values: none,ds,lds.
- adldsDn String
- AD LDS distinguished name.
- adldsIp6 String
- AD LDS IPv6 address.
- adldsIp StringAddress 
- AD LDS IPv4 address.
- adldsPort Number
- Port number of AD LDS service (default = 389).
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- changeDetection String
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- changeDetection NumberPeriod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- dnsSrv StringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- domainName String
- Domain DNS name.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- extraServers List<Property Map>
- Extra-Server. The structure of extra_serverblock is documented below.
- hostname String
- Hostname of the server to connect to.
- interface String
- Specify outgoing interface to reach server.
- interfaceSelect StringMethod 
- 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.
- ldapServers List<String>
- LDAP server name.
- name String
- Domain controller entry name.
- objectUser StringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- passwords List<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.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sourceIp6 String
- FortiGate IPv6 address to be used for communication with the domain controller.
- sourceIp StringAddress 
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectUserDomaincontroller 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 ObjectUserDomaincontroller Resource
Get an existing ObjectUserDomaincontroller 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?: ObjectUserDomaincontrollerState, opts?: CustomResourceOptions): ObjectUserDomaincontroller@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[float] = None,
        adom: Optional[str] = None,
        change_detection: Optional[str] = None,
        change_detection_period: Optional[float] = None,
        dns_srv_lookup: Optional[str] = None,
        domain_name: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        extra_servers: Optional[Sequence[ObjectUserDomaincontrollerExtraServerArgs]] = 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_servers: Optional[Sequence[str]] = None,
        name: Optional[str] = None,
        object_user_domaincontroller_id: Optional[str] = None,
        passwords: Optional[Sequence[str]] = None,
        port: Optional[float] = None,
        replication_port: Optional[float] = None,
        scopetype: Optional[str] = None,
        source_ip6: Optional[str] = None,
        source_ip_address: Optional[str] = None,
        source_port: Optional[float] = None,
        username: Optional[str] = None) -> ObjectUserDomaincontrollerfunc GetObjectUserDomaincontroller(ctx *Context, name string, id IDInput, state *ObjectUserDomaincontrollerState, opts ...ResourceOption) (*ObjectUserDomaincontroller, error)public static ObjectUserDomaincontroller Get(string name, Input<string> id, ObjectUserDomaincontrollerState? state, CustomResourceOptions? opts = null)public static ObjectUserDomaincontroller get(String name, Output<String> id, ObjectUserDomaincontrollerState state, CustomResourceOptions options)resources:  _:    type: fortimanager:ObjectUserDomaincontroller    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AdMode string
- Set Active Directory mode. Valid values: none,ds,lds.
- AdldsDn string
- AD LDS distinguished name.
- AdldsIp6 string
- AD LDS IPv6 address.
- AdldsIp stringAddress 
- AD LDS IPv4 address.
- AdldsPort double
- Port number of AD LDS service (default = 389).
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- ChangeDetection string
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- ChangeDetection doublePeriod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- DnsSrv stringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- DomainName string
- Domain DNS name.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- ExtraServers List<ObjectUser Domaincontroller Extra Server> 
- Extra-Server. The structure of extra_serverblock is documented below.
- Hostname string
- Hostname of the server to connect to.
- Interface string
- Specify outgoing interface to reach server.
- InterfaceSelect stringMethod 
- 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.
- LdapServers List<string>
- LDAP server name.
- Name string
- Domain controller entry name.
- ObjectUser stringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- Passwords List<string>
- Password for specified username.
- Port double
- Port to be used for communication with the domain controller (default = 445).
- ReplicationPort double
- Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SourceIp6 string
- FortiGate IPv6 address to be used for communication with the domain controller.
- SourceIp stringAddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- SourcePort double
- 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.
- AdMode string
- Set Active Directory mode. Valid values: none,ds,lds.
- AdldsDn string
- AD LDS distinguished name.
- AdldsIp6 string
- AD LDS IPv6 address.
- AdldsIp stringAddress 
- AD LDS IPv4 address.
- AdldsPort float64
- Port number of AD LDS service (default = 389).
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- ChangeDetection string
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- ChangeDetection float64Period 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- DnsSrv stringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- DomainName string
- Domain DNS name.
- DynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- ExtraServers []ObjectUser Domaincontroller Extra Server Type Args 
- Extra-Server. The structure of extra_serverblock is documented below.
- Hostname string
- Hostname of the server to connect to.
- Interface string
- Specify outgoing interface to reach server.
- InterfaceSelect stringMethod 
- 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.
- LdapServers []string
- LDAP server name.
- Name string
- Domain controller entry name.
- ObjectUser stringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- Passwords []string
- Password for specified username.
- Port float64
- Port to be used for communication with the domain controller (default = 445).
- ReplicationPort float64
- Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- SourceIp6 string
- FortiGate IPv6 address to be used for communication with the domain controller.
- SourceIp stringAddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- SourcePort float64
- 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.
- adMode String
- Set Active Directory mode. Valid values: none,ds,lds.
- adldsDn String
- AD LDS distinguished name.
- adldsIp6 String
- AD LDS IPv6 address.
- adldsIp StringAddress 
- AD LDS IPv4 address.
- adldsPort Double
- Port number of AD LDS service (default = 389).
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- changeDetection String
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- changeDetection DoublePeriod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- dnsSrv StringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- domainName String
- Domain DNS name.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- extraServers List<ObjectUser Domaincontroller Extra Server> 
- Extra-Server. The structure of extra_serverblock is documented below.
- hostname String
- Hostname of the server to connect to.
- interfaceSelect StringMethod 
- 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.
- ldapServers List<String>
- LDAP server name.
- name String
- Domain controller entry name.
- objectUser StringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- passwords List<String>
- Password for specified username.
- port Double
- Port to be used for communication with the domain controller (default = 445).
- replicationPort Double
- Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sourceIp6 String
- FortiGate IPv6 address to be used for communication with the domain controller.
- sourceIp StringAddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- sourcePort Double
- 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.
- adMode string
- Set Active Directory mode. Valid values: none,ds,lds.
- adldsDn string
- AD LDS distinguished name.
- adldsIp6 string
- AD LDS IPv6 address.
- adldsIp stringAddress 
- AD LDS IPv4 address.
- adldsPort number
- Port number of AD LDS service (default = 389).
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- changeDetection string
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- changeDetection numberPeriod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- dnsSrv stringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- domainName string
- Domain DNS name.
- dynamicSort stringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- extraServers ObjectUser Domaincontroller Extra Server[] 
- Extra-Server. The structure of extra_serverblock is documented below.
- hostname string
- Hostname of the server to connect to.
- interface string
- Specify outgoing interface to reach server.
- interfaceSelect stringMethod 
- 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.
- ldapServers string[]
- LDAP server name.
- name string
- Domain controller entry name.
- objectUser stringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- passwords 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.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sourceIp6 string
- FortiGate IPv6 address to be used for communication with the domain controller.
- sourceIp stringAddress 
- 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.
- 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_ straddress 
- AD LDS IPv4 address.
- adlds_port float
- Port number of AD LDS service (default = 389).
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- change_detection str
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- change_detection_ floatperiod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- dns_srv_ strlookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- domain_name str
- Domain DNS name.
- dynamic_sort_ strsubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- extra_servers Sequence[ObjectUser Domaincontroller Extra Server Args] 
- Extra-Server. The structure of extra_serverblock is documented below.
- hostname str
- Hostname of the server to connect to.
- interface str
- Specify outgoing interface to reach server.
- interface_select_ strmethod 
- 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_servers Sequence[str]
- LDAP server name.
- name str
- Domain controller entry name.
- object_user_ strdomaincontroller_ id 
- an identifier for the resource with format {{name}}.
- passwords Sequence[str]
- Password for specified username.
- port float
- Port to be used for communication with the domain controller (default = 445).
- replication_port float
- Port to be used for communication with the domain controller for replication service. Port number 0 indicates automatic discovery.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- source_ip6 str
- FortiGate IPv6 address to be used for communication with the domain controller.
- source_ip_ straddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- source_port float
- 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.
- adMode String
- Set Active Directory mode. Valid values: none,ds,lds.
- adldsDn String
- AD LDS distinguished name.
- adldsIp6 String
- AD LDS IPv6 address.
- adldsIp StringAddress 
- AD LDS IPv4 address.
- adldsPort Number
- Port number of AD LDS service (default = 389).
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- changeDetection String
- Enable/disable detection of a configuration change in the Active Directory server. Valid values: disable,enable.
- changeDetection NumberPeriod 
- Minutes to detect a configuration change in the Active Directory server (5 - 10080 minutes (7 days), default = 60).
- dnsSrv StringLookup 
- Enable/disable DNS service lookup. Valid values: disable,enable.
- domainName String
- Domain DNS name.
- dynamicSort StringSubtable 
- true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- extraServers List<Property Map>
- Extra-Server. The structure of extra_serverblock is documented below.
- hostname String
- Hostname of the server to connect to.
- interface String
- Specify outgoing interface to reach server.
- interfaceSelect StringMethod 
- 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.
- ldapServers List<String>
- LDAP server name.
- name String
- Domain controller entry name.
- objectUser StringDomaincontroller Id 
- an identifier for the resource with format {{name}}.
- passwords List<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.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- sourceIp6 String
- FortiGate IPv6 address to be used for communication with the domain controller.
- sourceIp StringAddress 
- 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.
Supporting Types
ObjectUserDomaincontrollerExtraServer, ObjectUserDomaincontrollerExtraServerArgs          
- Id double
- Server ID.
- IpAddress string
- Domain controller IP address.
- Port double
- Port to be used for communication with the domain controller (default = 445).
- SourceIp stringAddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- SourcePort double
- Source port to be used for communication with the domain controller.
- Id float64
- Server ID.
- IpAddress string
- Domain controller IP address.
- Port float64
- Port to be used for communication with the domain controller (default = 445).
- SourceIp stringAddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- SourcePort float64
- Source port to be used for communication with the domain controller.
- id Double
- Server ID.
- ipAddress String
- Domain controller IP address.
- port Double
- Port to be used for communication with the domain controller (default = 445).
- sourceIp StringAddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- sourcePort Double
- 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).
- sourceIp stringAddress 
- 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 float
- Server ID.
- ip_address str
- Domain controller IP address.
- port float
- Port to be used for communication with the domain controller (default = 445).
- source_ip_ straddress 
- FortiGate IPv4 address to be used for communication with the domain controller.
- source_port float
- 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).
- sourceIp StringAddress 
- 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
ObjectUser DomainController can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectUserDomaincontroller:ObjectUserDomaincontroller labelname {{name}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the fortimanagerTerraform Provider.