fortios.router/ospf.Ospfinterface
Explore with Pulumi AI
OSPF interface configuration.
The provider supports the definition of Ospf-Interface in Router Ospf
fortios.router.Ospf
, and also allows the definition of separate Ospf-Interface resourcesfortios.router/ospf.Ospfinterface
, but do not use afortios.router.Ospf
with in-line Ospf-Interface in conjunction with anyfortios.router/ospf.Ospfinterface
resources, otherwise conflicts and overwrite will occur.
Create Ospfinterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ospfinterface(name: string, args?: OspfinterfaceArgs, opts?: CustomResourceOptions);
@overload
def Ospfinterface(resource_name: str,
args: Optional[OspfinterfaceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Ospfinterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[str] = None,
authentication_key: Optional[str] = None,
bfd: Optional[str] = None,
comments: Optional[str] = None,
cost: Optional[int] = None,
database_filter_out: Optional[str] = None,
dead_interval: Optional[int] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
hello_interval: Optional[int] = None,
hello_multiplier: Optional[int] = None,
interface: Optional[str] = None,
ip: Optional[str] = None,
keychain: Optional[str] = None,
md5_key: Optional[str] = None,
md5_keychain: Optional[str] = None,
md5_keys: Optional[Sequence[OspfinterfaceMd5KeyArgs]] = None,
mtu: Optional[int] = None,
mtu_ignore: Optional[str] = None,
name: Optional[str] = None,
network_type: Optional[str] = None,
prefix_length: Optional[int] = None,
priority: Optional[int] = None,
resync_timeout: Optional[int] = None,
retransmit_interval: Optional[int] = None,
status: Optional[str] = None,
transmit_delay: Optional[int] = None,
vdomparam: Optional[str] = None)
func NewOspfinterface(ctx *Context, name string, args *OspfinterfaceArgs, opts ...ResourceOption) (*Ospfinterface, error)
public Ospfinterface(string name, OspfinterfaceArgs? args = null, CustomResourceOptions? opts = null)
public Ospfinterface(String name, OspfinterfaceArgs args)
public Ospfinterface(String name, OspfinterfaceArgs args, CustomResourceOptions options)
type: fortios:router/ospf/ospfinterface:Ospfinterface
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 OspfinterfaceArgs
- 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 OspfinterfaceArgs
- 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 OspfinterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OspfinterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OspfinterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Ospfinterface 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 Ospfinterface resource accepts the following input properties:
- Authentication string
- Authentication type.
- Authentication
Key string - Authentication key.
- Bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - Comments string
- Comment.
- Cost int
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- Database
Filter stringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - Dead
Interval int - Dead interval.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Hello
Interval int - Hello interval.
- Hello
Multiplier int - Number of hello packets within dead interval.
- Interface string
- Configuration interface name.
- Ip string
- IP address.
- Keychain string
- Message-digest key-chain name.
- Md5Key string
- MD5 key.
- Md5Keychain string
- Authentication MD5 key-chain name.
- Md5Keys
List<Pulumiverse.
Fortios. Router. Ospf. Inputs. Ospfinterface Md5Key> - MD5 key. The structure of
md5_keys
block is documented below. - Mtu int
- MTU for database description packets.
- Mtu
Ignore string - Enable/disable ignore MTU. Valid values:
enable
,disable
. - Name string
- Interface entry name.
- Network
Type string - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - Prefix
Length int - Prefix length.
- Priority int
- Priority.
- Resync
Timeout int - Graceful restart neighbor resynchronization timeout.
- Retransmit
Interval int - Retransmit interval.
- Status string
- Enable/disable status. Valid values:
disable
,enable
. - Transmit
Delay int - Transmit delay.
- 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.
The
md5_keys
block supports:
- Authentication string
- Authentication type.
- Authentication
Key string - Authentication key.
- Bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - Comments string
- Comment.
- Cost int
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- Database
Filter stringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - Dead
Interval int - Dead interval.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Hello
Interval int - Hello interval.
- Hello
Multiplier int - Number of hello packets within dead interval.
- Interface string
- Configuration interface name.
- Ip string
- IP address.
- Keychain string
- Message-digest key-chain name.
- Md5Key string
- MD5 key.
- Md5Keychain string
- Authentication MD5 key-chain name.
- Md5Keys
[]Ospfinterface
Md5Key Args - MD5 key. The structure of
md5_keys
block is documented below. - Mtu int
- MTU for database description packets.
- Mtu
Ignore string - Enable/disable ignore MTU. Valid values:
enable
,disable
. - Name string
- Interface entry name.
- Network
Type string - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - Prefix
Length int - Prefix length.
- Priority int
- Priority.
- Resync
Timeout int - Graceful restart neighbor resynchronization timeout.
- Retransmit
Interval int - Retransmit interval.
- Status string
- Enable/disable status. Valid values:
disable
,enable
. - Transmit
Delay int - Transmit delay.
- 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.
The
md5_keys
block supports:
- authentication String
- Authentication type.
- authentication
Key String - Authentication key.
- bfd String
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - comments String
- Comment.
- cost Integer
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- database
Filter StringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead
Interval Integer - Dead interval.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- hello
Interval Integer - Hello interval.
- hello
Multiplier Integer - Number of hello packets within dead interval.
- interface_ String
- Configuration interface name.
- ip String
- IP address.
- keychain String
- Message-digest key-chain name.
- md5Key String
- MD5 key.
- md5Keychain String
- Authentication MD5 key-chain name.
- md5Keys
List<Ospfinterface
Md5Key> - MD5 key. The structure of
md5_keys
block is documented below. - mtu Integer
- MTU for database description packets.
- mtu
Ignore String - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name String
- Interface entry name.
- network
Type String - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix
Length Integer - Prefix length.
- priority Integer
- Priority.
- resync
Timeout Integer - Graceful restart neighbor resynchronization timeout.
- retransmit
Interval Integer - Retransmit interval.
- status String
- Enable/disable status. Valid values:
disable
,enable
. - transmit
Delay Integer - Transmit delay.
- 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.
The
md5_keys
block supports:
- authentication string
- Authentication type.
- authentication
Key string - Authentication key.
- bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - comments string
- Comment.
- cost number
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- database
Filter stringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead
Interval number - Dead interval.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- hello
Interval number - Hello interval.
- hello
Multiplier number - Number of hello packets within dead interval.
- interface string
- Configuration interface name.
- ip string
- IP address.
- keychain string
- Message-digest key-chain name.
- md5Key string
- MD5 key.
- md5Keychain string
- Authentication MD5 key-chain name.
- md5Keys
Ospfinterface
Md5Key[] - MD5 key. The structure of
md5_keys
block is documented below. - mtu number
- MTU for database description packets.
- mtu
Ignore string - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name string
- Interface entry name.
- network
Type string - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix
Length number - Prefix length.
- priority number
- Priority.
- resync
Timeout number - Graceful restart neighbor resynchronization timeout.
- retransmit
Interval number - Retransmit interval.
- status string
- Enable/disable status. Valid values:
disable
,enable
. - transmit
Delay number - Transmit delay.
- 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.
The
md5_keys
block supports:
- authentication str
- Authentication type.
- authentication_
key str - Authentication key.
- bfd str
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - comments str
- Comment.
- cost int
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- database_
filter_ strout - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead_
interval int - Dead interval.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- hello_
interval int - Hello interval.
- hello_
multiplier int - Number of hello packets within dead interval.
- interface str
- Configuration interface name.
- ip str
- IP address.
- keychain str
- Message-digest key-chain name.
- md5_
key str - MD5 key.
- md5_
keychain str - Authentication MD5 key-chain name.
- md5_
keys Sequence[OspfinterfaceMd5Key Args] - MD5 key. The structure of
md5_keys
block is documented below. - mtu int
- MTU for database description packets.
- mtu_
ignore str - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name str
- Interface entry name.
- network_
type str - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix_
length int - Prefix length.
- priority int
- Priority.
- resync_
timeout int - Graceful restart neighbor resynchronization timeout.
- retransmit_
interval int - Retransmit interval.
- status str
- Enable/disable status. Valid values:
disable
,enable
. - transmit_
delay int - Transmit delay.
- 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.
The
md5_keys
block supports:
- authentication String
- Authentication type.
- authentication
Key String - Authentication key.
- bfd String
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - comments String
- Comment.
- cost Number
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- database
Filter StringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead
Interval Number - Dead interval.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- hello
Interval Number - Hello interval.
- hello
Multiplier Number - Number of hello packets within dead interval.
- interface String
- Configuration interface name.
- ip String
- IP address.
- keychain String
- Message-digest key-chain name.
- md5Key String
- MD5 key.
- md5Keychain String
- Authentication MD5 key-chain name.
- md5Keys List<Property Map>
- MD5 key. The structure of
md5_keys
block is documented below. - mtu Number
- MTU for database description packets.
- mtu
Ignore String - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name String
- Interface entry name.
- network
Type String - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix
Length Number - Prefix length.
- priority Number
- Priority.
- resync
Timeout Number - Graceful restart neighbor resynchronization timeout.
- retransmit
Interval Number - Retransmit interval.
- status String
- Enable/disable status. Valid values:
disable
,enable
. - transmit
Delay Number - Transmit delay.
- 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.
The
md5_keys
block supports:
Outputs
All input properties are implicitly available as output properties. Additionally, the Ospfinterface 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 Ospfinterface Resource
Get an existing Ospfinterface 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?: OspfinterfaceState, opts?: CustomResourceOptions): Ospfinterface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[str] = None,
authentication_key: Optional[str] = None,
bfd: Optional[str] = None,
comments: Optional[str] = None,
cost: Optional[int] = None,
database_filter_out: Optional[str] = None,
dead_interval: Optional[int] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
hello_interval: Optional[int] = None,
hello_multiplier: Optional[int] = None,
interface: Optional[str] = None,
ip: Optional[str] = None,
keychain: Optional[str] = None,
md5_key: Optional[str] = None,
md5_keychain: Optional[str] = None,
md5_keys: Optional[Sequence[OspfinterfaceMd5KeyArgs]] = None,
mtu: Optional[int] = None,
mtu_ignore: Optional[str] = None,
name: Optional[str] = None,
network_type: Optional[str] = None,
prefix_length: Optional[int] = None,
priority: Optional[int] = None,
resync_timeout: Optional[int] = None,
retransmit_interval: Optional[int] = None,
status: Optional[str] = None,
transmit_delay: Optional[int] = None,
vdomparam: Optional[str] = None) -> Ospfinterface
func GetOspfinterface(ctx *Context, name string, id IDInput, state *OspfinterfaceState, opts ...ResourceOption) (*Ospfinterface, error)
public static Ospfinterface Get(string name, Input<string> id, OspfinterfaceState? state, CustomResourceOptions? opts = null)
public static Ospfinterface get(String name, Output<String> id, OspfinterfaceState 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.
- Authentication string
- Authentication type.
- Authentication
Key string - Authentication key.
- Bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - Comments string
- Comment.
- Cost int
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- Database
Filter stringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - Dead
Interval int - Dead interval.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Hello
Interval int - Hello interval.
- Hello
Multiplier int - Number of hello packets within dead interval.
- Interface string
- Configuration interface name.
- Ip string
- IP address.
- Keychain string
- Message-digest key-chain name.
- Md5Key string
- MD5 key.
- Md5Keychain string
- Authentication MD5 key-chain name.
- Md5Keys
List<Pulumiverse.
Fortios. Router. Ospf. Inputs. Ospfinterface Md5Key> - MD5 key. The structure of
md5_keys
block is documented below. - Mtu int
- MTU for database description packets.
- Mtu
Ignore string - Enable/disable ignore MTU. Valid values:
enable
,disable
. - Name string
- Interface entry name.
- Network
Type string - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - Prefix
Length int - Prefix length.
- Priority int
- Priority.
- Resync
Timeout int - Graceful restart neighbor resynchronization timeout.
- Retransmit
Interval int - Retransmit interval.
- Status string
- Enable/disable status. Valid values:
disable
,enable
. - Transmit
Delay int - Transmit delay.
- 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.
The
md5_keys
block supports:
- Authentication string
- Authentication type.
- Authentication
Key string - Authentication key.
- Bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - Comments string
- Comment.
- Cost int
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- Database
Filter stringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - Dead
Interval int - Dead interval.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Hello
Interval int - Hello interval.
- Hello
Multiplier int - Number of hello packets within dead interval.
- Interface string
- Configuration interface name.
- Ip string
- IP address.
- Keychain string
- Message-digest key-chain name.
- Md5Key string
- MD5 key.
- Md5Keychain string
- Authentication MD5 key-chain name.
- Md5Keys
[]Ospfinterface
Md5Key Args - MD5 key. The structure of
md5_keys
block is documented below. - Mtu int
- MTU for database description packets.
- Mtu
Ignore string - Enable/disable ignore MTU. Valid values:
enable
,disable
. - Name string
- Interface entry name.
- Network
Type string - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - Prefix
Length int - Prefix length.
- Priority int
- Priority.
- Resync
Timeout int - Graceful restart neighbor resynchronization timeout.
- Retransmit
Interval int - Retransmit interval.
- Status string
- Enable/disable status. Valid values:
disable
,enable
. - Transmit
Delay int - Transmit delay.
- 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.
The
md5_keys
block supports:
- authentication String
- Authentication type.
- authentication
Key String - Authentication key.
- bfd String
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - comments String
- Comment.
- cost Integer
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- database
Filter StringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead
Interval Integer - Dead interval.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- hello
Interval Integer - Hello interval.
- hello
Multiplier Integer - Number of hello packets within dead interval.
- interface_ String
- Configuration interface name.
- ip String
- IP address.
- keychain String
- Message-digest key-chain name.
- md5Key String
- MD5 key.
- md5Keychain String
- Authentication MD5 key-chain name.
- md5Keys
List<Ospfinterface
Md5Key> - MD5 key. The structure of
md5_keys
block is documented below. - mtu Integer
- MTU for database description packets.
- mtu
Ignore String - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name String
- Interface entry name.
- network
Type String - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix
Length Integer - Prefix length.
- priority Integer
- Priority.
- resync
Timeout Integer - Graceful restart neighbor resynchronization timeout.
- retransmit
Interval Integer - Retransmit interval.
- status String
- Enable/disable status. Valid values:
disable
,enable
. - transmit
Delay Integer - Transmit delay.
- 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.
The
md5_keys
block supports:
- authentication string
- Authentication type.
- authentication
Key string - Authentication key.
- bfd string
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - comments string
- Comment.
- cost number
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- database
Filter stringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead
Interval number - Dead interval.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- hello
Interval number - Hello interval.
- hello
Multiplier number - Number of hello packets within dead interval.
- interface string
- Configuration interface name.
- ip string
- IP address.
- keychain string
- Message-digest key-chain name.
- md5Key string
- MD5 key.
- md5Keychain string
- Authentication MD5 key-chain name.
- md5Keys
Ospfinterface
Md5Key[] - MD5 key. The structure of
md5_keys
block is documented below. - mtu number
- MTU for database description packets.
- mtu
Ignore string - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name string
- Interface entry name.
- network
Type string - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix
Length number - Prefix length.
- priority number
- Priority.
- resync
Timeout number - Graceful restart neighbor resynchronization timeout.
- retransmit
Interval number - Retransmit interval.
- status string
- Enable/disable status. Valid values:
disable
,enable
. - transmit
Delay number - Transmit delay.
- 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.
The
md5_keys
block supports:
- authentication str
- Authentication type.
- authentication_
key str - Authentication key.
- bfd str
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - comments str
- Comment.
- cost int
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- database_
filter_ strout - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead_
interval int - Dead interval.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- hello_
interval int - Hello interval.
- hello_
multiplier int - Number of hello packets within dead interval.
- interface str
- Configuration interface name.
- ip str
- IP address.
- keychain str
- Message-digest key-chain name.
- md5_
key str - MD5 key.
- md5_
keychain str - Authentication MD5 key-chain name.
- md5_
keys Sequence[OspfinterfaceMd5Key Args] - MD5 key. The structure of
md5_keys
block is documented below. - mtu int
- MTU for database description packets.
- mtu_
ignore str - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name str
- Interface entry name.
- network_
type str - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix_
length int - Prefix length.
- priority int
- Priority.
- resync_
timeout int - Graceful restart neighbor resynchronization timeout.
- retransmit_
interval int - Retransmit interval.
- status str
- Enable/disable status. Valid values:
disable
,enable
. - transmit_
delay int - Transmit delay.
- 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.
The
md5_keys
block supports:
- authentication String
- Authentication type.
- authentication
Key String - Authentication key.
- bfd String
- Bidirectional Forwarding Detection (BFD). Valid values:
global
,enable
,disable
. - comments String
- Comment.
- cost Number
- Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
- database
Filter StringOut - Enable/disable control of flooding out LSAs. Valid values:
enable
,disable
. - dead
Interval Number - Dead interval.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- hello
Interval Number - Hello interval.
- hello
Multiplier Number - Number of hello packets within dead interval.
- interface String
- Configuration interface name.
- ip String
- IP address.
- keychain String
- Message-digest key-chain name.
- md5Key String
- MD5 key.
- md5Keychain String
- Authentication MD5 key-chain name.
- md5Keys List<Property Map>
- MD5 key. The structure of
md5_keys
block is documented below. - mtu Number
- MTU for database description packets.
- mtu
Ignore String - Enable/disable ignore MTU. Valid values:
enable
,disable
. - name String
- Interface entry name.
- network
Type String - Network type. Valid values:
broadcast
,non-broadcast
,point-to-point
,point-to-multipoint
,point-to-multipoint-non-broadcast
. - prefix
Length Number - Prefix length.
- priority Number
- Priority.
- resync
Timeout Number - Graceful restart neighbor resynchronization timeout.
- retransmit
Interval Number - Retransmit interval.
- status String
- Enable/disable status. Valid values:
disable
,enable
. - transmit
Delay Number - Transmit delay.
- 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.
The
md5_keys
block supports:
Supporting Types
OspfinterfaceMd5Key, OspfinterfaceMd5KeyArgs
- id int
- Key ID (1 - 255).
- key_
string str - Password for the key.
Import
Routerospf OspfInterface can be imported using any of these accepted formats:
$ pulumi import fortios:router/ospf/ospfinterface:Ospfinterface labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:router/ospf/ospfinterface:Ospfinterface labelname {{name}}
$ 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.