UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

261 lines (260 loc) 9.7 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Extender controller configuration. * This resource will be deprecated. For FortiOS Version >= 7.2.1, using `fortios.extensioncontroller.Extender`. For FortiOS version < 7.2.1, see `fortios.extendercontroller.Extender` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumiverse/fortios"; * * const trname = new fortios.extendercontroller.Extender1("trname", { * authorized: "disable", * controllerReport: { * interval: 300, * signalThreshold: 10, * status: "disable", * }, * extName: "2932", * fosid: "FX201E5919004031", * modem1: { * autoSwitch: { * dataplan: "disable", * disconnect: "disable", * disconnectPeriod: 600, * disconnectThreshold: 3, * signal: "disable", * switchBack: "timer", * switchBackTime: "00:01", * switchBackTimer: 86400, * }, * connStatus: 0, * defaultSim: "sim2", * gps: "enable", * redundantIntf: "s1", * redundantMode: "enable", * sim1Pin: "disable", * sim1PinCode: "testpincode", * sim2Pin: "disable", * }, * modem2: { * autoSwitch: { * dataplan: "disable", * disconnect: "disable", * disconnectPeriod: 600, * disconnectThreshold: 3, * signal: "disable", * switchBackTime: "00:01", * switchBackTimer: 86400, * }, * connStatus: 0, * defaultSim: "sim1", * gps: "enable", * redundantMode: "disable", * sim1Pin: "disable", * sim2Pin: "disable", * }, * vdom: 0, * }); * ``` * * ## Import * * ExtenderController Extender1 can be imported using any of these accepted formats: * * ```sh * $ pulumi import fortios:extendercontroller/extender1:Extender1 labelname {{name}} * ``` * * If you do not want to import arguments of block: * * $ export "FORTIOS_IMPORT_TABLE"="false" * * ```sh * $ pulumi import fortios:extendercontroller/extender1:Extender1 labelname {{name}} * ``` * * $ unset "FORTIOS_IMPORT_TABLE" */ export declare class Extender1 extends pulumi.CustomResource { /** * Get an existing Extender1 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?: Extender1State, opts?: pulumi.CustomResourceOptions): Extender1; /** * Returns true if the given object is an instance of Extender1. 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 Extender1; /** * FortiExtender Administration (enable or disable). Valid values: `disable`, `enable`. */ readonly authorized: pulumi.Output<string>; /** * FortiExtender controller report configuration. The structure of `controllerReport` block is documented below. */ readonly controllerReport: pulumi.Output<outputs.extendercontroller.Extender1ControllerReport>; /** * Description. */ readonly description: pulumi.Output<string>; /** * FortiExtender name. */ readonly extName: pulumi.Output<string>; /** * FortiExtender serial number. */ readonly fosid: pulumi.Output<string>; /** * Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. */ readonly getAllTables: pulumi.Output<string | undefined>; /** * FortiExtender login password. */ readonly loginPassword: pulumi.Output<string | undefined>; /** * Configuration options for modem 1. The structure of `modem1` block is documented below. */ readonly modem1: pulumi.Output<outputs.extendercontroller.Extender1Modem1>; /** * Configuration options for modem 2. The structure of `modem2` block is documented below. */ readonly modem2: pulumi.Output<outputs.extendercontroller.Extender1Modem2>; /** * FortiExtender entry name. */ readonly name: pulumi.Output<string>; /** * VDOM */ readonly vdom: pulumi.Output<number>; /** * 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 Extender1 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: Extender1Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Extender1 resources. */ export interface Extender1State { /** * FortiExtender Administration (enable or disable). Valid values: `disable`, `enable`. */ authorized?: pulumi.Input<string>; /** * FortiExtender controller report configuration. The structure of `controllerReport` block is documented below. */ controllerReport?: pulumi.Input<inputs.extendercontroller.Extender1ControllerReport>; /** * Description. */ description?: pulumi.Input<string>; /** * FortiExtender name. */ extName?: pulumi.Input<string>; /** * FortiExtender serial number. */ fosid?: pulumi.Input<string>; /** * Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. */ getAllTables?: pulumi.Input<string>; /** * FortiExtender login password. */ loginPassword?: pulumi.Input<string>; /** * Configuration options for modem 1. The structure of `modem1` block is documented below. */ modem1?: pulumi.Input<inputs.extendercontroller.Extender1Modem1>; /** * Configuration options for modem 2. The structure of `modem2` block is documented below. */ modem2?: pulumi.Input<inputs.extendercontroller.Extender1Modem2>; /** * FortiExtender entry name. */ name?: pulumi.Input<string>; /** * VDOM */ vdom?: pulumi.Input<number>; /** * 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 Extender1 resource. */ export interface Extender1Args { /** * FortiExtender Administration (enable or disable). Valid values: `disable`, `enable`. */ authorized: pulumi.Input<string>; /** * FortiExtender controller report configuration. The structure of `controllerReport` block is documented below. */ controllerReport?: pulumi.Input<inputs.extendercontroller.Extender1ControllerReport>; /** * Description. */ description?: pulumi.Input<string>; /** * FortiExtender name. */ extName?: pulumi.Input<string>; /** * FortiExtender serial number. */ fosid?: pulumi.Input<string>; /** * Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. */ getAllTables?: pulumi.Input<string>; /** * FortiExtender login password. */ loginPassword?: pulumi.Input<string>; /** * Configuration options for modem 1. The structure of `modem1` block is documented below. */ modem1?: pulumi.Input<inputs.extendercontroller.Extender1Modem1>; /** * Configuration options for modem 2. The structure of `modem2` block is documented below. */ modem2?: pulumi.Input<inputs.extendercontroller.Extender1Modem2>; /** * FortiExtender entry name. */ name?: pulumi.Input<string>; /** * VDOM */ vdom?: pulumi.Input<number>; /** * 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>; }