1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectUserDomaincontrollerExtraserver
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectUserDomaincontrollerExtraserver

Explore with Pulumi AI

extra servers.

This resource is a sub resource for variable extra_server of resource fortimanager.ObjectUserDomaincontroller. Conflict and overwrite may occur if use both of them.

Create ObjectUserDomaincontrollerExtraserver Resource

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

Constructor syntax

new ObjectUserDomaincontrollerExtraserver(name: string, args: ObjectUserDomaincontrollerExtraserverArgs, opts?: CustomResourceOptions);
@overload
def ObjectUserDomaincontrollerExtraserver(resource_name: str,
                                          args: ObjectUserDomaincontrollerExtraserverArgs,
                                          opts: Optional[ResourceOptions] = None)

@overload
def ObjectUserDomaincontrollerExtraserver(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          domain_controller: Optional[str] = None,
                                          adom: Optional[str] = None,
                                          fosid: Optional[float] = None,
                                          ip_address: Optional[str] = None,
                                          object_user_domaincontroller_extraserver_id: Optional[str] = None,
                                          port: Optional[float] = None,
                                          scopetype: Optional[str] = None,
                                          source_ip_address: Optional[str] = None,
                                          source_port: Optional[float] = None)
func NewObjectUserDomaincontrollerExtraserver(ctx *Context, name string, args ObjectUserDomaincontrollerExtraserverArgs, opts ...ResourceOption) (*ObjectUserDomaincontrollerExtraserver, error)
public ObjectUserDomaincontrollerExtraserver(string name, ObjectUserDomaincontrollerExtraserverArgs args, CustomResourceOptions? opts = null)
public ObjectUserDomaincontrollerExtraserver(String name, ObjectUserDomaincontrollerExtraserverArgs args)
public ObjectUserDomaincontrollerExtraserver(String name, ObjectUserDomaincontrollerExtraserverArgs args, CustomResourceOptions options)
type: fortimanager:ObjectUserDomaincontrollerExtraserver
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. ObjectUserDomaincontrollerExtraserverArgs
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. ObjectUserDomaincontrollerExtraserverArgs
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. ObjectUserDomaincontrollerExtraserverArgs
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. ObjectUserDomaincontrollerExtraserverArgs
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. ObjectUserDomaincontrollerExtraserverArgs
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 objectUserDomaincontrollerExtraserverResource = new Fortimanager.ObjectUserDomaincontrollerExtraserver("objectUserDomaincontrollerExtraserverResource", new()
{
    DomainController = "string",
    Adom = "string",
    Fosid = 0,
    IpAddress = "string",
    ObjectUserDomaincontrollerExtraserverId = "string",
    Port = 0,
    Scopetype = "string",
    SourceIpAddress = "string",
    SourcePort = 0,
});
Copy
example, err := fortimanager.NewObjectUserDomaincontrollerExtraserver(ctx, "objectUserDomaincontrollerExtraserverResource", &fortimanager.ObjectUserDomaincontrollerExtraserverArgs{
	DomainController:                        pulumi.String("string"),
	Adom:                                    pulumi.String("string"),
	Fosid:                                   pulumi.Float64(0),
	IpAddress:                               pulumi.String("string"),
	ObjectUserDomaincontrollerExtraserverId: pulumi.String("string"),
	Port:                                    pulumi.Float64(0),
	Scopetype:                               pulumi.String("string"),
	SourceIpAddress:                         pulumi.String("string"),
	SourcePort:                              pulumi.Float64(0),
})
Copy
var objectUserDomaincontrollerExtraserverResource = new ObjectUserDomaincontrollerExtraserver("objectUserDomaincontrollerExtraserverResource", ObjectUserDomaincontrollerExtraserverArgs.builder()
    .domainController("string")
    .adom("string")
    .fosid(0)
    .ipAddress("string")
    .objectUserDomaincontrollerExtraserverId("string")
    .port(0)
    .scopetype("string")
    .sourceIpAddress("string")
    .sourcePort(0)
    .build());
Copy
object_user_domaincontroller_extraserver_resource = fortimanager.ObjectUserDomaincontrollerExtraserver("objectUserDomaincontrollerExtraserverResource",
    domain_controller="string",
    adom="string",
    fosid=0,
    ip_address="string",
    object_user_domaincontroller_extraserver_id="string",
    port=0,
    scopetype="string",
    source_ip_address="string",
    source_port=0)
Copy
const objectUserDomaincontrollerExtraserverResource = new fortimanager.ObjectUserDomaincontrollerExtraserver("objectUserDomaincontrollerExtraserverResource", {
    domainController: "string",
    adom: "string",
    fosid: 0,
    ipAddress: "string",
    objectUserDomaincontrollerExtraserverId: "string",
    port: 0,
    scopetype: "string",
    sourceIpAddress: "string",
    sourcePort: 0,
});
Copy
type: fortimanager:ObjectUserDomaincontrollerExtraserver
properties:
    adom: string
    domainController: string
    fosid: 0
    ipAddress: string
    objectUserDomaincontrollerExtraserverId: string
    port: 0
    scopetype: string
    sourceIpAddress: string
    sourcePort: 0
Copy

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

DomainController This property is required. string
Domain Controller.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Fosid double
Server ID.
IpAddress string
Domain controller IP address.
ObjectUserDomaincontrollerExtraserverId string
an identifier for the resource with format {{fosid}}.
Port double
Port to be used for communication with the domain controller (default = 445).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceIpAddress string
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.
DomainController This property is required. string
Domain Controller.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Fosid float64
Server ID.
IpAddress string
Domain controller IP address.
ObjectUserDomaincontrollerExtraserverId string
an identifier for the resource with format {{fosid}}.
Port float64
Port to be used for communication with the domain controller (default = 445).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceIpAddress string
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.
domainController This property is required. String
Domain Controller.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fosid Double
Server ID.
ipAddress String
Domain controller IP address.
objectUserDomaincontrollerExtraserverId String
an identifier for the resource with format {{fosid}}.
port Double
Port to be used for communication with the domain controller (default = 445).
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceIpAddress String
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.
domainController This property is required. string
Domain Controller.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fosid number
Server ID.
ipAddress string
Domain controller IP address.
objectUserDomaincontrollerExtraserverId string
an identifier for the resource with format {{fosid}}.
port number
Port to be used for communication with the domain controller (default = 445).
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
domain_controller This property is required. str
Domain Controller.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fosid float
Server ID.
ip_address str
Domain controller IP address.
object_user_domaincontroller_extraserver_id str
an identifier for the resource with format {{fosid}}.
port float
Port to be used for communication with the domain controller (default = 445).
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
source_ip_address str
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.
domainController This property is required. String
Domain Controller.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
fosid Number
Server ID.
ipAddress String
Domain controller IP address.
objectUserDomaincontrollerExtraserverId String
an identifier for the resource with format {{fosid}}.
port Number
Port to be used for communication with the domain controller (default = 445).
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.

Outputs

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

Get an existing ObjectUserDomaincontrollerExtraserver 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?: ObjectUserDomaincontrollerExtraserverState, opts?: CustomResourceOptions): ObjectUserDomaincontrollerExtraserver
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        domain_controller: Optional[str] = None,
        fosid: Optional[float] = None,
        ip_address: Optional[str] = None,
        object_user_domaincontroller_extraserver_id: Optional[str] = None,
        port: Optional[float] = None,
        scopetype: Optional[str] = None,
        source_ip_address: Optional[str] = None,
        source_port: Optional[float] = None) -> ObjectUserDomaincontrollerExtraserver
func GetObjectUserDomaincontrollerExtraserver(ctx *Context, name string, id IDInput, state *ObjectUserDomaincontrollerExtraserverState, opts ...ResourceOption) (*ObjectUserDomaincontrollerExtraserver, error)
public static ObjectUserDomaincontrollerExtraserver Get(string name, Input<string> id, ObjectUserDomaincontrollerExtraserverState? state, CustomResourceOptions? opts = null)
public static ObjectUserDomaincontrollerExtraserver get(String name, Output<String> id, ObjectUserDomaincontrollerExtraserverState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectUserDomaincontrollerExtraserver    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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DomainController string
Domain Controller.
Fosid double
Server ID.
IpAddress string
Domain controller IP address.
ObjectUserDomaincontrollerExtraserverId string
an identifier for the resource with format {{fosid}}.
Port double
Port to be used for communication with the domain controller (default = 445).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceIpAddress string
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.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DomainController string
Domain Controller.
Fosid float64
Server ID.
IpAddress string
Domain controller IP address.
ObjectUserDomaincontrollerExtraserverId string
an identifier for the resource with format {{fosid}}.
Port float64
Port to be used for communication with the domain controller (default = 445).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceIpAddress string
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
domainController String
Domain Controller.
fosid Double
Server ID.
ipAddress String
Domain controller IP address.
objectUserDomaincontrollerExtraserverId String
an identifier for the resource with format {{fosid}}.
port Double
Port to be used for communication with the domain controller (default = 445).
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceIpAddress String
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.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
domainController string
Domain Controller.
fosid number
Server ID.
ipAddress string
Domain controller IP address.
objectUserDomaincontrollerExtraserverId string
an identifier for the resource with format {{fosid}}.
port number
Port to be used for communication with the domain controller (default = 445).
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
domain_controller str
Domain Controller.
fosid float
Server ID.
ip_address str
Domain controller IP address.
object_user_domaincontroller_extraserver_id str
an identifier for the resource with format {{fosid}}.
port float
Port to be used for communication with the domain controller (default = 445).
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
source_ip_address str
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
domainController String
Domain Controller.
fosid Number
Server ID.
ipAddress String
Domain controller IP address.
objectUserDomaincontrollerExtraserverId String
an identifier for the resource with format {{fosid}}.
port Number
Port to be used for communication with the domain controller (default = 445).
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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

ObjectUser DomainControllerExtraServer can be imported using any of these accepted formats:

Set import_options = [“domain_controller=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectUserDomaincontrollerExtraserver:ObjectUserDomaincontrollerExtraserver labelname {{fosid}}
Copy

$ 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 fortimanager Terraform Provider.