@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
622 lines (621 loc) • 21.8 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Configure MODEM. Applies to FortiOS Version `7.0.4`.
*
* ## Import
*
* System Modem can be imported using any of these accepted formats:
*
* ```sh
* $ pulumi import fortios:system/modem:Modem labelname SystemModem
* ```
*
* If you do not want to import arguments of block:
*
* $ export "FORTIOS_IMPORT_TABLE"="false"
*
* ```sh
* $ pulumi import fortios:system/modem:Modem labelname SystemModem
* ```
*
* $ unset "FORTIOS_IMPORT_TABLE"
*/
export declare class Modem extends pulumi.CustomResource {
/**
* Get an existing Modem 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?: ModemState, opts?: pulumi.CustomResourceOptions): Modem;
/**
* Returns true if the given object is an instance of Modem. 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 Modem;
/**
* Dial up/stop MODEM. Valid values: `dial`, `stop`, `none`.
*/
readonly action: pulumi.Output<string>;
/**
* Enable/disable altmode for installations using PPP in China. Valid values: `enable`, `disable`.
*/
readonly altmode: pulumi.Output<string>;
/**
* Allowed authentication types for ISP 1. Valid values: `pap`, `chap`, `mschap`, `mschapv2`.
*/
readonly authtype1: pulumi.Output<string>;
/**
* Allowed authentication types for ISP 2. Valid values: `pap`, `chap`, `mschap`, `mschapv2`.
*/
readonly authtype2: pulumi.Output<string>;
/**
* Allowed authentication types for ISP 3. Valid values: `pap`, `chap`, `mschap`, `mschapv2`.
*/
readonly authtype3: pulumi.Output<string>;
/**
* Enable/disable auto-dial after a reboot or disconnection. Valid values: `enable`, `disable`.
*/
readonly autoDial: pulumi.Output<string>;
/**
* Connection completion timeout (30 - 255 sec, default = 90).
*/
readonly connectTimeout: pulumi.Output<number>;
/**
* Dial command (this is often an ATD or ATDT command).
*/
readonly dialCmd1: pulumi.Output<string>;
/**
* Dial command (this is often an ATD or ATDT command).
*/
readonly dialCmd2: pulumi.Output<string>;
/**
* Dial command (this is often an ATD or ATDT command).
*/
readonly dialCmd3: pulumi.Output<string>;
/**
* Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: `enable`, `disable`.
*/
readonly dialOnDemand: pulumi.Output<string>;
/**
* Distance of learned routes (1 - 255, default = 1).
*/
readonly distance: pulumi.Output<number>;
/**
* Do not send CR when connected (ISP1). Valid values: `enable`, `disable`.
*/
readonly dontSendCr1: pulumi.Output<string>;
/**
* Do not send CR when connected (ISP2). Valid values: `enable`, `disable`.
*/
readonly dontSendCr2: pulumi.Output<string>;
/**
* Do not send CR when connected (ISP3). Valid values: `enable`, `disable`.
*/
readonly dontSendCr3: pulumi.Output<string>;
/**
* Extra initialization string to ISP 1.
*/
readonly extraInit1: pulumi.Output<string>;
/**
* Extra initialization string to ISP 2.
*/
readonly extraInit2: pulumi.Output<string>;
/**
* Extra initialization string to ISP 3.
*/
readonly extraInit3: pulumi.Output<string>;
/**
* Hold down timer in seconds (1 - 60 sec).
*/
readonly holddownTimer: pulumi.Output<number>;
/**
* MODEM connection idle time (1 - 9999 min, default = 5).
*/
readonly idleTimer: pulumi.Output<number>;
/**
* Name of redundant interface.
*/
readonly interface: pulumi.Output<string>;
/**
* Allow connection only to the specified Location Area Code (LAC).
*/
readonly lockdownLac: pulumi.Output<string>;
/**
* Set MODEM operation mode to redundant or standalone. Valid values: `standalone`, `redundant`.
*/
readonly mode: pulumi.Output<string>;
/**
* AT command to set the Network name/type (AT+COPS=<mode>,[<format>,<oper>[,<AcT>]]).
*/
readonly networkInit: pulumi.Output<string>;
/**
* Password to access the specified dialup account.
*/
readonly passwd1: pulumi.Output<string | undefined>;
/**
* Password to access the specified dialup account.
*/
readonly passwd2: pulumi.Output<string | undefined>;
/**
* Password to access the specified dialup account.
*/
readonly passwd3: pulumi.Output<string | undefined>;
/**
* Specify peer MODEM type for phone1. Valid values: `generic`, `actiontec`, `ascend_TNT`.
*/
readonly peerModem1: pulumi.Output<string>;
/**
* Specify peer MODEM type for phone2. Valid values: `generic`, `actiontec`, `ascend_TNT`.
*/
readonly peerModem2: pulumi.Output<string>;
/**
* Specify peer MODEM type for phone3. Valid values: `generic`, `actiontec`, `ascend_TNT`.
*/
readonly peerModem3: pulumi.Output<string>;
/**
* Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
*/
readonly phone1: pulumi.Output<string>;
/**
* Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
*/
readonly phone2: pulumi.Output<string>;
/**
* Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
*/
readonly phone3: pulumi.Output<string>;
/**
* AT command to set the PIN (AT+PIN=<pin>).
*/
readonly pinInit: pulumi.Output<string>;
/**
* Enable/disable PPP echo-request to ISP 1. Valid values: `enable`, `disable`.
*/
readonly pppEchoRequest1: pulumi.Output<string>;
/**
* Enable/disable PPP echo-request to ISP 2. Valid values: `enable`, `disable`.
*/
readonly pppEchoRequest2: pulumi.Output<string>;
/**
* Enable/disable PPP echo-request to ISP 3. Valid values: `enable`, `disable`.
*/
readonly pppEchoRequest3: pulumi.Output<string>;
/**
* Priority of learned routes (0 - 4294967295, default = 0).
*/
readonly priority: pulumi.Output<number>;
/**
* Redial limit (1 - 10 attempts, none = redial forever). Valid values: `none`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`.
*/
readonly redial: pulumi.Output<string>;
/**
* Number of dial attempts before resetting modem (0 = never reset).
*/
readonly reset: pulumi.Output<number>;
/**
* Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: `enable`, `disable`.
*/
readonly status: pulumi.Output<string>;
/**
* Enable/disable traffic-check. Valid values: `enable`, `disable`.
*/
readonly trafficCheck: pulumi.Output<string>;
/**
* User name to access the specified dialup account.
*/
readonly username1: pulumi.Output<string>;
/**
* User name to access the specified dialup account.
*/
readonly username2: pulumi.Output<string>;
/**
* User name to access the specified dialup account.
*/
readonly username3: 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>;
/**
* Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
*/
readonly wirelessPort: pulumi.Output<number>;
/**
* Create a Modem 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?: ModemArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Modem resources.
*/
export interface ModemState {
/**
* Dial up/stop MODEM. Valid values: `dial`, `stop`, `none`.
*/
action?: pulumi.Input<string>;
/**
* Enable/disable altmode for installations using PPP in China. Valid values: `enable`, `disable`.
*/
altmode?: pulumi.Input<string>;
/**
* Allowed authentication types for ISP 1. Valid values: `pap`, `chap`, `mschap`, `mschapv2`.
*/
authtype1?: pulumi.Input<string>;
/**
* Allowed authentication types for ISP 2. Valid values: `pap`, `chap`, `mschap`, `mschapv2`.
*/
authtype2?: pulumi.Input<string>;
/**
* Allowed authentication types for ISP 3. Valid values: `pap`, `chap`, `mschap`, `mschapv2`.
*/
authtype3?: pulumi.Input<string>;
/**
* Enable/disable auto-dial after a reboot or disconnection. Valid values: `enable`, `disable`.
*/
autoDial?: pulumi.Input<string>;
/**
* Connection completion timeout (30 - 255 sec, default = 90).
*/
connectTimeout?: pulumi.Input<number>;
/**
* Dial command (this is often an ATD or ATDT command).
*/
dialCmd1?: pulumi.Input<string>;
/**
* Dial command (this is often an ATD or ATDT command).
*/
dialCmd2?: pulumi.Input<string>;
/**
* Dial command (this is often an ATD or ATDT command).
*/
dialCmd3?: pulumi.Input<string>;
/**
* Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: `enable`, `disable`.
*/
dialOnDemand?: pulumi.Input<string>;
/**
* Distance of learned routes (1 - 255, default = 1).
*/
distance?: pulumi.Input<number>;
/**
* Do not send CR when connected (ISP1). Valid values: `enable`, `disable`.
*/
dontSendCr1?: pulumi.Input<string>;
/**
* Do not send CR when connected (ISP2). Valid values: `enable`, `disable`.
*/
dontSendCr2?: pulumi.Input<string>;
/**
* Do not send CR when connected (ISP3). Valid values: `enable`, `disable`.
*/
dontSendCr3?: pulumi.Input<string>;
/**
* Extra initialization string to ISP 1.
*/
extraInit1?: pulumi.Input<string>;
/**
* Extra initialization string to ISP 2.
*/
extraInit2?: pulumi.Input<string>;
/**
* Extra initialization string to ISP 3.
*/
extraInit3?: pulumi.Input<string>;
/**
* Hold down timer in seconds (1 - 60 sec).
*/
holddownTimer?: pulumi.Input<number>;
/**
* MODEM connection idle time (1 - 9999 min, default = 5).
*/
idleTimer?: pulumi.Input<number>;
/**
* Name of redundant interface.
*/
interface?: pulumi.Input<string>;
/**
* Allow connection only to the specified Location Area Code (LAC).
*/
lockdownLac?: pulumi.Input<string>;
/**
* Set MODEM operation mode to redundant or standalone. Valid values: `standalone`, `redundant`.
*/
mode?: pulumi.Input<string>;
/**
* AT command to set the Network name/type (AT+COPS=<mode>,[<format>,<oper>[,<AcT>]]).
*/
networkInit?: pulumi.Input<string>;
/**
* Password to access the specified dialup account.
*/
passwd1?: pulumi.Input<string>;
/**
* Password to access the specified dialup account.
*/
passwd2?: pulumi.Input<string>;
/**
* Password to access the specified dialup account.
*/
passwd3?: pulumi.Input<string>;
/**
* Specify peer MODEM type for phone1. Valid values: `generic`, `actiontec`, `ascend_TNT`.
*/
peerModem1?: pulumi.Input<string>;
/**
* Specify peer MODEM type for phone2. Valid values: `generic`, `actiontec`, `ascend_TNT`.
*/
peerModem2?: pulumi.Input<string>;
/**
* Specify peer MODEM type for phone3. Valid values: `generic`, `actiontec`, `ascend_TNT`.
*/
peerModem3?: pulumi.Input<string>;
/**
* Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
*/
phone1?: pulumi.Input<string>;
/**
* Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
*/
phone2?: pulumi.Input<string>;
/**
* Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
*/
phone3?: pulumi.Input<string>;
/**
* AT command to set the PIN (AT+PIN=<pin>).
*/
pinInit?: pulumi.Input<string>;
/**
* Enable/disable PPP echo-request to ISP 1. Valid values: `enable`, `disable`.
*/
pppEchoRequest1?: pulumi.Input<string>;
/**
* Enable/disable PPP echo-request to ISP 2. Valid values: `enable`, `disable`.
*/
pppEchoRequest2?: pulumi.Input<string>;
/**
* Enable/disable PPP echo-request to ISP 3. Valid values: `enable`, `disable`.
*/
pppEchoRequest3?: pulumi.Input<string>;
/**
* Priority of learned routes (0 - 4294967295, default = 0).
*/
priority?: pulumi.Input<number>;
/**
* Redial limit (1 - 10 attempts, none = redial forever). Valid values: `none`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`.
*/
redial?: pulumi.Input<string>;
/**
* Number of dial attempts before resetting modem (0 = never reset).
*/
reset?: pulumi.Input<number>;
/**
* Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: `enable`, `disable`.
*/
status?: pulumi.Input<string>;
/**
* Enable/disable traffic-check. Valid values: `enable`, `disable`.
*/
trafficCheck?: pulumi.Input<string>;
/**
* User name to access the specified dialup account.
*/
username1?: pulumi.Input<string>;
/**
* User name to access the specified dialup account.
*/
username2?: pulumi.Input<string>;
/**
* User name to access the specified dialup account.
*/
username3?: 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>;
/**
* Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
*/
wirelessPort?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a Modem resource.
*/
export interface ModemArgs {
/**
* Dial up/stop MODEM. Valid values: `dial`, `stop`, `none`.
*/
action?: pulumi.Input<string>;
/**
* Enable/disable altmode for installations using PPP in China. Valid values: `enable`, `disable`.
*/
altmode?: pulumi.Input<string>;
/**
* Allowed authentication types for ISP 1. Valid values: `pap`, `chap`, `mschap`, `mschapv2`.
*/
authtype1?: pulumi.Input<string>;
/**
* Allowed authentication types for ISP 2. Valid values: `pap`, `chap`, `mschap`, `mschapv2`.
*/
authtype2?: pulumi.Input<string>;
/**
* Allowed authentication types for ISP 3. Valid values: `pap`, `chap`, `mschap`, `mschapv2`.
*/
authtype3?: pulumi.Input<string>;
/**
* Enable/disable auto-dial after a reboot or disconnection. Valid values: `enable`, `disable`.
*/
autoDial?: pulumi.Input<string>;
/**
* Connection completion timeout (30 - 255 sec, default = 90).
*/
connectTimeout?: pulumi.Input<number>;
/**
* Dial command (this is often an ATD or ATDT command).
*/
dialCmd1?: pulumi.Input<string>;
/**
* Dial command (this is often an ATD or ATDT command).
*/
dialCmd2?: pulumi.Input<string>;
/**
* Dial command (this is often an ATD or ATDT command).
*/
dialCmd3?: pulumi.Input<string>;
/**
* Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: `enable`, `disable`.
*/
dialOnDemand?: pulumi.Input<string>;
/**
* Distance of learned routes (1 - 255, default = 1).
*/
distance?: pulumi.Input<number>;
/**
* Do not send CR when connected (ISP1). Valid values: `enable`, `disable`.
*/
dontSendCr1?: pulumi.Input<string>;
/**
* Do not send CR when connected (ISP2). Valid values: `enable`, `disable`.
*/
dontSendCr2?: pulumi.Input<string>;
/**
* Do not send CR when connected (ISP3). Valid values: `enable`, `disable`.
*/
dontSendCr3?: pulumi.Input<string>;
/**
* Extra initialization string to ISP 1.
*/
extraInit1?: pulumi.Input<string>;
/**
* Extra initialization string to ISP 2.
*/
extraInit2?: pulumi.Input<string>;
/**
* Extra initialization string to ISP 3.
*/
extraInit3?: pulumi.Input<string>;
/**
* Hold down timer in seconds (1 - 60 sec).
*/
holddownTimer?: pulumi.Input<number>;
/**
* MODEM connection idle time (1 - 9999 min, default = 5).
*/
idleTimer?: pulumi.Input<number>;
/**
* Name of redundant interface.
*/
interface?: pulumi.Input<string>;
/**
* Allow connection only to the specified Location Area Code (LAC).
*/
lockdownLac?: pulumi.Input<string>;
/**
* Set MODEM operation mode to redundant or standalone. Valid values: `standalone`, `redundant`.
*/
mode?: pulumi.Input<string>;
/**
* AT command to set the Network name/type (AT+COPS=<mode>,[<format>,<oper>[,<AcT>]]).
*/
networkInit?: pulumi.Input<string>;
/**
* Password to access the specified dialup account.
*/
passwd1?: pulumi.Input<string>;
/**
* Password to access the specified dialup account.
*/
passwd2?: pulumi.Input<string>;
/**
* Password to access the specified dialup account.
*/
passwd3?: pulumi.Input<string>;
/**
* Specify peer MODEM type for phone1. Valid values: `generic`, `actiontec`, `ascend_TNT`.
*/
peerModem1?: pulumi.Input<string>;
/**
* Specify peer MODEM type for phone2. Valid values: `generic`, `actiontec`, `ascend_TNT`.
*/
peerModem2?: pulumi.Input<string>;
/**
* Specify peer MODEM type for phone3. Valid values: `generic`, `actiontec`, `ascend_TNT`.
*/
peerModem3?: pulumi.Input<string>;
/**
* Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
*/
phone1?: pulumi.Input<string>;
/**
* Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
*/
phone2?: pulumi.Input<string>;
/**
* Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
*/
phone3?: pulumi.Input<string>;
/**
* AT command to set the PIN (AT+PIN=<pin>).
*/
pinInit?: pulumi.Input<string>;
/**
* Enable/disable PPP echo-request to ISP 1. Valid values: `enable`, `disable`.
*/
pppEchoRequest1?: pulumi.Input<string>;
/**
* Enable/disable PPP echo-request to ISP 2. Valid values: `enable`, `disable`.
*/
pppEchoRequest2?: pulumi.Input<string>;
/**
* Enable/disable PPP echo-request to ISP 3. Valid values: `enable`, `disable`.
*/
pppEchoRequest3?: pulumi.Input<string>;
/**
* Priority of learned routes (0 - 4294967295, default = 0).
*/
priority?: pulumi.Input<number>;
/**
* Redial limit (1 - 10 attempts, none = redial forever). Valid values: `none`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`.
*/
redial?: pulumi.Input<string>;
/**
* Number of dial attempts before resetting modem (0 = never reset).
*/
reset?: pulumi.Input<number>;
/**
* Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: `enable`, `disable`.
*/
status?: pulumi.Input<string>;
/**
* Enable/disable traffic-check. Valid values: `enable`, `disable`.
*/
trafficCheck?: pulumi.Input<string>;
/**
* User name to access the specified dialup account.
*/
username1?: pulumi.Input<string>;
/**
* User name to access the specified dialup account.
*/
username2?: pulumi.Input<string>;
/**
* User name to access the specified dialup account.
*/
username3?: 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>;
/**
* Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
*/
wirelessPort?: pulumi.Input<number>;
}