1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. Modem
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system.Modem

Explore with Pulumi AI

Configure MODEM. Applies to FortiOS Version 7.0.4.

Create Modem Resource

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

Constructor syntax

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

@overload
def Modem(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          action: Optional[str] = None,
          altmode: Optional[str] = None,
          authtype1: Optional[str] = None,
          authtype2: Optional[str] = None,
          authtype3: Optional[str] = None,
          auto_dial: Optional[str] = None,
          connect_timeout: Optional[int] = None,
          dial_cmd1: Optional[str] = None,
          dial_cmd2: Optional[str] = None,
          dial_cmd3: Optional[str] = None,
          dial_on_demand: Optional[str] = None,
          distance: Optional[int] = None,
          dont_send_cr1: Optional[str] = None,
          dont_send_cr2: Optional[str] = None,
          dont_send_cr3: Optional[str] = None,
          extra_init1: Optional[str] = None,
          extra_init2: Optional[str] = None,
          extra_init3: Optional[str] = None,
          holddown_timer: Optional[int] = None,
          idle_timer: Optional[int] = None,
          interface: Optional[str] = None,
          lockdown_lac: Optional[str] = None,
          mode: Optional[str] = None,
          network_init: Optional[str] = None,
          passwd1: Optional[str] = None,
          passwd2: Optional[str] = None,
          passwd3: Optional[str] = None,
          peer_modem1: Optional[str] = None,
          peer_modem2: Optional[str] = None,
          peer_modem3: Optional[str] = None,
          phone1: Optional[str] = None,
          phone2: Optional[str] = None,
          phone3: Optional[str] = None,
          pin_init: Optional[str] = None,
          ppp_echo_request1: Optional[str] = None,
          ppp_echo_request2: Optional[str] = None,
          ppp_echo_request3: Optional[str] = None,
          priority: Optional[int] = None,
          redial: Optional[str] = None,
          reset: Optional[int] = None,
          status: Optional[str] = None,
          traffic_check: Optional[str] = None,
          username1: Optional[str] = None,
          username2: Optional[str] = None,
          username3: Optional[str] = None,
          vdomparam: Optional[str] = None,
          wireless_port: Optional[int] = None)
func NewModem(ctx *Context, name string, args *ModemArgs, opts ...ResourceOption) (*Modem, error)
public Modem(string name, ModemArgs? args = null, CustomResourceOptions? opts = null)
public Modem(String name, ModemArgs args)
public Modem(String name, ModemArgs args, CustomResourceOptions options)
type: fortios:system:Modem
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 ModemArgs
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 ModemArgs
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 ModemArgs
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 ModemArgs
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. ModemArgs
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 modemResource = new Fortios.System.Modem("modemResource", new()
{
    Action = "string",
    Altmode = "string",
    Authtype1 = "string",
    Authtype2 = "string",
    Authtype3 = "string",
    AutoDial = "string",
    ConnectTimeout = 0,
    DialCmd1 = "string",
    DialCmd2 = "string",
    DialCmd3 = "string",
    DialOnDemand = "string",
    Distance = 0,
    DontSendCr1 = "string",
    DontSendCr2 = "string",
    DontSendCr3 = "string",
    ExtraInit1 = "string",
    ExtraInit2 = "string",
    ExtraInit3 = "string",
    HolddownTimer = 0,
    IdleTimer = 0,
    Interface = "string",
    LockdownLac = "string",
    Mode = "string",
    NetworkInit = "string",
    Passwd1 = "string",
    Passwd2 = "string",
    Passwd3 = "string",
    PeerModem1 = "string",
    PeerModem2 = "string",
    PeerModem3 = "string",
    Phone1 = "string",
    Phone2 = "string",
    Phone3 = "string",
    PinInit = "string",
    PppEchoRequest1 = "string",
    PppEchoRequest2 = "string",
    PppEchoRequest3 = "string",
    Priority = 0,
    Redial = "string",
    Reset = 0,
    Status = "string",
    TrafficCheck = "string",
    Username1 = "string",
    Username2 = "string",
    Username3 = "string",
    Vdomparam = "string",
    WirelessPort = 0,
});
Copy
example, err := system.NewModem(ctx, "modemResource", &system.ModemArgs{
	Action:          pulumi.String("string"),
	Altmode:         pulumi.String("string"),
	Authtype1:       pulumi.String("string"),
	Authtype2:       pulumi.String("string"),
	Authtype3:       pulumi.String("string"),
	AutoDial:        pulumi.String("string"),
	ConnectTimeout:  pulumi.Int(0),
	DialCmd1:        pulumi.String("string"),
	DialCmd2:        pulumi.String("string"),
	DialCmd3:        pulumi.String("string"),
	DialOnDemand:    pulumi.String("string"),
	Distance:        pulumi.Int(0),
	DontSendCr1:     pulumi.String("string"),
	DontSendCr2:     pulumi.String("string"),
	DontSendCr3:     pulumi.String("string"),
	ExtraInit1:      pulumi.String("string"),
	ExtraInit2:      pulumi.String("string"),
	ExtraInit3:      pulumi.String("string"),
	HolddownTimer:   pulumi.Int(0),
	IdleTimer:       pulumi.Int(0),
	Interface:       pulumi.String("string"),
	LockdownLac:     pulumi.String("string"),
	Mode:            pulumi.String("string"),
	NetworkInit:     pulumi.String("string"),
	Passwd1:         pulumi.String("string"),
	Passwd2:         pulumi.String("string"),
	Passwd3:         pulumi.String("string"),
	PeerModem1:      pulumi.String("string"),
	PeerModem2:      pulumi.String("string"),
	PeerModem3:      pulumi.String("string"),
	Phone1:          pulumi.String("string"),
	Phone2:          pulumi.String("string"),
	Phone3:          pulumi.String("string"),
	PinInit:         pulumi.String("string"),
	PppEchoRequest1: pulumi.String("string"),
	PppEchoRequest2: pulumi.String("string"),
	PppEchoRequest3: pulumi.String("string"),
	Priority:        pulumi.Int(0),
	Redial:          pulumi.String("string"),
	Reset:           pulumi.Int(0),
	Status:          pulumi.String("string"),
	TrafficCheck:    pulumi.String("string"),
	Username1:       pulumi.String("string"),
	Username2:       pulumi.String("string"),
	Username3:       pulumi.String("string"),
	Vdomparam:       pulumi.String("string"),
	WirelessPort:    pulumi.Int(0),
})
Copy
var modemResource = new Modem("modemResource", ModemArgs.builder()
    .action("string")
    .altmode("string")
    .authtype1("string")
    .authtype2("string")
    .authtype3("string")
    .autoDial("string")
    .connectTimeout(0)
    .dialCmd1("string")
    .dialCmd2("string")
    .dialCmd3("string")
    .dialOnDemand("string")
    .distance(0)
    .dontSendCr1("string")
    .dontSendCr2("string")
    .dontSendCr3("string")
    .extraInit1("string")
    .extraInit2("string")
    .extraInit3("string")
    .holddownTimer(0)
    .idleTimer(0)
    .interface_("string")
    .lockdownLac("string")
    .mode("string")
    .networkInit("string")
    .passwd1("string")
    .passwd2("string")
    .passwd3("string")
    .peerModem1("string")
    .peerModem2("string")
    .peerModem3("string")
    .phone1("string")
    .phone2("string")
    .phone3("string")
    .pinInit("string")
    .pppEchoRequest1("string")
    .pppEchoRequest2("string")
    .pppEchoRequest3("string")
    .priority(0)
    .redial("string")
    .reset(0)
    .status("string")
    .trafficCheck("string")
    .username1("string")
    .username2("string")
    .username3("string")
    .vdomparam("string")
    .wirelessPort(0)
    .build());
Copy
modem_resource = fortios.system.Modem("modemResource",
    action="string",
    altmode="string",
    authtype1="string",
    authtype2="string",
    authtype3="string",
    auto_dial="string",
    connect_timeout=0,
    dial_cmd1="string",
    dial_cmd2="string",
    dial_cmd3="string",
    dial_on_demand="string",
    distance=0,
    dont_send_cr1="string",
    dont_send_cr2="string",
    dont_send_cr3="string",
    extra_init1="string",
    extra_init2="string",
    extra_init3="string",
    holddown_timer=0,
    idle_timer=0,
    interface="string",
    lockdown_lac="string",
    mode="string",
    network_init="string",
    passwd1="string",
    passwd2="string",
    passwd3="string",
    peer_modem1="string",
    peer_modem2="string",
    peer_modem3="string",
    phone1="string",
    phone2="string",
    phone3="string",
    pin_init="string",
    ppp_echo_request1="string",
    ppp_echo_request2="string",
    ppp_echo_request3="string",
    priority=0,
    redial="string",
    reset=0,
    status="string",
    traffic_check="string",
    username1="string",
    username2="string",
    username3="string",
    vdomparam="string",
    wireless_port=0)
Copy
const modemResource = new fortios.system.Modem("modemResource", {
    action: "string",
    altmode: "string",
    authtype1: "string",
    authtype2: "string",
    authtype3: "string",
    autoDial: "string",
    connectTimeout: 0,
    dialCmd1: "string",
    dialCmd2: "string",
    dialCmd3: "string",
    dialOnDemand: "string",
    distance: 0,
    dontSendCr1: "string",
    dontSendCr2: "string",
    dontSendCr3: "string",
    extraInit1: "string",
    extraInit2: "string",
    extraInit3: "string",
    holddownTimer: 0,
    idleTimer: 0,
    "interface": "string",
    lockdownLac: "string",
    mode: "string",
    networkInit: "string",
    passwd1: "string",
    passwd2: "string",
    passwd3: "string",
    peerModem1: "string",
    peerModem2: "string",
    peerModem3: "string",
    phone1: "string",
    phone2: "string",
    phone3: "string",
    pinInit: "string",
    pppEchoRequest1: "string",
    pppEchoRequest2: "string",
    pppEchoRequest3: "string",
    priority: 0,
    redial: "string",
    reset: 0,
    status: "string",
    trafficCheck: "string",
    username1: "string",
    username2: "string",
    username3: "string",
    vdomparam: "string",
    wirelessPort: 0,
});
Copy
type: fortios:system:Modem
properties:
    action: string
    altmode: string
    authtype1: string
    authtype2: string
    authtype3: string
    autoDial: string
    connectTimeout: 0
    dialCmd1: string
    dialCmd2: string
    dialCmd3: string
    dialOnDemand: string
    distance: 0
    dontSendCr1: string
    dontSendCr2: string
    dontSendCr3: string
    extraInit1: string
    extraInit2: string
    extraInit3: string
    holddownTimer: 0
    idleTimer: 0
    interface: string
    lockdownLac: string
    mode: string
    networkInit: string
    passwd1: string
    passwd2: string
    passwd3: string
    peerModem1: string
    peerModem2: string
    peerModem3: string
    phone1: string
    phone2: string
    phone3: string
    pinInit: string
    pppEchoRequest1: string
    pppEchoRequest2: string
    pppEchoRequest3: string
    priority: 0
    redial: string
    reset: 0
    status: string
    trafficCheck: string
    username1: string
    username2: string
    username3: string
    vdomparam: string
    wirelessPort: 0
Copy

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

Action string
Dial up/stop MODEM. Valid values: dial, stop, none.
Altmode string
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
Authtype1 string
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
Authtype2 string
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
Authtype3 string
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
AutoDial string
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
ConnectTimeout int
Connection completion timeout (30 - 255 sec, default = 90).
DialCmd1 string
Dial command (this is often an ATD or ATDT command).
DialCmd2 string
Dial command (this is often an ATD or ATDT command).
DialCmd3 string
Dial command (this is often an ATD or ATDT command).
DialOnDemand string
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
Distance int
Distance of learned routes (1 - 255, default = 1).
DontSendCr1 string
Do not send CR when connected (ISP1). Valid values: enable, disable.
DontSendCr2 string
Do not send CR when connected (ISP2). Valid values: enable, disable.
DontSendCr3 string
Do not send CR when connected (ISP3). Valid values: enable, disable.
ExtraInit1 string
Extra initialization string to ISP 1.
ExtraInit2 string
Extra initialization string to ISP 2.
ExtraInit3 string
Extra initialization string to ISP 3.
HolddownTimer int
Hold down timer in seconds (1 - 60 sec).
IdleTimer int
MODEM connection idle time (1 - 9999 min, default = 5).
Interface string
Name of redundant interface.
LockdownLac string
Allow connection only to the specified Location Area Code (LAC).
Mode string
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
NetworkInit string
AT command to set the Network name/type (AT+COPS=,[,[,]]).
Passwd1 string
Password to access the specified dialup account.
Passwd2 string
Password to access the specified dialup account.
Passwd3 string
Password to access the specified dialup account.
PeerModem1 string
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
PeerModem2 string
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
PeerModem3 string
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
Phone1 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
Phone2 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
Phone3 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
PinInit string
AT command to set the PIN (AT+PIN=).
PppEchoRequest1 string
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
PppEchoRequest2 string
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
PppEchoRequest3 string
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
Priority int
Priority of learned routes (0 - 4294967295, default = 0).
Redial string
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
Reset int
Number of dial attempts before resetting modem (0 = never reset).
Status string
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
TrafficCheck string
Enable/disable traffic-check. Valid values: enable, disable.
Username1 string
User name to access the specified dialup account.
Username2 string
User name to access the specified dialup account.
Username3 string
User name to access the specified dialup account.
Vdomparam Changes to this property will trigger replacement. 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.
WirelessPort int
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
Action string
Dial up/stop MODEM. Valid values: dial, stop, none.
Altmode string
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
Authtype1 string
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
Authtype2 string
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
Authtype3 string
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
AutoDial string
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
ConnectTimeout int
Connection completion timeout (30 - 255 sec, default = 90).
DialCmd1 string
Dial command (this is often an ATD or ATDT command).
DialCmd2 string
Dial command (this is often an ATD or ATDT command).
DialCmd3 string
Dial command (this is often an ATD or ATDT command).
DialOnDemand string
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
Distance int
Distance of learned routes (1 - 255, default = 1).
DontSendCr1 string
Do not send CR when connected (ISP1). Valid values: enable, disable.
DontSendCr2 string
Do not send CR when connected (ISP2). Valid values: enable, disable.
DontSendCr3 string
Do not send CR when connected (ISP3). Valid values: enable, disable.
ExtraInit1 string
Extra initialization string to ISP 1.
ExtraInit2 string
Extra initialization string to ISP 2.
ExtraInit3 string
Extra initialization string to ISP 3.
HolddownTimer int
Hold down timer in seconds (1 - 60 sec).
IdleTimer int
MODEM connection idle time (1 - 9999 min, default = 5).
Interface string
Name of redundant interface.
LockdownLac string
Allow connection only to the specified Location Area Code (LAC).
Mode string
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
NetworkInit string
AT command to set the Network name/type (AT+COPS=,[,[,]]).
Passwd1 string
Password to access the specified dialup account.
Passwd2 string
Password to access the specified dialup account.
Passwd3 string
Password to access the specified dialup account.
PeerModem1 string
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
PeerModem2 string
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
PeerModem3 string
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
Phone1 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
Phone2 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
Phone3 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
PinInit string
AT command to set the PIN (AT+PIN=).
PppEchoRequest1 string
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
PppEchoRequest2 string
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
PppEchoRequest3 string
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
Priority int
Priority of learned routes (0 - 4294967295, default = 0).
Redial string
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
Reset int
Number of dial attempts before resetting modem (0 = never reset).
Status string
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
TrafficCheck string
Enable/disable traffic-check. Valid values: enable, disable.
Username1 string
User name to access the specified dialup account.
Username2 string
User name to access the specified dialup account.
Username3 string
User name to access the specified dialup account.
Vdomparam Changes to this property will trigger replacement. 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.
WirelessPort int
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
action String
Dial up/stop MODEM. Valid values: dial, stop, none.
altmode String
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
authtype1 String
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
authtype2 String
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
authtype3 String
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
autoDial String
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
connectTimeout Integer
Connection completion timeout (30 - 255 sec, default = 90).
dialCmd1 String
Dial command (this is often an ATD or ATDT command).
dialCmd2 String
Dial command (this is often an ATD or ATDT command).
dialCmd3 String
Dial command (this is often an ATD or ATDT command).
dialOnDemand String
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
distance Integer
Distance of learned routes (1 - 255, default = 1).
dontSendCr1 String
Do not send CR when connected (ISP1). Valid values: enable, disable.
dontSendCr2 String
Do not send CR when connected (ISP2). Valid values: enable, disable.
dontSendCr3 String
Do not send CR when connected (ISP3). Valid values: enable, disable.
extraInit1 String
Extra initialization string to ISP 1.
extraInit2 String
Extra initialization string to ISP 2.
extraInit3 String
Extra initialization string to ISP 3.
holddownTimer Integer
Hold down timer in seconds (1 - 60 sec).
idleTimer Integer
MODEM connection idle time (1 - 9999 min, default = 5).
interface_ String
Name of redundant interface.
lockdownLac String
Allow connection only to the specified Location Area Code (LAC).
mode String
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
networkInit String
AT command to set the Network name/type (AT+COPS=,[,[,]]).
passwd1 String
Password to access the specified dialup account.
passwd2 String
Password to access the specified dialup account.
passwd3 String
Password to access the specified dialup account.
peerModem1 String
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
peerModem2 String
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
peerModem3 String
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
phone1 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone2 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone3 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
pinInit String
AT command to set the PIN (AT+PIN=).
pppEchoRequest1 String
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
pppEchoRequest2 String
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
pppEchoRequest3 String
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
priority Integer
Priority of learned routes (0 - 4294967295, default = 0).
redial String
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
reset Integer
Number of dial attempts before resetting modem (0 = never reset).
status String
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
trafficCheck String
Enable/disable traffic-check. Valid values: enable, disable.
username1 String
User name to access the specified dialup account.
username2 String
User name to access the specified dialup account.
username3 String
User name to access the specified dialup account.
vdomparam Changes to this property will trigger replacement. 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.
wirelessPort Integer
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
action string
Dial up/stop MODEM. Valid values: dial, stop, none.
altmode string
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
authtype1 string
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
authtype2 string
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
authtype3 string
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
autoDial string
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
connectTimeout number
Connection completion timeout (30 - 255 sec, default = 90).
dialCmd1 string
Dial command (this is often an ATD or ATDT command).
dialCmd2 string
Dial command (this is often an ATD or ATDT command).
dialCmd3 string
Dial command (this is often an ATD or ATDT command).
dialOnDemand string
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
distance number
Distance of learned routes (1 - 255, default = 1).
dontSendCr1 string
Do not send CR when connected (ISP1). Valid values: enable, disable.
dontSendCr2 string
Do not send CR when connected (ISP2). Valid values: enable, disable.
dontSendCr3 string
Do not send CR when connected (ISP3). Valid values: enable, disable.
extraInit1 string
Extra initialization string to ISP 1.
extraInit2 string
Extra initialization string to ISP 2.
extraInit3 string
Extra initialization string to ISP 3.
holddownTimer number
Hold down timer in seconds (1 - 60 sec).
idleTimer number
MODEM connection idle time (1 - 9999 min, default = 5).
interface string
Name of redundant interface.
lockdownLac string
Allow connection only to the specified Location Area Code (LAC).
mode string
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
networkInit string
AT command to set the Network name/type (AT+COPS=,[,[,]]).
passwd1 string
Password to access the specified dialup account.
passwd2 string
Password to access the specified dialup account.
passwd3 string
Password to access the specified dialup account.
peerModem1 string
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
peerModem2 string
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
peerModem3 string
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
phone1 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone2 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone3 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
pinInit string
AT command to set the PIN (AT+PIN=).
pppEchoRequest1 string
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
pppEchoRequest2 string
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
pppEchoRequest3 string
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
priority number
Priority of learned routes (0 - 4294967295, default = 0).
redial string
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
reset number
Number of dial attempts before resetting modem (0 = never reset).
status string
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
trafficCheck string
Enable/disable traffic-check. Valid values: enable, disable.
username1 string
User name to access the specified dialup account.
username2 string
User name to access the specified dialup account.
username3 string
User name to access the specified dialup account.
vdomparam Changes to this property will trigger replacement. 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.
wirelessPort number
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
action str
Dial up/stop MODEM. Valid values: dial, stop, none.
altmode str
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
authtype1 str
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
authtype2 str
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
authtype3 str
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
auto_dial str
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
connect_timeout int
Connection completion timeout (30 - 255 sec, default = 90).
dial_cmd1 str
Dial command (this is often an ATD or ATDT command).
dial_cmd2 str
Dial command (this is often an ATD or ATDT command).
dial_cmd3 str
Dial command (this is often an ATD or ATDT command).
dial_on_demand str
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
distance int
Distance of learned routes (1 - 255, default = 1).
dont_send_cr1 str
Do not send CR when connected (ISP1). Valid values: enable, disable.
dont_send_cr2 str
Do not send CR when connected (ISP2). Valid values: enable, disable.
dont_send_cr3 str
Do not send CR when connected (ISP3). Valid values: enable, disable.
extra_init1 str
Extra initialization string to ISP 1.
extra_init2 str
Extra initialization string to ISP 2.
extra_init3 str
Extra initialization string to ISP 3.
holddown_timer int
Hold down timer in seconds (1 - 60 sec).
idle_timer int
MODEM connection idle time (1 - 9999 min, default = 5).
interface str
Name of redundant interface.
lockdown_lac str
Allow connection only to the specified Location Area Code (LAC).
mode str
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
network_init str
AT command to set the Network name/type (AT+COPS=,[,[,]]).
passwd1 str
Password to access the specified dialup account.
passwd2 str
Password to access the specified dialup account.
passwd3 str
Password to access the specified dialup account.
peer_modem1 str
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
peer_modem2 str
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
peer_modem3 str
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
phone1 str
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone2 str
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone3 str
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
pin_init str
AT command to set the PIN (AT+PIN=).
ppp_echo_request1 str
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
ppp_echo_request2 str
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
ppp_echo_request3 str
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
priority int
Priority of learned routes (0 - 4294967295, default = 0).
redial str
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
reset int
Number of dial attempts before resetting modem (0 = never reset).
status str
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
traffic_check str
Enable/disable traffic-check. Valid values: enable, disable.
username1 str
User name to access the specified dialup account.
username2 str
User name to access the specified dialup account.
username3 str
User name to access the specified dialup account.
vdomparam Changes to this property will trigger replacement. str
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.
wireless_port int
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
action String
Dial up/stop MODEM. Valid values: dial, stop, none.
altmode String
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
authtype1 String
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
authtype2 String
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
authtype3 String
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
autoDial String
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
connectTimeout Number
Connection completion timeout (30 - 255 sec, default = 90).
dialCmd1 String
Dial command (this is often an ATD or ATDT command).
dialCmd2 String
Dial command (this is often an ATD or ATDT command).
dialCmd3 String
Dial command (this is often an ATD or ATDT command).
dialOnDemand String
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
distance Number
Distance of learned routes (1 - 255, default = 1).
dontSendCr1 String
Do not send CR when connected (ISP1). Valid values: enable, disable.
dontSendCr2 String
Do not send CR when connected (ISP2). Valid values: enable, disable.
dontSendCr3 String
Do not send CR when connected (ISP3). Valid values: enable, disable.
extraInit1 String
Extra initialization string to ISP 1.
extraInit2 String
Extra initialization string to ISP 2.
extraInit3 String
Extra initialization string to ISP 3.
holddownTimer Number
Hold down timer in seconds (1 - 60 sec).
idleTimer Number
MODEM connection idle time (1 - 9999 min, default = 5).
interface String
Name of redundant interface.
lockdownLac String
Allow connection only to the specified Location Area Code (LAC).
mode String
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
networkInit String
AT command to set the Network name/type (AT+COPS=,[,[,]]).
passwd1 String
Password to access the specified dialup account.
passwd2 String
Password to access the specified dialup account.
passwd3 String
Password to access the specified dialup account.
peerModem1 String
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
peerModem2 String
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
peerModem3 String
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
phone1 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone2 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone3 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
pinInit String
AT command to set the PIN (AT+PIN=).
pppEchoRequest1 String
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
pppEchoRequest2 String
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
pppEchoRequest3 String
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
priority Number
Priority of learned routes (0 - 4294967295, default = 0).
redial String
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
reset Number
Number of dial attempts before resetting modem (0 = never reset).
status String
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
trafficCheck String
Enable/disable traffic-check. Valid values: enable, disable.
username1 String
User name to access the specified dialup account.
username2 String
User name to access the specified dialup account.
username3 String
User name to access the specified dialup account.
vdomparam Changes to this property will trigger replacement. 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.
wirelessPort Number
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)

Outputs

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

Get an existing Modem 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?: ModemState, opts?: CustomResourceOptions): Modem
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[str] = None,
        altmode: Optional[str] = None,
        authtype1: Optional[str] = None,
        authtype2: Optional[str] = None,
        authtype3: Optional[str] = None,
        auto_dial: Optional[str] = None,
        connect_timeout: Optional[int] = None,
        dial_cmd1: Optional[str] = None,
        dial_cmd2: Optional[str] = None,
        dial_cmd3: Optional[str] = None,
        dial_on_demand: Optional[str] = None,
        distance: Optional[int] = None,
        dont_send_cr1: Optional[str] = None,
        dont_send_cr2: Optional[str] = None,
        dont_send_cr3: Optional[str] = None,
        extra_init1: Optional[str] = None,
        extra_init2: Optional[str] = None,
        extra_init3: Optional[str] = None,
        holddown_timer: Optional[int] = None,
        idle_timer: Optional[int] = None,
        interface: Optional[str] = None,
        lockdown_lac: Optional[str] = None,
        mode: Optional[str] = None,
        network_init: Optional[str] = None,
        passwd1: Optional[str] = None,
        passwd2: Optional[str] = None,
        passwd3: Optional[str] = None,
        peer_modem1: Optional[str] = None,
        peer_modem2: Optional[str] = None,
        peer_modem3: Optional[str] = None,
        phone1: Optional[str] = None,
        phone2: Optional[str] = None,
        phone3: Optional[str] = None,
        pin_init: Optional[str] = None,
        ppp_echo_request1: Optional[str] = None,
        ppp_echo_request2: Optional[str] = None,
        ppp_echo_request3: Optional[str] = None,
        priority: Optional[int] = None,
        redial: Optional[str] = None,
        reset: Optional[int] = None,
        status: Optional[str] = None,
        traffic_check: Optional[str] = None,
        username1: Optional[str] = None,
        username2: Optional[str] = None,
        username3: Optional[str] = None,
        vdomparam: Optional[str] = None,
        wireless_port: Optional[int] = None) -> Modem
func GetModem(ctx *Context, name string, id IDInput, state *ModemState, opts ...ResourceOption) (*Modem, error)
public static Modem Get(string name, Input<string> id, ModemState? state, CustomResourceOptions? opts = null)
public static Modem get(String name, Output<String> id, ModemState state, CustomResourceOptions options)
resources:  _:    type: fortios:system:Modem    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:
Action string
Dial up/stop MODEM. Valid values: dial, stop, none.
Altmode string
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
Authtype1 string
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
Authtype2 string
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
Authtype3 string
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
AutoDial string
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
ConnectTimeout int
Connection completion timeout (30 - 255 sec, default = 90).
DialCmd1 string
Dial command (this is often an ATD or ATDT command).
DialCmd2 string
Dial command (this is often an ATD or ATDT command).
DialCmd3 string
Dial command (this is often an ATD or ATDT command).
DialOnDemand string
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
Distance int
Distance of learned routes (1 - 255, default = 1).
DontSendCr1 string
Do not send CR when connected (ISP1). Valid values: enable, disable.
DontSendCr2 string
Do not send CR when connected (ISP2). Valid values: enable, disable.
DontSendCr3 string
Do not send CR when connected (ISP3). Valid values: enable, disable.
ExtraInit1 string
Extra initialization string to ISP 1.
ExtraInit2 string
Extra initialization string to ISP 2.
ExtraInit3 string
Extra initialization string to ISP 3.
HolddownTimer int
Hold down timer in seconds (1 - 60 sec).
IdleTimer int
MODEM connection idle time (1 - 9999 min, default = 5).
Interface string
Name of redundant interface.
LockdownLac string
Allow connection only to the specified Location Area Code (LAC).
Mode string
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
NetworkInit string
AT command to set the Network name/type (AT+COPS=,[,[,]]).
Passwd1 string
Password to access the specified dialup account.
Passwd2 string
Password to access the specified dialup account.
Passwd3 string
Password to access the specified dialup account.
PeerModem1 string
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
PeerModem2 string
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
PeerModem3 string
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
Phone1 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
Phone2 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
Phone3 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
PinInit string
AT command to set the PIN (AT+PIN=).
PppEchoRequest1 string
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
PppEchoRequest2 string
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
PppEchoRequest3 string
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
Priority int
Priority of learned routes (0 - 4294967295, default = 0).
Redial string
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
Reset int
Number of dial attempts before resetting modem (0 = never reset).
Status string
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
TrafficCheck string
Enable/disable traffic-check. Valid values: enable, disable.
Username1 string
User name to access the specified dialup account.
Username2 string
User name to access the specified dialup account.
Username3 string
User name to access the specified dialup account.
Vdomparam Changes to this property will trigger replacement. 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.
WirelessPort int
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
Action string
Dial up/stop MODEM. Valid values: dial, stop, none.
Altmode string
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
Authtype1 string
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
Authtype2 string
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
Authtype3 string
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
AutoDial string
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
ConnectTimeout int
Connection completion timeout (30 - 255 sec, default = 90).
DialCmd1 string
Dial command (this is often an ATD or ATDT command).
DialCmd2 string
Dial command (this is often an ATD or ATDT command).
DialCmd3 string
Dial command (this is often an ATD or ATDT command).
DialOnDemand string
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
Distance int
Distance of learned routes (1 - 255, default = 1).
DontSendCr1 string
Do not send CR when connected (ISP1). Valid values: enable, disable.
DontSendCr2 string
Do not send CR when connected (ISP2). Valid values: enable, disable.
DontSendCr3 string
Do not send CR when connected (ISP3). Valid values: enable, disable.
ExtraInit1 string
Extra initialization string to ISP 1.
ExtraInit2 string
Extra initialization string to ISP 2.
ExtraInit3 string
Extra initialization string to ISP 3.
HolddownTimer int
Hold down timer in seconds (1 - 60 sec).
IdleTimer int
MODEM connection idle time (1 - 9999 min, default = 5).
Interface string
Name of redundant interface.
LockdownLac string
Allow connection only to the specified Location Area Code (LAC).
Mode string
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
NetworkInit string
AT command to set the Network name/type (AT+COPS=,[,[,]]).
Passwd1 string
Password to access the specified dialup account.
Passwd2 string
Password to access the specified dialup account.
Passwd3 string
Password to access the specified dialup account.
PeerModem1 string
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
PeerModem2 string
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
PeerModem3 string
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
Phone1 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
Phone2 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
Phone3 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
PinInit string
AT command to set the PIN (AT+PIN=).
PppEchoRequest1 string
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
PppEchoRequest2 string
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
PppEchoRequest3 string
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
Priority int
Priority of learned routes (0 - 4294967295, default = 0).
Redial string
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
Reset int
Number of dial attempts before resetting modem (0 = never reset).
Status string
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
TrafficCheck string
Enable/disable traffic-check. Valid values: enable, disable.
Username1 string
User name to access the specified dialup account.
Username2 string
User name to access the specified dialup account.
Username3 string
User name to access the specified dialup account.
Vdomparam Changes to this property will trigger replacement. 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.
WirelessPort int
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
action String
Dial up/stop MODEM. Valid values: dial, stop, none.
altmode String
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
authtype1 String
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
authtype2 String
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
authtype3 String
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
autoDial String
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
connectTimeout Integer
Connection completion timeout (30 - 255 sec, default = 90).
dialCmd1 String
Dial command (this is often an ATD or ATDT command).
dialCmd2 String
Dial command (this is often an ATD or ATDT command).
dialCmd3 String
Dial command (this is often an ATD or ATDT command).
dialOnDemand String
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
distance Integer
Distance of learned routes (1 - 255, default = 1).
dontSendCr1 String
Do not send CR when connected (ISP1). Valid values: enable, disable.
dontSendCr2 String
Do not send CR when connected (ISP2). Valid values: enable, disable.
dontSendCr3 String
Do not send CR when connected (ISP3). Valid values: enable, disable.
extraInit1 String
Extra initialization string to ISP 1.
extraInit2 String
Extra initialization string to ISP 2.
extraInit3 String
Extra initialization string to ISP 3.
holddownTimer Integer
Hold down timer in seconds (1 - 60 sec).
idleTimer Integer
MODEM connection idle time (1 - 9999 min, default = 5).
interface_ String
Name of redundant interface.
lockdownLac String
Allow connection only to the specified Location Area Code (LAC).
mode String
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
networkInit String
AT command to set the Network name/type (AT+COPS=,[,[,]]).
passwd1 String
Password to access the specified dialup account.
passwd2 String
Password to access the specified dialup account.
passwd3 String
Password to access the specified dialup account.
peerModem1 String
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
peerModem2 String
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
peerModem3 String
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
phone1 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone2 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone3 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
pinInit String
AT command to set the PIN (AT+PIN=).
pppEchoRequest1 String
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
pppEchoRequest2 String
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
pppEchoRequest3 String
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
priority Integer
Priority of learned routes (0 - 4294967295, default = 0).
redial String
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
reset Integer
Number of dial attempts before resetting modem (0 = never reset).
status String
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
trafficCheck String
Enable/disable traffic-check. Valid values: enable, disable.
username1 String
User name to access the specified dialup account.
username2 String
User name to access the specified dialup account.
username3 String
User name to access the specified dialup account.
vdomparam Changes to this property will trigger replacement. 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.
wirelessPort Integer
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
action string
Dial up/stop MODEM. Valid values: dial, stop, none.
altmode string
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
authtype1 string
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
authtype2 string
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
authtype3 string
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
autoDial string
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
connectTimeout number
Connection completion timeout (30 - 255 sec, default = 90).
dialCmd1 string
Dial command (this is often an ATD or ATDT command).
dialCmd2 string
Dial command (this is often an ATD or ATDT command).
dialCmd3 string
Dial command (this is often an ATD or ATDT command).
dialOnDemand string
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
distance number
Distance of learned routes (1 - 255, default = 1).
dontSendCr1 string
Do not send CR when connected (ISP1). Valid values: enable, disable.
dontSendCr2 string
Do not send CR when connected (ISP2). Valid values: enable, disable.
dontSendCr3 string
Do not send CR when connected (ISP3). Valid values: enable, disable.
extraInit1 string
Extra initialization string to ISP 1.
extraInit2 string
Extra initialization string to ISP 2.
extraInit3 string
Extra initialization string to ISP 3.
holddownTimer number
Hold down timer in seconds (1 - 60 sec).
idleTimer number
MODEM connection idle time (1 - 9999 min, default = 5).
interface string
Name of redundant interface.
lockdownLac string
Allow connection only to the specified Location Area Code (LAC).
mode string
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
networkInit string
AT command to set the Network name/type (AT+COPS=,[,[,]]).
passwd1 string
Password to access the specified dialup account.
passwd2 string
Password to access the specified dialup account.
passwd3 string
Password to access the specified dialup account.
peerModem1 string
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
peerModem2 string
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
peerModem3 string
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
phone1 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone2 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone3 string
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
pinInit string
AT command to set the PIN (AT+PIN=).
pppEchoRequest1 string
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
pppEchoRequest2 string
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
pppEchoRequest3 string
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
priority number
Priority of learned routes (0 - 4294967295, default = 0).
redial string
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
reset number
Number of dial attempts before resetting modem (0 = never reset).
status string
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
trafficCheck string
Enable/disable traffic-check. Valid values: enable, disable.
username1 string
User name to access the specified dialup account.
username2 string
User name to access the specified dialup account.
username3 string
User name to access the specified dialup account.
vdomparam Changes to this property will trigger replacement. 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.
wirelessPort number
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
action str
Dial up/stop MODEM. Valid values: dial, stop, none.
altmode str
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
authtype1 str
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
authtype2 str
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
authtype3 str
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
auto_dial str
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
connect_timeout int
Connection completion timeout (30 - 255 sec, default = 90).
dial_cmd1 str
Dial command (this is often an ATD or ATDT command).
dial_cmd2 str
Dial command (this is often an ATD or ATDT command).
dial_cmd3 str
Dial command (this is often an ATD or ATDT command).
dial_on_demand str
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
distance int
Distance of learned routes (1 - 255, default = 1).
dont_send_cr1 str
Do not send CR when connected (ISP1). Valid values: enable, disable.
dont_send_cr2 str
Do not send CR when connected (ISP2). Valid values: enable, disable.
dont_send_cr3 str
Do not send CR when connected (ISP3). Valid values: enable, disable.
extra_init1 str
Extra initialization string to ISP 1.
extra_init2 str
Extra initialization string to ISP 2.
extra_init3 str
Extra initialization string to ISP 3.
holddown_timer int
Hold down timer in seconds (1 - 60 sec).
idle_timer int
MODEM connection idle time (1 - 9999 min, default = 5).
interface str
Name of redundant interface.
lockdown_lac str
Allow connection only to the specified Location Area Code (LAC).
mode str
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
network_init str
AT command to set the Network name/type (AT+COPS=,[,[,]]).
passwd1 str
Password to access the specified dialup account.
passwd2 str
Password to access the specified dialup account.
passwd3 str
Password to access the specified dialup account.
peer_modem1 str
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
peer_modem2 str
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
peer_modem3 str
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
phone1 str
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone2 str
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone3 str
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
pin_init str
AT command to set the PIN (AT+PIN=).
ppp_echo_request1 str
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
ppp_echo_request2 str
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
ppp_echo_request3 str
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
priority int
Priority of learned routes (0 - 4294967295, default = 0).
redial str
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
reset int
Number of dial attempts before resetting modem (0 = never reset).
status str
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
traffic_check str
Enable/disable traffic-check. Valid values: enable, disable.
username1 str
User name to access the specified dialup account.
username2 str
User name to access the specified dialup account.
username3 str
User name to access the specified dialup account.
vdomparam Changes to this property will trigger replacement. str
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.
wireless_port int
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)
action String
Dial up/stop MODEM. Valid values: dial, stop, none.
altmode String
Enable/disable altmode for installations using PPP in China. Valid values: enable, disable.
authtype1 String
Allowed authentication types for ISP 1. Valid values: pap, chap, mschap, mschapv2.
authtype2 String
Allowed authentication types for ISP 2. Valid values: pap, chap, mschap, mschapv2.
authtype3 String
Allowed authentication types for ISP 3. Valid values: pap, chap, mschap, mschapv2.
autoDial String
Enable/disable auto-dial after a reboot or disconnection. Valid values: enable, disable.
connectTimeout Number
Connection completion timeout (30 - 255 sec, default = 90).
dialCmd1 String
Dial command (this is often an ATD or ATDT command).
dialCmd2 String
Dial command (this is often an ATD or ATDT command).
dialCmd3 String
Dial command (this is often an ATD or ATDT command).
dialOnDemand String
Enable/disable to dial the modem when packets are routed to the modem interface. Valid values: enable, disable.
distance Number
Distance of learned routes (1 - 255, default = 1).
dontSendCr1 String
Do not send CR when connected (ISP1). Valid values: enable, disable.
dontSendCr2 String
Do not send CR when connected (ISP2). Valid values: enable, disable.
dontSendCr3 String
Do not send CR when connected (ISP3). Valid values: enable, disable.
extraInit1 String
Extra initialization string to ISP 1.
extraInit2 String
Extra initialization string to ISP 2.
extraInit3 String
Extra initialization string to ISP 3.
holddownTimer Number
Hold down timer in seconds (1 - 60 sec).
idleTimer Number
MODEM connection idle time (1 - 9999 min, default = 5).
interface String
Name of redundant interface.
lockdownLac String
Allow connection only to the specified Location Area Code (LAC).
mode String
Set MODEM operation mode to redundant or standalone. Valid values: standalone, redundant.
networkInit String
AT command to set the Network name/type (AT+COPS=,[,[,]]).
passwd1 String
Password to access the specified dialup account.
passwd2 String
Password to access the specified dialup account.
passwd3 String
Password to access the specified dialup account.
peerModem1 String
Specify peer MODEM type for phone1. Valid values: generic, actiontec, ascend_TNT.
peerModem2 String
Specify peer MODEM type for phone2. Valid values: generic, actiontec, ascend_TNT.
peerModem3 String
Specify peer MODEM type for phone3. Valid values: generic, actiontec, ascend_TNT.
phone1 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone2 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
phone3 String
Phone number to connect to the dialup account (must not contain spaces, and should include standard special characters).
pinInit String
AT command to set the PIN (AT+PIN=).
pppEchoRequest1 String
Enable/disable PPP echo-request to ISP 1. Valid values: enable, disable.
pppEchoRequest2 String
Enable/disable PPP echo-request to ISP 2. Valid values: enable, disable.
pppEchoRequest3 String
Enable/disable PPP echo-request to ISP 3. Valid values: enable, disable.
priority Number
Priority of learned routes (0 - 4294967295, default = 0).
redial String
Redial limit (1 - 10 attempts, none = redial forever). Valid values: none, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
reset Number
Number of dial attempts before resetting modem (0 = never reset).
status String
Enable/disable Modem support (equivalent to bringing an interface up or down). Valid values: enable, disable.
trafficCheck String
Enable/disable traffic-check. Valid values: enable, disable.
username1 String
User name to access the specified dialup account.
username2 String
User name to access the specified dialup account.
username3 String
User name to access the specified dialup account.
vdomparam Changes to this property will trigger replacement. 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.
wirelessPort Number
Enter wireless port number, 0 for default, 1 for first port, ... (0 - 4294967295, default = 0)

Import

System Modem can be imported using any of these accepted formats:

$ pulumi import fortios:system/modem:Modem labelname SystemModem
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

$ pulumi import fortios:system/modem:Modem labelname SystemModem
Copy

$ unset “FORTIOS_IMPORT_TABLE”

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.