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)
type: fortios:system:Modem
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name 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 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 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 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 String
- The unique name of the resource.
- args 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,
});
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),
})
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());
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)
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,
});
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
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
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
. - Auto
Dial string - 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 string - Dial command (this is often an ATD or ATDT command).
- Dial
Cmd2 string - Dial command (this is often an ATD or ATDT command).
- Dial
Cmd3 string - Dial command (this is often an ATD or ATDT command).
- Dial
On stringDemand - 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 stringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - Dont
Send stringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - Dont
Send stringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - Extra
Init1 string - Extra initialization string to ISP 1.
- Extra
Init2 string - Extra initialization string to ISP 2.
- Extra
Init3 string - 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 string
- Name of redundant interface.
- Lockdown
Lac 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
. - Network
Init 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.
- Peer
Modem1 string - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - Peer
Modem2 string - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - Peer
Modem3 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).
- Pin
Init string - AT command to set the PIN (AT+PIN=).
- Ppp
Echo stringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - Ppp
Echo stringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - Ppp
Echo stringRequest3 - 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
. - Traffic
Check 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 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.
- 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
. - Auto
Dial string - 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 string - Dial command (this is often an ATD or ATDT command).
- Dial
Cmd2 string - Dial command (this is often an ATD or ATDT command).
- Dial
Cmd3 string - Dial command (this is often an ATD or ATDT command).
- Dial
On stringDemand - 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 stringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - Dont
Send stringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - Dont
Send stringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - Extra
Init1 string - Extra initialization string to ISP 1.
- Extra
Init2 string - Extra initialization string to ISP 2.
- Extra
Init3 string - 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 string
- Name of redundant interface.
- Lockdown
Lac 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
. - Network
Init 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.
- Peer
Modem1 string - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - Peer
Modem2 string - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - Peer
Modem3 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).
- Pin
Init string - AT command to set the PIN (AT+PIN=).
- Ppp
Echo stringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - Ppp
Echo stringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - Ppp
Echo stringRequest3 - 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
. - Traffic
Check 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 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.
- 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
. - auto
Dial String - Enable/disable auto-dial after a reboot or disconnection. Valid values:
enable
,disable
. - connect
Timeout Integer - Connection completion timeout (30 - 255 sec, default = 90).
- dial
Cmd1 String - Dial command (this is often an ATD or ATDT command).
- dial
Cmd2 String - Dial command (this is often an ATD or ATDT command).
- dial
Cmd3 String - Dial command (this is often an ATD or ATDT command).
- dial
On StringDemand - 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).
- dont
Send StringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - dont
Send StringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - dont
Send StringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - extra
Init1 String - Extra initialization string to ISP 1.
- extra
Init2 String - Extra initialization string to ISP 2.
- extra
Init3 String - Extra initialization string to ISP 3.
- holddown
Timer Integer - Hold down timer in seconds (1 - 60 sec).
- idle
Timer Integer - MODEM connection idle time (1 - 9999 min, default = 5).
- interface_ String
- Name of redundant interface.
- lockdown
Lac 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
. - network
Init 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.
- peer
Modem1 String - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem2 String - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem3 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).
- pin
Init String - AT command to set the PIN (AT+PIN=).
- ppp
Echo StringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - ppp
Echo StringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - ppp
Echo StringRequest3 - 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
. - traffic
Check 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 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.
- wireless
Port 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
. - auto
Dial string - Enable/disable auto-dial after a reboot or disconnection. Valid values:
enable
,disable
. - connect
Timeout number - Connection completion timeout (30 - 255 sec, default = 90).
- dial
Cmd1 string - Dial command (this is often an ATD or ATDT command).
- dial
Cmd2 string - Dial command (this is often an ATD or ATDT command).
- dial
Cmd3 string - Dial command (this is often an ATD or ATDT command).
- dial
On stringDemand - 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).
- dont
Send stringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - dont
Send stringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - dont
Send stringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - extra
Init1 string - Extra initialization string to ISP 1.
- extra
Init2 string - Extra initialization string to ISP 2.
- extra
Init3 string - Extra initialization string to ISP 3.
- holddown
Timer number - Hold down timer in seconds (1 - 60 sec).
- idle
Timer number - MODEM connection idle time (1 - 9999 min, default = 5).
- interface string
- Name of redundant interface.
- lockdown
Lac 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
. - network
Init 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.
- peer
Modem1 string - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem2 string - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem3 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).
- pin
Init string - AT command to set the PIN (AT+PIN=).
- ppp
Echo stringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - ppp
Echo stringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - ppp
Echo stringRequest3 - 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
. - traffic
Check 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 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.
- wireless
Port 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_ strdemand - 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_ strcr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - dont_
send_ strcr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - dont_
send_ strcr3 - 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_ strrequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - ppp_
echo_ strrequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - ppp_
echo_ strrequest3 - 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 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
. - auto
Dial String - Enable/disable auto-dial after a reboot or disconnection. Valid values:
enable
,disable
. - connect
Timeout Number - Connection completion timeout (30 - 255 sec, default = 90).
- dial
Cmd1 String - Dial command (this is often an ATD or ATDT command).
- dial
Cmd2 String - Dial command (this is often an ATD or ATDT command).
- dial
Cmd3 String - Dial command (this is often an ATD or ATDT command).
- dial
On StringDemand - 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).
- dont
Send StringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - dont
Send StringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - dont
Send StringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - extra
Init1 String - Extra initialization string to ISP 1.
- extra
Init2 String - Extra initialization string to ISP 2.
- extra
Init3 String - Extra initialization string to ISP 3.
- holddown
Timer Number - Hold down timer in seconds (1 - 60 sec).
- idle
Timer Number - MODEM connection idle time (1 - 9999 min, default = 5).
- interface String
- Name of redundant interface.
- lockdown
Lac 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
. - network
Init 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.
- peer
Modem1 String - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem2 String - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem3 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).
- pin
Init String - AT command to set the PIN (AT+PIN=).
- ppp
Echo StringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - ppp
Echo StringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - ppp
Echo StringRequest3 - 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
. - traffic
Check 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 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.
- wireless
Port 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- 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
. - Auto
Dial string - 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 string - Dial command (this is often an ATD or ATDT command).
- Dial
Cmd2 string - Dial command (this is often an ATD or ATDT command).
- Dial
Cmd3 string - Dial command (this is often an ATD or ATDT command).
- Dial
On stringDemand - 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 stringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - Dont
Send stringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - Dont
Send stringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - Extra
Init1 string - Extra initialization string to ISP 1.
- Extra
Init2 string - Extra initialization string to ISP 2.
- Extra
Init3 string - 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 string
- Name of redundant interface.
- Lockdown
Lac 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
. - Network
Init 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.
- Peer
Modem1 string - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - Peer
Modem2 string - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - Peer
Modem3 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).
- Pin
Init string - AT command to set the PIN (AT+PIN=).
- Ppp
Echo stringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - Ppp
Echo stringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - Ppp
Echo stringRequest3 - 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
. - Traffic
Check 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 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.
- 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
. - Auto
Dial string - 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 string - Dial command (this is often an ATD or ATDT command).
- Dial
Cmd2 string - Dial command (this is often an ATD or ATDT command).
- Dial
Cmd3 string - Dial command (this is often an ATD or ATDT command).
- Dial
On stringDemand - 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 stringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - Dont
Send stringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - Dont
Send stringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - Extra
Init1 string - Extra initialization string to ISP 1.
- Extra
Init2 string - Extra initialization string to ISP 2.
- Extra
Init3 string - 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 string
- Name of redundant interface.
- Lockdown
Lac 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
. - Network
Init 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.
- Peer
Modem1 string - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - Peer
Modem2 string - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - Peer
Modem3 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).
- Pin
Init string - AT command to set the PIN (AT+PIN=).
- Ppp
Echo stringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - Ppp
Echo stringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - Ppp
Echo stringRequest3 - 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
. - Traffic
Check 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 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.
- 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
. - auto
Dial String - Enable/disable auto-dial after a reboot or disconnection. Valid values:
enable
,disable
. - connect
Timeout Integer - Connection completion timeout (30 - 255 sec, default = 90).
- dial
Cmd1 String - Dial command (this is often an ATD or ATDT command).
- dial
Cmd2 String - Dial command (this is often an ATD or ATDT command).
- dial
Cmd3 String - Dial command (this is often an ATD or ATDT command).
- dial
On StringDemand - 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).
- dont
Send StringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - dont
Send StringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - dont
Send StringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - extra
Init1 String - Extra initialization string to ISP 1.
- extra
Init2 String - Extra initialization string to ISP 2.
- extra
Init3 String - Extra initialization string to ISP 3.
- holddown
Timer Integer - Hold down timer in seconds (1 - 60 sec).
- idle
Timer Integer - MODEM connection idle time (1 - 9999 min, default = 5).
- interface_ String
- Name of redundant interface.
- lockdown
Lac 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
. - network
Init 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.
- peer
Modem1 String - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem2 String - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem3 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).
- pin
Init String - AT command to set the PIN (AT+PIN=).
- ppp
Echo StringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - ppp
Echo StringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - ppp
Echo StringRequest3 - 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
. - traffic
Check 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 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.
- wireless
Port 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
. - auto
Dial string - Enable/disable auto-dial after a reboot or disconnection. Valid values:
enable
,disable
. - connect
Timeout number - Connection completion timeout (30 - 255 sec, default = 90).
- dial
Cmd1 string - Dial command (this is often an ATD or ATDT command).
- dial
Cmd2 string - Dial command (this is often an ATD or ATDT command).
- dial
Cmd3 string - Dial command (this is often an ATD or ATDT command).
- dial
On stringDemand - 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).
- dont
Send stringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - dont
Send stringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - dont
Send stringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - extra
Init1 string - Extra initialization string to ISP 1.
- extra
Init2 string - Extra initialization string to ISP 2.
- extra
Init3 string - Extra initialization string to ISP 3.
- holddown
Timer number - Hold down timer in seconds (1 - 60 sec).
- idle
Timer number - MODEM connection idle time (1 - 9999 min, default = 5).
- interface string
- Name of redundant interface.
- lockdown
Lac 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
. - network
Init 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.
- peer
Modem1 string - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem2 string - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem3 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).
- pin
Init string - AT command to set the PIN (AT+PIN=).
- ppp
Echo stringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - ppp
Echo stringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - ppp
Echo stringRequest3 - 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
. - traffic
Check 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 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.
- wireless
Port 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_ strdemand - 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_ strcr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - dont_
send_ strcr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - dont_
send_ strcr3 - 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_ strrequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - ppp_
echo_ strrequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - ppp_
echo_ strrequest3 - 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 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
. - auto
Dial String - Enable/disable auto-dial after a reboot or disconnection. Valid values:
enable
,disable
. - connect
Timeout Number - Connection completion timeout (30 - 255 sec, default = 90).
- dial
Cmd1 String - Dial command (this is often an ATD or ATDT command).
- dial
Cmd2 String - Dial command (this is often an ATD or ATDT command).
- dial
Cmd3 String - Dial command (this is often an ATD or ATDT command).
- dial
On StringDemand - 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).
- dont
Send StringCr1 - Do not send CR when connected (ISP1). Valid values:
enable
,disable
. - dont
Send StringCr2 - Do not send CR when connected (ISP2). Valid values:
enable
,disable
. - dont
Send StringCr3 - Do not send CR when connected (ISP3). Valid values:
enable
,disable
. - extra
Init1 String - Extra initialization string to ISP 1.
- extra
Init2 String - Extra initialization string to ISP 2.
- extra
Init3 String - Extra initialization string to ISP 3.
- holddown
Timer Number - Hold down timer in seconds (1 - 60 sec).
- idle
Timer Number - MODEM connection idle time (1 - 9999 min, default = 5).
- interface String
- Name of redundant interface.
- lockdown
Lac 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
. - network
Init 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.
- peer
Modem1 String - Specify peer MODEM type for phone1. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem2 String - Specify peer MODEM type for phone2. Valid values:
generic
,actiontec
,ascend_TNT
. - peer
Modem3 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).
- pin
Init String - AT command to set the PIN (AT+PIN=).
- ppp
Echo StringRequest1 - Enable/disable PPP echo-request to ISP 1. Valid values:
enable
,disable
. - ppp
Echo StringRequest2 - Enable/disable PPP echo-request to ISP 2. Valid values:
enable
,disable
. - ppp
Echo StringRequest3 - 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
. - traffic
Check 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 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.
- wireless
Port 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
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/modem:Modem labelname SystemModem
$ 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.