@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
252 lines (251 loc) • 8.55 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Configure TACACS+ server entries.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumiverse/fortios";
*
* const trname = new fortios.user.Tacacs("trname", {
* authenType: "auto",
* authorization: "disable",
* port: 2342,
* server: "1.1.1.1",
* });
* ```
*
* ## Import
*
* User Tacacs can be imported using any of these accepted formats:
*
* ```sh
* $ pulumi import fortios:user/tacacs:Tacacs labelname {{name}}
* ```
*
* If you do not want to import arguments of block:
*
* $ export "FORTIOS_IMPORT_TABLE"="false"
*
* ```sh
* $ pulumi import fortios:user/tacacs:Tacacs labelname {{name}}
* ```
*
* $ unset "FORTIOS_IMPORT_TABLE"
*/
export declare class Tacacs extends pulumi.CustomResource {
/**
* Get an existing Tacacs resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TacacsState, opts?: pulumi.CustomResourceOptions): Tacacs;
/**
* Returns true if the given object is an instance of Tacacs. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Tacacs;
/**
* Allowed authentication protocols/methods. Valid values: `mschap`, `chap`, `pap`, `ascii`, `auto`.
*/
readonly authenType: pulumi.Output<string>;
/**
* Enable/disable TACACS+ authorization. Valid values: `enable`, `disable`.
*/
readonly authorization: pulumi.Output<string>;
/**
* Specify outgoing interface to reach server.
*/
readonly interface: pulumi.Output<string>;
/**
* Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.
*/
readonly interfaceSelectMethod: pulumi.Output<string>;
/**
* Key to access the primary server.
*/
readonly key: pulumi.Output<string | undefined>;
/**
* TACACS+ server entry name.
*/
readonly name: pulumi.Output<string>;
/**
* Port number of the TACACS+ server.
*/
readonly port: pulumi.Output<number>;
/**
* Key to access the secondary server.
*/
readonly secondaryKey: pulumi.Output<string | undefined>;
/**
* Secondary TACACS+ server CN domain name or IP address.
*/
readonly secondaryServer: pulumi.Output<string>;
/**
* Primary TACACS+ server CN domain name or IP address.
*/
readonly server: pulumi.Output<string>;
/**
* source IP for communications to TACACS+ server.
*/
readonly sourceIp: pulumi.Output<string>;
/**
* 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).
*/
readonly statusTtl: pulumi.Output<number>;
/**
* Key to access the tertiary server.
*/
readonly tertiaryKey: pulumi.Output<string | undefined>;
/**
* Tertiary TACACS+ server CN domain name or IP address.
*/
readonly tertiaryServer: pulumi.Output<string>;
/**
* Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
*/
readonly vdomparam: pulumi.Output<string>;
/**
* Create a Tacacs resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: TacacsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Tacacs resources.
*/
export interface TacacsState {
/**
* Allowed authentication protocols/methods. Valid values: `mschap`, `chap`, `pap`, `ascii`, `auto`.
*/
authenType?: pulumi.Input<string>;
/**
* Enable/disable TACACS+ authorization. Valid values: `enable`, `disable`.
*/
authorization?: pulumi.Input<string>;
/**
* Specify outgoing interface to reach server.
*/
interface?: pulumi.Input<string>;
/**
* Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.
*/
interfaceSelectMethod?: pulumi.Input<string>;
/**
* Key to access the primary server.
*/
key?: pulumi.Input<string>;
/**
* TACACS+ server entry name.
*/
name?: pulumi.Input<string>;
/**
* Port number of the TACACS+ server.
*/
port?: pulumi.Input<number>;
/**
* Key to access the secondary server.
*/
secondaryKey?: pulumi.Input<string>;
/**
* Secondary TACACS+ server CN domain name or IP address.
*/
secondaryServer?: pulumi.Input<string>;
/**
* Primary TACACS+ server CN domain name or IP address.
*/
server?: pulumi.Input<string>;
/**
* source IP for communications to TACACS+ server.
*/
sourceIp?: pulumi.Input<string>;
/**
* 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).
*/
statusTtl?: pulumi.Input<number>;
/**
* Key to access the tertiary server.
*/
tertiaryKey?: pulumi.Input<string>;
/**
* Tertiary TACACS+ server CN domain name or IP address.
*/
tertiaryServer?: pulumi.Input<string>;
/**
* Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
*/
vdomparam?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Tacacs resource.
*/
export interface TacacsArgs {
/**
* Allowed authentication protocols/methods. Valid values: `mschap`, `chap`, `pap`, `ascii`, `auto`.
*/
authenType?: pulumi.Input<string>;
/**
* Enable/disable TACACS+ authorization. Valid values: `enable`, `disable`.
*/
authorization?: pulumi.Input<string>;
/**
* Specify outgoing interface to reach server.
*/
interface?: pulumi.Input<string>;
/**
* Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.
*/
interfaceSelectMethod?: pulumi.Input<string>;
/**
* Key to access the primary server.
*/
key?: pulumi.Input<string>;
/**
* TACACS+ server entry name.
*/
name?: pulumi.Input<string>;
/**
* Port number of the TACACS+ server.
*/
port?: pulumi.Input<number>;
/**
* Key to access the secondary server.
*/
secondaryKey?: pulumi.Input<string>;
/**
* Secondary TACACS+ server CN domain name or IP address.
*/
secondaryServer?: pulumi.Input<string>;
/**
* Primary TACACS+ server CN domain name or IP address.
*/
server?: pulumi.Input<string>;
/**
* source IP for communications to TACACS+ server.
*/
sourceIp?: pulumi.Input<string>;
/**
* 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).
*/
statusTtl?: pulumi.Input<number>;
/**
* Key to access the tertiary server.
*/
tertiaryKey?: pulumi.Input<string>;
/**
* Tertiary TACACS+ server CN domain name or IP address.
*/
tertiaryServer?: pulumi.Input<string>;
/**
* Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
*/
vdomparam?: pulumi.Input<string>;
}