1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectUserTacacs
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectUserTacacs

Explore with Pulumi AI

Configure TACACS+ server entries.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • dynamic_mapping: fortimanager.ObjectUserTacacsDynamicMapping

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.ObjectUserTacacs("trname", {
    authenType: "auto",
    authorization: "disable",
    "interface": "port10",
    interfaceSelectMethod: "auto",
    keys: ["fortinet"],
    port: 49,
    secondaryKeys: ["fortinet"],
    server: "192.168.1.1",
    tertiaryKeys: ["fortinet"],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectUserTacacs("trname",
    authen_type="auto",
    authorization="disable",
    interface="port10",
    interface_select_method="auto",
    keys=["fortinet"],
    port=49,
    secondary_keys=["fortinet"],
    server="192.168.1.1",
    tertiary_keys=["fortinet"])
Copy
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.NewObjectUserTacacs(ctx, "trname", &fortimanager.ObjectUserTacacsArgs{
			AuthenType:            pulumi.String("auto"),
			Authorization:         pulumi.String("disable"),
			Interface:             pulumi.String("port10"),
			InterfaceSelectMethod: pulumi.String("auto"),
			Keys: pulumi.StringArray{
				pulumi.String("fortinet"),
			},
			Port: pulumi.Float64(49),
			SecondaryKeys: pulumi.StringArray{
				pulumi.String("fortinet"),
			},
			Server: pulumi.String("192.168.1.1"),
			TertiaryKeys: pulumi.StringArray{
				pulumi.String("fortinet"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectUserTacacs("trname", new()
    {
        AuthenType = "auto",
        Authorization = "disable",
        Interface = "port10",
        InterfaceSelectMethod = "auto",
        Keys = new[]
        {
            "fortinet",
        },
        Port = 49,
        SecondaryKeys = new[]
        {
            "fortinet",
        },
        Server = "192.168.1.1",
        TertiaryKeys = new[]
        {
            "fortinet",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectUserTacacs;
import com.pulumi.fortimanager.ObjectUserTacacsArgs;
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 ObjectUserTacacs("trname", ObjectUserTacacsArgs.builder()
            .authenType("auto")
            .authorization("disable")
            .interface_("port10")
            .interfaceSelectMethod("auto")
            .keys("fortinet")
            .port(49)
            .secondaryKeys("fortinet")
            .server("192.168.1.1")
            .tertiaryKeys("fortinet")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectUserTacacs
    properties:
      authenType: auto
      authorization: disable
      interface: port10
      interfaceSelectMethod: auto
      keys:
        - fortinet
      port: 49
      secondaryKeys:
        - fortinet
      server: 192.168.1.1
      tertiaryKeys:
        - fortinet
Copy

Create ObjectUserTacacs Resource

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

Constructor syntax

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

@overload
def ObjectUserTacacs(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     adom: Optional[str] = None,
                     authen_type: Optional[str] = None,
                     authorization: Optional[str] = None,
                     dynamic_mappings: Optional[Sequence[ObjectUserTacacsDynamicMappingArgs]] = None,
                     dynamic_sort_subtable: Optional[str] = None,
                     interface: Optional[str] = None,
                     interface_select_method: Optional[str] = None,
                     keys: Optional[Sequence[str]] = None,
                     name: Optional[str] = None,
                     object_user_tacacs_id: Optional[str] = None,
                     port: Optional[float] = None,
                     scopetype: Optional[str] = None,
                     secondary_keys: Optional[Sequence[str]] = None,
                     secondary_server: Optional[str] = None,
                     server: Optional[str] = None,
                     source_ip: Optional[str] = None,
                     status_ttl: Optional[float] = None,
                     tertiary_keys: Optional[Sequence[str]] = None,
                     tertiary_server: Optional[str] = None)
func NewObjectUserTacacs(ctx *Context, name string, args *ObjectUserTacacsArgs, opts ...ResourceOption) (*ObjectUserTacacs, error)
public ObjectUserTacacs(string name, ObjectUserTacacsArgs? args = null, CustomResourceOptions? opts = null)
public ObjectUserTacacs(String name, ObjectUserTacacsArgs args)
public ObjectUserTacacs(String name, ObjectUserTacacsArgs args, CustomResourceOptions options)
type: fortimanager:ObjectUserTacacs
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 ObjectUserTacacsArgs
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 ObjectUserTacacsArgs
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 ObjectUserTacacsArgs
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 ObjectUserTacacsArgs
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. ObjectUserTacacsArgs
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 objectUserTacacsResource = new Fortimanager.ObjectUserTacacs("objectUserTacacsResource", new()
{
    Adom = "string",
    AuthenType = "string",
    Authorization = "string",
    DynamicMappings = new[]
    {
        new Fortimanager.Inputs.ObjectUserTacacsDynamicMappingArgs
        {
            _scopes = new[]
            {
                new Fortimanager.Inputs.ObjectUserTacacsDynamicMapping_ScopeArgs
                {
                    Name = "string",
                    Vdom = "string",
                },
            },
            AuthenType = "string",
            Authorization = "string",
            Interface = "string",
            InterfaceSelectMethod = "string",
            Keys = new[]
            {
                "string",
            },
            Port = 0,
            SecondaryKeys = new[]
            {
                "string",
            },
            SecondaryServer = "string",
            Server = "string",
            SourceIp = "string",
            StatusTtl = 0,
            TertiaryKeys = new[]
            {
                "string",
            },
            TertiaryServer = "string",
        },
    },
    DynamicSortSubtable = "string",
    Interface = "string",
    InterfaceSelectMethod = "string",
    Keys = new[]
    {
        "string",
    },
    Name = "string",
    ObjectUserTacacsId = "string",
    Port = 0,
    Scopetype = "string",
    SecondaryKeys = new[]
    {
        "string",
    },
    SecondaryServer = "string",
    Server = "string",
    SourceIp = "string",
    StatusTtl = 0,
    TertiaryKeys = new[]
    {
        "string",
    },
    TertiaryServer = "string",
});
Copy
example, err := fortimanager.NewObjectUserTacacs(ctx, "objectUserTacacsResource", &fortimanager.ObjectUserTacacsArgs{
Adom: pulumi.String("string"),
AuthenType: pulumi.String("string"),
Authorization: pulumi.String("string"),
DynamicMappings: .ObjectUserTacacsDynamicMappingTypeArray{
&.ObjectUserTacacsDynamicMappingTypeArgs{
_scopes: .ObjectUserTacacsDynamicMapping_ScopeArray{
&.ObjectUserTacacsDynamicMapping_ScopeArgs{
Name: pulumi.String("string"),
Vdom: pulumi.String("string"),
},
},
AuthenType: pulumi.String("string"),
Authorization: pulumi.String("string"),
Interface: pulumi.String("string"),
InterfaceSelectMethod: pulumi.String("string"),
Keys: pulumi.StringArray{
pulumi.String("string"),
},
Port: pulumi.Float64(0),
SecondaryKeys: pulumi.StringArray{
pulumi.String("string"),
},
SecondaryServer: pulumi.String("string"),
Server: pulumi.String("string"),
SourceIp: pulumi.String("string"),
StatusTtl: pulumi.Float64(0),
TertiaryKeys: pulumi.StringArray{
pulumi.String("string"),
},
TertiaryServer: pulumi.String("string"),
},
},
DynamicSortSubtable: pulumi.String("string"),
Interface: pulumi.String("string"),
InterfaceSelectMethod: pulumi.String("string"),
Keys: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
ObjectUserTacacsId: pulumi.String("string"),
Port: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
SecondaryKeys: pulumi.StringArray{
pulumi.String("string"),
},
SecondaryServer: pulumi.String("string"),
Server: pulumi.String("string"),
SourceIp: pulumi.String("string"),
StatusTtl: pulumi.Float64(0),
TertiaryKeys: pulumi.StringArray{
pulumi.String("string"),
},
TertiaryServer: pulumi.String("string"),
})
Copy
var objectUserTacacsResource = new ObjectUserTacacs("objectUserTacacsResource", ObjectUserTacacsArgs.builder()
    .adom("string")
    .authenType("string")
    .authorization("string")
    .dynamicMappings(ObjectUserTacacsDynamicMappingArgs.builder()
        ._scopes(ObjectUserTacacsDynamicMapping_ScopeArgs.builder()
            .name("string")
            .vdom("string")
            .build())
        .authenType("string")
        .authorization("string")
        .interface_("string")
        .interfaceSelectMethod("string")
        .keys("string")
        .port(0)
        .secondaryKeys("string")
        .secondaryServer("string")
        .server("string")
        .sourceIp("string")
        .statusTtl(0)
        .tertiaryKeys("string")
        .tertiaryServer("string")
        .build())
    .dynamicSortSubtable("string")
    .interface_("string")
    .interfaceSelectMethod("string")
    .keys("string")
    .name("string")
    .objectUserTacacsId("string")
    .port(0)
    .scopetype("string")
    .secondaryKeys("string")
    .secondaryServer("string")
    .server("string")
    .sourceIp("string")
    .statusTtl(0)
    .tertiaryKeys("string")
    .tertiaryServer("string")
    .build());
Copy
object_user_tacacs_resource = fortimanager.ObjectUserTacacs("objectUserTacacsResource",
    adom="string",
    authen_type="string",
    authorization="string",
    dynamic_mappings=[{
        "_scopes": [{
            "name": "string",
            "vdom": "string",
        }],
        "authen_type": "string",
        "authorization": "string",
        "interface": "string",
        "interface_select_method": "string",
        "keys": ["string"],
        "port": 0,
        "secondary_keys": ["string"],
        "secondary_server": "string",
        "server": "string",
        "source_ip": "string",
        "status_ttl": 0,
        "tertiary_keys": ["string"],
        "tertiary_server": "string",
    }],
    dynamic_sort_subtable="string",
    interface="string",
    interface_select_method="string",
    keys=["string"],
    name="string",
    object_user_tacacs_id="string",
    port=0,
    scopetype="string",
    secondary_keys=["string"],
    secondary_server="string",
    server="string",
    source_ip="string",
    status_ttl=0,
    tertiary_keys=["string"],
    tertiary_server="string")
Copy
const objectUserTacacsResource = new fortimanager.ObjectUserTacacs("objectUserTacacsResource", {
    adom: "string",
    authenType: "string",
    authorization: "string",
    dynamicMappings: [{
        _scopes: [{
            name: "string",
            vdom: "string",
        }],
        authenType: "string",
        authorization: "string",
        "interface": "string",
        interfaceSelectMethod: "string",
        keys: ["string"],
        port: 0,
        secondaryKeys: ["string"],
        secondaryServer: "string",
        server: "string",
        sourceIp: "string",
        statusTtl: 0,
        tertiaryKeys: ["string"],
        tertiaryServer: "string",
    }],
    dynamicSortSubtable: "string",
    "interface": "string",
    interfaceSelectMethod: "string",
    keys: ["string"],
    name: "string",
    objectUserTacacsId: "string",
    port: 0,
    scopetype: "string",
    secondaryKeys: ["string"],
    secondaryServer: "string",
    server: "string",
    sourceIp: "string",
    statusTtl: 0,
    tertiaryKeys: ["string"],
    tertiaryServer: "string",
});
Copy
type: fortimanager:ObjectUserTacacs
properties:
    adom: string
    authenType: string
    authorization: string
    dynamicMappings:
        - _scopes:
            - name: string
              vdom: string
          authenType: string
          authorization: string
          interface: string
          interfaceSelectMethod: string
          keys:
            - string
          port: 0
          secondaryKeys:
            - string
          secondaryServer: string
          server: string
          sourceIp: string
          statusTtl: 0
          tertiaryKeys:
            - string
          tertiaryServer: string
    dynamicSortSubtable: string
    interface: string
    interfaceSelectMethod: string
    keys:
        - string
    name: string
    objectUserTacacsId: string
    port: 0
    scopetype: string
    secondaryKeys:
        - string
    secondaryServer: string
    server: string
    sourceIp: string
    statusTtl: 0
    tertiaryKeys:
        - string
    tertiaryServer: string
Copy

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

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AuthenType string
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
Authorization string
Enable/disable TACACS+ authorization. Valid values: disable, enable.
DynamicMappings List<ObjectUserTacacsDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
DynamicSortSubtable string
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.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Keys List<string>
Key to access the primary server.
Name string
TACACS+ server entry name.
ObjectUserTacacsId string
an identifier for the resource with format {{name}}.
Port double
Port number of the TACACS+ server.
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.
SecondaryKeys List<string>
Key to access the secondary server.
SecondaryServer string
Secondary TACACS+ server CN domain name or IP address.
Server string
Primary TACACS+ server CN domain name or IP address.
SourceIp string
source IP for communications to TACACS+ server.
StatusTtl double
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
TertiaryKeys List<string>
Key to access the tertiary server.
TertiaryServer string
Tertiary TACACS+ server CN domain name or IP address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AuthenType string
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
Authorization string
Enable/disable TACACS+ authorization. Valid values: disable, enable.
DynamicMappings []ObjectUserTacacsDynamicMappingTypeArgs
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
DynamicSortSubtable string
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.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Keys []string
Key to access the primary server.
Name string
TACACS+ server entry name.
ObjectUserTacacsId string
an identifier for the resource with format {{name}}.
Port float64
Port number of the TACACS+ server.
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.
SecondaryKeys []string
Key to access the secondary server.
SecondaryServer string
Secondary TACACS+ server CN domain name or IP address.
Server string
Primary TACACS+ server CN domain name or IP address.
SourceIp string
source IP for communications to TACACS+ server.
StatusTtl float64
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
TertiaryKeys []string
Key to access the tertiary server.
TertiaryServer string
Tertiary TACACS+ server CN domain name or IP address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenType String
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization String
Enable/disable TACACS+ authorization. Valid values: disable, enable.
dynamicMappings List<ObjectUserTacacsDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable String
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.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interface_ String
Specify outgoing interface to reach server.
keys List<String>
Key to access the primary server.
name String
TACACS+ server entry name.
objectUserTacacsId String
an identifier for the resource with format {{name}}.
port Double
Port number of the TACACS+ server.
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.
secondaryKeys List<String>
Key to access the secondary server.
secondaryServer String
Secondary TACACS+ server CN domain name or IP address.
server String
Primary TACACS+ server CN domain name or IP address.
sourceIp String
source IP for communications to TACACS+ server.
statusTtl Double
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiaryKeys List<String>
Key to access the tertiary server.
tertiaryServer String
Tertiary TACACS+ server CN domain name or IP address.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenType string
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization string
Enable/disable TACACS+ authorization. Valid values: disable, enable.
dynamicMappings ObjectUserTacacsDynamicMapping[]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable string
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.
interface string
Specify outgoing interface to reach server.
interfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
keys string[]
Key to access the primary server.
name string
TACACS+ server entry name.
objectUserTacacsId string
an identifier for the resource with format {{name}}.
port number
Port number of the TACACS+ server.
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.
secondaryKeys string[]
Key to access the secondary server.
secondaryServer string
Secondary TACACS+ server CN domain name or IP address.
server string
Primary TACACS+ server CN domain name or IP address.
sourceIp string
source IP for communications to TACACS+ server.
statusTtl number
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiaryKeys string[]
Key to access the tertiary server.
tertiaryServer string
Tertiary TACACS+ server CN domain name or IP address.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authen_type str
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization str
Enable/disable TACACS+ authorization. Valid values: disable, enable.
dynamic_mappings Sequence[ObjectUserTacacsDynamicMappingArgs]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamic_sort_subtable str
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.
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.
keys Sequence[str]
Key to access the primary server.
name str
TACACS+ server entry name.
object_user_tacacs_id str
an identifier for the resource with format {{name}}.
port float
Port number of the TACACS+ server.
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.
secondary_keys Sequence[str]
Key to access the secondary server.
secondary_server str
Secondary TACACS+ server CN domain name or IP address.
server str
Primary TACACS+ server CN domain name or IP address.
source_ip str
source IP for communications to TACACS+ server.
status_ttl float
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiary_keys Sequence[str]
Key to access the tertiary server.
tertiary_server str
Tertiary TACACS+ server CN domain name or IP address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenType String
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization String
Enable/disable TACACS+ authorization. Valid values: disable, enable.
dynamicMappings List<Property Map>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable String
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.
interface String
Specify outgoing interface to reach server.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
keys List<String>
Key to access the primary server.
name String
TACACS+ server entry name.
objectUserTacacsId String
an identifier for the resource with format {{name}}.
port Number
Port number of the TACACS+ server.
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.
secondaryKeys List<String>
Key to access the secondary server.
secondaryServer String
Secondary TACACS+ server CN domain name or IP address.
server String
Primary TACACS+ server CN domain name or IP address.
sourceIp String
source IP for communications to TACACS+ server.
statusTtl Number
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiaryKeys List<String>
Key to access the tertiary server.
tertiaryServer String
Tertiary TACACS+ server CN domain name or IP address.

Outputs

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

Get an existing ObjectUserTacacs 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?: ObjectUserTacacsState, opts?: CustomResourceOptions): ObjectUserTacacs
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        authen_type: Optional[str] = None,
        authorization: Optional[str] = None,
        dynamic_mappings: Optional[Sequence[ObjectUserTacacsDynamicMappingArgs]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        interface: Optional[str] = None,
        interface_select_method: Optional[str] = None,
        keys: Optional[Sequence[str]] = None,
        name: Optional[str] = None,
        object_user_tacacs_id: Optional[str] = None,
        port: Optional[float] = None,
        scopetype: Optional[str] = None,
        secondary_keys: Optional[Sequence[str]] = None,
        secondary_server: Optional[str] = None,
        server: Optional[str] = None,
        source_ip: Optional[str] = None,
        status_ttl: Optional[float] = None,
        tertiary_keys: Optional[Sequence[str]] = None,
        tertiary_server: Optional[str] = None) -> ObjectUserTacacs
func GetObjectUserTacacs(ctx *Context, name string, id IDInput, state *ObjectUserTacacsState, opts ...ResourceOption) (*ObjectUserTacacs, error)
public static ObjectUserTacacs Get(string name, Input<string> id, ObjectUserTacacsState? state, CustomResourceOptions? opts = null)
public static ObjectUserTacacs get(String name, Output<String> id, ObjectUserTacacsState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectUserTacacs    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.
AuthenType string
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
Authorization string
Enable/disable TACACS+ authorization. Valid values: disable, enable.
DynamicMappings List<ObjectUserTacacsDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
DynamicSortSubtable string
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.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Keys List<string>
Key to access the primary server.
Name string
TACACS+ server entry name.
ObjectUserTacacsId string
an identifier for the resource with format {{name}}.
Port double
Port number of the TACACS+ server.
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.
SecondaryKeys List<string>
Key to access the secondary server.
SecondaryServer string
Secondary TACACS+ server CN domain name or IP address.
Server string
Primary TACACS+ server CN domain name or IP address.
SourceIp string
source IP for communications to TACACS+ server.
StatusTtl double
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
TertiaryKeys List<string>
Key to access the tertiary server.
TertiaryServer string
Tertiary TACACS+ server CN domain name or IP address.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AuthenType string
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
Authorization string
Enable/disable TACACS+ authorization. Valid values: disable, enable.
DynamicMappings []ObjectUserTacacsDynamicMappingTypeArgs
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
DynamicSortSubtable string
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.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Keys []string
Key to access the primary server.
Name string
TACACS+ server entry name.
ObjectUserTacacsId string
an identifier for the resource with format {{name}}.
Port float64
Port number of the TACACS+ server.
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.
SecondaryKeys []string
Key to access the secondary server.
SecondaryServer string
Secondary TACACS+ server CN domain name or IP address.
Server string
Primary TACACS+ server CN domain name or IP address.
SourceIp string
source IP for communications to TACACS+ server.
StatusTtl float64
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
TertiaryKeys []string
Key to access the tertiary server.
TertiaryServer string
Tertiary TACACS+ server CN domain name or IP address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenType String
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization String
Enable/disable TACACS+ authorization. Valid values: disable, enable.
dynamicMappings List<ObjectUserTacacsDynamicMapping>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable String
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.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interface_ String
Specify outgoing interface to reach server.
keys List<String>
Key to access the primary server.
name String
TACACS+ server entry name.
objectUserTacacsId String
an identifier for the resource with format {{name}}.
port Double
Port number of the TACACS+ server.
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.
secondaryKeys List<String>
Key to access the secondary server.
secondaryServer String
Secondary TACACS+ server CN domain name or IP address.
server String
Primary TACACS+ server CN domain name or IP address.
sourceIp String
source IP for communications to TACACS+ server.
statusTtl Double
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiaryKeys List<String>
Key to access the tertiary server.
tertiaryServer String
Tertiary TACACS+ server CN domain name or IP address.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenType string
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization string
Enable/disable TACACS+ authorization. Valid values: disable, enable.
dynamicMappings ObjectUserTacacsDynamicMapping[]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable string
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.
interface string
Specify outgoing interface to reach server.
interfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
keys string[]
Key to access the primary server.
name string
TACACS+ server entry name.
objectUserTacacsId string
an identifier for the resource with format {{name}}.
port number
Port number of the TACACS+ server.
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.
secondaryKeys string[]
Key to access the secondary server.
secondaryServer string
Secondary TACACS+ server CN domain name or IP address.
server string
Primary TACACS+ server CN domain name or IP address.
sourceIp string
source IP for communications to TACACS+ server.
statusTtl number
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiaryKeys string[]
Key to access the tertiary server.
tertiaryServer string
Tertiary TACACS+ server CN domain name or IP address.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authen_type str
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization str
Enable/disable TACACS+ authorization. Valid values: disable, enable.
dynamic_mappings Sequence[ObjectUserTacacsDynamicMappingArgs]
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamic_sort_subtable str
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.
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.
keys Sequence[str]
Key to access the primary server.
name str
TACACS+ server entry name.
object_user_tacacs_id str
an identifier for the resource with format {{name}}.
port float
Port number of the TACACS+ server.
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.
secondary_keys Sequence[str]
Key to access the secondary server.
secondary_server str
Secondary TACACS+ server CN domain name or IP address.
server str
Primary TACACS+ server CN domain name or IP address.
source_ip str
source IP for communications to TACACS+ server.
status_ttl float
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiary_keys Sequence[str]
Key to access the tertiary server.
tertiary_server str
Tertiary TACACS+ server CN domain name or IP address.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenType String
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization String
Enable/disable TACACS+ authorization. Valid values: disable, enable.
dynamicMappings List<Property Map>
Dynamic_Mapping. The structure of dynamic_mapping block is documented below.
dynamicSortSubtable String
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.
interface String
Specify outgoing interface to reach server.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
keys List<String>
Key to access the primary server.
name String
TACACS+ server entry name.
objectUserTacacsId String
an identifier for the resource with format {{name}}.
port Number
Port number of the TACACS+ server.
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.
secondaryKeys List<String>
Key to access the secondary server.
secondaryServer String
Secondary TACACS+ server CN domain name or IP address.
server String
Primary TACACS+ server CN domain name or IP address.
sourceIp String
source IP for communications to TACACS+ server.
statusTtl Number
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiaryKeys List<String>
Key to access the tertiary server.
tertiaryServer String
Tertiary TACACS+ server CN domain name or IP address.

Supporting Types

ObjectUserTacacsDynamicMapping
, ObjectUserTacacsDynamicMappingArgs

AuthenType string
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
Authorization string
Enable/disable TACACS+ authorization. Valid values: disable, enable.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Keys List<string>
Key to access the primary server.
Port double
Port number of the TACACS+ server.
SecondaryKeys List<string>
Key to access the secondary server.
SecondaryServer string
Secondary TACACS+ server CN domain name or IP address.
Server string
Primary TACACS+ server CN domain name or IP address.
SourceIp string
source IP for communications to TACACS+ server.
StatusTtl double
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
TertiaryKeys List<string>
Key to access the tertiary server.
TertiaryServer string
Tertiary TACACS+ server CN domain name or IP address.
_scopes List<ObjectUserTacacsDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
AuthenType string
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
Authorization string
Enable/disable TACACS+ authorization. Valid values: disable, enable.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Keys []string
Key to access the primary server.
Port float64
Port number of the TACACS+ server.
SecondaryKeys []string
Key to access the secondary server.
SecondaryServer string
Secondary TACACS+ server CN domain name or IP address.
Server string
Primary TACACS+ server CN domain name or IP address.
SourceIp string
source IP for communications to TACACS+ server.
StatusTtl float64
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
TertiaryKeys []string
Key to access the tertiary server.
TertiaryServer string
Tertiary TACACS+ server CN domain name or IP address.
_scopes []ObjectUserTacacsDynamicMapping_Scope
_Scope. The structure of _scope block is documented below.
_scopes List<ObjectUserTacacsDynamicMapping_Scope>
_Scope. The structure of _scope block is documented below.
authenType String
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization String
Enable/disable TACACS+ authorization. Valid values: disable, enable.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interface_ String
Specify outgoing interface to reach server.
keys List<String>
Key to access the primary server.
port Double
Port number of the TACACS+ server.
secondaryKeys List<String>
Key to access the secondary server.
secondaryServer String
Secondary TACACS+ server CN domain name or IP address.
server String
Primary TACACS+ server CN domain name or IP address.
sourceIp String
source IP for communications to TACACS+ server.
statusTtl Double
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiaryKeys List<String>
Key to access the tertiary server.
tertiaryServer String
Tertiary TACACS+ server CN domain name or IP address.
_scopes ObjectUserTacacsDynamicMapping_Scope[]
_Scope. The structure of _scope block is documented below.
authenType string
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization string
Enable/disable TACACS+ authorization. Valid values: disable, enable.
interface string
Specify outgoing interface to reach server.
interfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
keys string[]
Key to access the primary server.
port number
Port number of the TACACS+ server.
secondaryKeys string[]
Key to access the secondary server.
secondaryServer string
Secondary TACACS+ server CN domain name or IP address.
server string
Primary TACACS+ server CN domain name or IP address.
sourceIp string
source IP for communications to TACACS+ server.
statusTtl number
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiaryKeys string[]
Key to access the tertiary server.
tertiaryServer string
Tertiary TACACS+ server CN domain name or IP address.
_scopes Sequence[ObjectUserTacacsDynamicMapping_Scope]
_Scope. The structure of _scope block is documented below.
authen_type str
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization str
Enable/disable TACACS+ authorization. Valid values: disable, enable.
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.
keys Sequence[str]
Key to access the primary server.
port float
Port number of the TACACS+ server.
secondary_keys Sequence[str]
Key to access the secondary server.
secondary_server str
Secondary TACACS+ server CN domain name or IP address.
server str
Primary TACACS+ server CN domain name or IP address.
source_ip str
source IP for communications to TACACS+ server.
status_ttl float
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiary_keys Sequence[str]
Key to access the tertiary server.
tertiary_server str
Tertiary TACACS+ server CN domain name or IP address.
_scopes List<Property Map>
_Scope. The structure of _scope block is documented below.
authenType String
Allowed authentication protocols/methods. Valid values: auto, ascii, pap, chap, mschap.
authorization String
Enable/disable TACACS+ authorization. Valid values: disable, enable.
interface String
Specify outgoing interface to reach server.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
keys List<String>
Key to access the primary server.
port Number
Port number of the TACACS+ server.
secondaryKeys List<String>
Key to access the secondary server.
secondaryServer String
Secondary TACACS+ server CN domain name or IP address.
server String
Primary TACACS+ server CN domain name or IP address.
sourceIp String
source IP for communications to TACACS+ server.
statusTtl Number
Time for which server reachability is cached so that when a server is unreachable, it will not be retried for at least this period of time (0 = cache disabled, default = 300).
tertiaryKeys List<String>
Key to access the tertiary server.
tertiaryServer String
Tertiary TACACS+ server CN domain name or IP address.

ObjectUserTacacsDynamicMapping_Scope
, ObjectUserTacacsDynamicMapping_ScopeArgs

Name string
Name.
Vdom string
Vdom.
Name string
Name.
Vdom string
Vdom.
name String
Name.
vdom String
Vdom.
name string
Name.
vdom string
Vdom.
name str
Name.
vdom str
Vdom.
name String
Name.
vdom String
Vdom.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectUserTacacs:ObjectUserTacacs labelname {{name}}
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.