fortios.system.Ltemodem
Explore with Pulumi AI
Configure USB LTE/WIMAX devices. Applies to FortiOS Version 7.0.4
.
Create Ltemodem Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ltemodem(name: string, args?: LtemodemArgs, opts?: CustomResourceOptions);
@overload
def Ltemodem(resource_name: str,
args: Optional[LtemodemArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Ltemodem(resource_name: str,
opts: Optional[ResourceOptions] = None,
apn: Optional[str] = None,
authtype: Optional[str] = None,
extra_init: Optional[str] = None,
holddown_timer: Optional[int] = None,
interface: Optional[str] = None,
mode: Optional[str] = None,
modem_port: Optional[int] = None,
passwd: Optional[str] = None,
status: Optional[str] = None,
username: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewLtemodem(ctx *Context, name string, args *LtemodemArgs, opts ...ResourceOption) (*Ltemodem, error)
public Ltemodem(string name, LtemodemArgs? args = null, CustomResourceOptions? opts = null)
public Ltemodem(String name, LtemodemArgs args)
public Ltemodem(String name, LtemodemArgs args, CustomResourceOptions options)
type: fortios:system:Ltemodem
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 LtemodemArgs
- 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 LtemodemArgs
- 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 LtemodemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LtemodemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LtemodemArgs
- 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 ltemodemResource = new Fortios.System.Ltemodem("ltemodemResource", new()
{
Apn = "string",
Authtype = "string",
ExtraInit = "string",
HolddownTimer = 0,
Interface = "string",
Mode = "string",
ModemPort = 0,
Passwd = "string",
Status = "string",
Username = "string",
Vdomparam = "string",
});
example, err := system.NewLtemodem(ctx, "ltemodemResource", &system.LtemodemArgs{
Apn: pulumi.String("string"),
Authtype: pulumi.String("string"),
ExtraInit: pulumi.String("string"),
HolddownTimer: pulumi.Int(0),
Interface: pulumi.String("string"),
Mode: pulumi.String("string"),
ModemPort: pulumi.Int(0),
Passwd: pulumi.String("string"),
Status: pulumi.String("string"),
Username: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var ltemodemResource = new Ltemodem("ltemodemResource", LtemodemArgs.builder()
.apn("string")
.authtype("string")
.extraInit("string")
.holddownTimer(0)
.interface_("string")
.mode("string")
.modemPort(0)
.passwd("string")
.status("string")
.username("string")
.vdomparam("string")
.build());
ltemodem_resource = fortios.system.Ltemodem("ltemodemResource",
apn="string",
authtype="string",
extra_init="string",
holddown_timer=0,
interface="string",
mode="string",
modem_port=0,
passwd="string",
status="string",
username="string",
vdomparam="string")
const ltemodemResource = new fortios.system.Ltemodem("ltemodemResource", {
apn: "string",
authtype: "string",
extraInit: "string",
holddownTimer: 0,
"interface": "string",
mode: "string",
modemPort: 0,
passwd: "string",
status: "string",
username: "string",
vdomparam: "string",
});
type: fortios:system:Ltemodem
properties:
apn: string
authtype: string
extraInit: string
holddownTimer: 0
interface: string
mode: string
modemPort: 0
passwd: string
status: string
username: string
vdomparam: string
Ltemodem 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 Ltemodem resource accepts the following input properties:
- Apn string
- Login APN string for PDP-IP packet data calls.
- Authtype string
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - Extra
Init string - Extra initialization string for USB LTE/WIMAX devices.
- Holddown
Timer int - Hold down timer (10 - 60 sec).
- Interface string
- The interface that the modem is acting as a redundant interface for.
- Mode string
- Modem operation mode. Valid values:
standalone
,redundant
. - Modem
Port int - Modem port index (0 - 20).
- Passwd string
- Authentication password for PDP-IP packet data calls.
- Status string
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - Username string
- Authentication username for PDP-IP packet data calls.
- 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.
- Apn string
- Login APN string for PDP-IP packet data calls.
- Authtype string
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - Extra
Init string - Extra initialization string for USB LTE/WIMAX devices.
- Holddown
Timer int - Hold down timer (10 - 60 sec).
- Interface string
- The interface that the modem is acting as a redundant interface for.
- Mode string
- Modem operation mode. Valid values:
standalone
,redundant
. - Modem
Port int - Modem port index (0 - 20).
- Passwd string
- Authentication password for PDP-IP packet data calls.
- Status string
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - Username string
- Authentication username for PDP-IP packet data calls.
- 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.
- apn String
- Login APN string for PDP-IP packet data calls.
- authtype String
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - extra
Init String - Extra initialization string for USB LTE/WIMAX devices.
- holddown
Timer Integer - Hold down timer (10 - 60 sec).
- interface_ String
- The interface that the modem is acting as a redundant interface for.
- mode String
- Modem operation mode. Valid values:
standalone
,redundant
. - modem
Port Integer - Modem port index (0 - 20).
- passwd String
- Authentication password for PDP-IP packet data calls.
- status String
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - username String
- Authentication username for PDP-IP packet data calls.
- 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.
- apn string
- Login APN string for PDP-IP packet data calls.
- authtype string
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - extra
Init string - Extra initialization string for USB LTE/WIMAX devices.
- holddown
Timer number - Hold down timer (10 - 60 sec).
- interface string
- The interface that the modem is acting as a redundant interface for.
- mode string
- Modem operation mode. Valid values:
standalone
,redundant
. - modem
Port number - Modem port index (0 - 20).
- passwd string
- Authentication password for PDP-IP packet data calls.
- status string
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - username string
- Authentication username for PDP-IP packet data calls.
- 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.
- apn str
- Login APN string for PDP-IP packet data calls.
- authtype str
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - extra_
init str - Extra initialization string for USB LTE/WIMAX devices.
- holddown_
timer int - Hold down timer (10 - 60 sec).
- interface str
- The interface that the modem is acting as a redundant interface for.
- mode str
- Modem operation mode. Valid values:
standalone
,redundant
. - modem_
port int - Modem port index (0 - 20).
- passwd str
- Authentication password for PDP-IP packet data calls.
- status str
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - username str
- Authentication username for PDP-IP packet data calls.
- 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.
- apn String
- Login APN string for PDP-IP packet data calls.
- authtype String
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - extra
Init String - Extra initialization string for USB LTE/WIMAX devices.
- holddown
Timer Number - Hold down timer (10 - 60 sec).
- interface String
- The interface that the modem is acting as a redundant interface for.
- mode String
- Modem operation mode. Valid values:
standalone
,redundant
. - modem
Port Number - Modem port index (0 - 20).
- passwd String
- Authentication password for PDP-IP packet data calls.
- status String
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - username String
- Authentication username for PDP-IP packet data calls.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ltemodem 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 Ltemodem Resource
Get an existing Ltemodem 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?: LtemodemState, opts?: CustomResourceOptions): Ltemodem
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apn: Optional[str] = None,
authtype: Optional[str] = None,
extra_init: Optional[str] = None,
holddown_timer: Optional[int] = None,
interface: Optional[str] = None,
mode: Optional[str] = None,
modem_port: Optional[int] = None,
passwd: Optional[str] = None,
status: Optional[str] = None,
username: Optional[str] = None,
vdomparam: Optional[str] = None) -> Ltemodem
func GetLtemodem(ctx *Context, name string, id IDInput, state *LtemodemState, opts ...ResourceOption) (*Ltemodem, error)
public static Ltemodem Get(string name, Input<string> id, LtemodemState? state, CustomResourceOptions? opts = null)
public static Ltemodem get(String name, Output<String> id, LtemodemState 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.
- Apn string
- Login APN string for PDP-IP packet data calls.
- Authtype string
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - Extra
Init string - Extra initialization string for USB LTE/WIMAX devices.
- Holddown
Timer int - Hold down timer (10 - 60 sec).
- Interface string
- The interface that the modem is acting as a redundant interface for.
- Mode string
- Modem operation mode. Valid values:
standalone
,redundant
. - Modem
Port int - Modem port index (0 - 20).
- Passwd string
- Authentication password for PDP-IP packet data calls.
- Status string
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - Username string
- Authentication username for PDP-IP packet data calls.
- 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.
- Apn string
- Login APN string for PDP-IP packet data calls.
- Authtype string
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - Extra
Init string - Extra initialization string for USB LTE/WIMAX devices.
- Holddown
Timer int - Hold down timer (10 - 60 sec).
- Interface string
- The interface that the modem is acting as a redundant interface for.
- Mode string
- Modem operation mode. Valid values:
standalone
,redundant
. - Modem
Port int - Modem port index (0 - 20).
- Passwd string
- Authentication password for PDP-IP packet data calls.
- Status string
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - Username string
- Authentication username for PDP-IP packet data calls.
- 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.
- apn String
- Login APN string for PDP-IP packet data calls.
- authtype String
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - extra
Init String - Extra initialization string for USB LTE/WIMAX devices.
- holddown
Timer Integer - Hold down timer (10 - 60 sec).
- interface_ String
- The interface that the modem is acting as a redundant interface for.
- mode String
- Modem operation mode. Valid values:
standalone
,redundant
. - modem
Port Integer - Modem port index (0 - 20).
- passwd String
- Authentication password for PDP-IP packet data calls.
- status String
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - username String
- Authentication username for PDP-IP packet data calls.
- 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.
- apn string
- Login APN string for PDP-IP packet data calls.
- authtype string
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - extra
Init string - Extra initialization string for USB LTE/WIMAX devices.
- holddown
Timer number - Hold down timer (10 - 60 sec).
- interface string
- The interface that the modem is acting as a redundant interface for.
- mode string
- Modem operation mode. Valid values:
standalone
,redundant
. - modem
Port number - Modem port index (0 - 20).
- passwd string
- Authentication password for PDP-IP packet data calls.
- status string
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - username string
- Authentication username for PDP-IP packet data calls.
- 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.
- apn str
- Login APN string for PDP-IP packet data calls.
- authtype str
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - extra_
init str - Extra initialization string for USB LTE/WIMAX devices.
- holddown_
timer int - Hold down timer (10 - 60 sec).
- interface str
- The interface that the modem is acting as a redundant interface for.
- mode str
- Modem operation mode. Valid values:
standalone
,redundant
. - modem_
port int - Modem port index (0 - 20).
- passwd str
- Authentication password for PDP-IP packet data calls.
- status str
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - username str
- Authentication username for PDP-IP packet data calls.
- 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.
- apn String
- Login APN string for PDP-IP packet data calls.
- authtype String
- Authentication type for PDP-IP packet data calls. Valid values:
none
,pap
,chap
. - extra
Init String - Extra initialization string for USB LTE/WIMAX devices.
- holddown
Timer Number - Hold down timer (10 - 60 sec).
- interface String
- The interface that the modem is acting as a redundant interface for.
- mode String
- Modem operation mode. Valid values:
standalone
,redundant
. - modem
Port Number - Modem port index (0 - 20).
- passwd String
- Authentication password for PDP-IP packet data calls.
- status String
- Enable/disable USB LTE/WIMAX device. Valid values:
enable
,disable
. - username String
- Authentication username for PDP-IP packet data calls.
- 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.
Import
System LteModem can be imported using any of these accepted formats:
$ pulumi import fortios:system/ltemodem:Ltemodem labelname SystemLteModem
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/ltemodem:Ltemodem labelname SystemLteModem
$ 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.