published on Friday, Jul 31, 2026 by fortinetdev
published on Friday, Jul 31, 2026 by fortinetdev
FEC redundancy mapping table for specific type of service (TOS).
This resource is a sub resource for variable
tosof resourcefortimanager.ObjectVpnIpsecFecMappings. Conflict and overwrite may occur if use both of them.
Create ObjectVpnIpsecFecMappingsTos Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectVpnIpsecFecMappingsTos(name: string, args: ObjectVpnIpsecFecMappingsTosArgs, opts?: CustomResourceOptions);@overload
def ObjectVpnIpsecFecMappingsTos(resource_name: str,
args: ObjectVpnIpsecFecMappingsTosArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectVpnIpsecFecMappingsTos(resource_name: str,
opts: Optional[ResourceOptions] = None,
fec: Optional[str] = None,
mappings: Optional[str] = None,
adom: Optional[str] = None,
base: Optional[float] = None,
object_vpn_ipsec_fec_mappings_tos_id: Optional[str] = None,
redundant: Optional[float] = None,
scopetype: Optional[str] = None,
seqno: Optional[float] = None,
tos: Optional[str] = None,
tos_mask: Optional[str] = None,
update_if_exist: Optional[bool] = None)func NewObjectVpnIpsecFecMappingsTos(ctx *Context, name string, args ObjectVpnIpsecFecMappingsTosArgs, opts ...ResourceOption) (*ObjectVpnIpsecFecMappingsTos, error)public ObjectVpnIpsecFecMappingsTos(string name, ObjectVpnIpsecFecMappingsTosArgs args, CustomResourceOptions? opts = null)
public ObjectVpnIpsecFecMappingsTos(String name, ObjectVpnIpsecFecMappingsTosArgs args)
public ObjectVpnIpsecFecMappingsTos(String name, ObjectVpnIpsecFecMappingsTosArgs args, CustomResourceOptions options)
type: fortimanager:ObjectVpnIpsecFecMappingsTos
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fortimanager_object_vpn_ipsec_fec_mappings_tos" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ObjectVpnIpsecFecMappingsTosArgs
- 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 ObjectVpnIpsecFecMappingsTosArgs
- 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 ObjectVpnIpsecFecMappingsTosArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectVpnIpsecFecMappingsTosArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectVpnIpsecFecMappingsTosArgs
- 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 objectVpnIpsecFecMappingsTosResource = new Fortimanager.ObjectVpnIpsecFecMappingsTos("objectVpnIpsecFecMappingsTosResource", new()
{
Fec = "string",
Mappings = "string",
Adom = "string",
Base = 0,
ObjectVpnIpsecFecMappingsTosId = "string",
Redundant = 0,
Scopetype = "string",
Seqno = 0,
Tos = "string",
TosMask = "string",
UpdateIfExist = false,
});
example, err := fortimanager.NewObjectVpnIpsecFecMappingsTos(ctx, "objectVpnIpsecFecMappingsTosResource", &fortimanager.ObjectVpnIpsecFecMappingsTosArgs{
Fec: pulumi.String("string"),
Mappings: pulumi.String("string"),
Adom: pulumi.String("string"),
Base: pulumi.Float64(0),
ObjectVpnIpsecFecMappingsTosId: pulumi.String("string"),
Redundant: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
Seqno: pulumi.Float64(0),
Tos: pulumi.String("string"),
TosMask: pulumi.String("string"),
UpdateIfExist: pulumi.Bool(false),
})
resource "fortimanager_object_vpn_ipsec_fec_mappings_tos" "objectVpnIpsecFecMappingsTosResource" {
lifecycle {
create_before_destroy = true
}
fec = "string"
mappings = "string"
adom = "string"
base = 0
object_vpn_ipsec_fec_mappings_tos_id = "string"
redundant = 0
scopetype = "string"
seqno = 0
tos = "string"
tos_mask = "string"
update_if_exist = false
}
var objectVpnIpsecFecMappingsTosResource = new ObjectVpnIpsecFecMappingsTos("objectVpnIpsecFecMappingsTosResource", ObjectVpnIpsecFecMappingsTosArgs.builder()
.fec("string")
.mappings("string")
.adom("string")
.base(0.0)
.objectVpnIpsecFecMappingsTosId("string")
.redundant(0.0)
.scopetype("string")
.seqno(0.0)
.tos("string")
.tosMask("string")
.updateIfExist(false)
.build());
object_vpn_ipsec_fec_mappings_tos_resource = fortimanager.ObjectVpnIpsecFecMappingsTos("objectVpnIpsecFecMappingsTosResource",
fec="string",
mappings="string",
adom="string",
base=float(0),
object_vpn_ipsec_fec_mappings_tos_id="string",
redundant=float(0),
scopetype="string",
seqno=float(0),
tos="string",
tos_mask="string",
update_if_exist=False)
const objectVpnIpsecFecMappingsTosResource = new fortimanager.ObjectVpnIpsecFecMappingsTos("objectVpnIpsecFecMappingsTosResource", {
fec: "string",
mappings: "string",
adom: "string",
base: 0,
objectVpnIpsecFecMappingsTosId: "string",
redundant: 0,
scopetype: "string",
seqno: 0,
tos: "string",
tosMask: "string",
updateIfExist: false,
});
type: fortimanager:ObjectVpnIpsecFecMappingsTos
properties:
adom: string
base: 0
fec: string
mappings: string
objectVpnIpsecFecMappingsTosId: string
redundant: 0
scopetype: string
seqno: 0
tos: string
tosMask: string
updateIfExist: false
ObjectVpnIpsecFecMappingsTos 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 ObjectVpnIpsecFecMappingsTos resource accepts the following input properties:
- Fec string
- Fec.
- Mappings string
- Mappings.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Base double
- Number of base FEC packets (1 - 40).
- Object
Vpn stringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- Redundant double
- Number of redundant FEC packets (0 - 20).
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Seqno double
- Sequence number (1 - 8).
- Tos string
- Type of service bit pattern.
- Tos
Mask string - Type of service evaluated bits.
- Update
If boolExist
- Fec string
- Fec.
- Mappings string
- Mappings.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Base float64
- Number of base FEC packets (1 - 40).
- Object
Vpn stringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- Redundant float64
- Number of redundant FEC packets (0 - 20).
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Seqno float64
- Sequence number (1 - 8).
- Tos string
- Type of service bit pattern.
- Tos
Mask string - Type of service evaluated bits.
- Update
If boolExist
- fec string
- Fec.
- mappings string
- Mappings.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base number
- Number of base FEC packets (1 - 40).
- object_
vpn_ stringipsec_ fec_ mappings_ tos_ id - an identifier for the resource with format {{seqno}}.
- redundant number
- Number of redundant FEC packets (0 - 20).
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno number
- Sequence number (1 - 8).
- tos string
- Type of service bit pattern.
- tos_
mask string - Type of service evaluated bits.
- update_
if_ boolexist
- fec String
- Fec.
- mappings String
- Mappings.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base Double
- Number of base FEC packets (1 - 40).
- object
Vpn StringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- redundant Double
- Number of redundant FEC packets (0 - 20).
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno Double
- Sequence number (1 - 8).
- tos String
- Type of service bit pattern.
- tos
Mask String - Type of service evaluated bits.
- update
If BooleanExist
- fec string
- Fec.
- mappings string
- Mappings.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base number
- Number of base FEC packets (1 - 40).
- object
Vpn stringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- redundant number
- Number of redundant FEC packets (0 - 20).
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno number
- Sequence number (1 - 8).
- tos string
- Type of service bit pattern.
- tos
Mask string - Type of service evaluated bits.
- update
If booleanExist
- fec str
- Fec.
- mappings str
- Mappings.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base float
- Number of base FEC packets (1 - 40).
- object_
vpn_ stripsec_ fec_ mappings_ tos_ id - an identifier for the resource with format {{seqno}}.
- redundant float
- Number of redundant FEC packets (0 - 20).
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno float
- Sequence number (1 - 8).
- tos str
- Type of service bit pattern.
- tos_
mask str - Type of service evaluated bits.
- update_
if_ boolexist
- fec String
- Fec.
- mappings String
- Mappings.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base Number
- Number of base FEC packets (1 - 40).
- object
Vpn StringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- redundant Number
- Number of redundant FEC packets (0 - 20).
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno Number
- Sequence number (1 - 8).
- tos String
- Type of service bit pattern.
- tos
Mask String - Type of service evaluated bits.
- update
If BooleanExist
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectVpnIpsecFecMappingsTos 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 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 ObjectVpnIpsecFecMappingsTos Resource
Get an existing ObjectVpnIpsecFecMappingsTos 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?: ObjectVpnIpsecFecMappingsTosState, opts?: CustomResourceOptions): ObjectVpnIpsecFecMappingsTos@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
base: Optional[float] = None,
fec: Optional[str] = None,
mappings: Optional[str] = None,
object_vpn_ipsec_fec_mappings_tos_id: Optional[str] = None,
redundant: Optional[float] = None,
scopetype: Optional[str] = None,
seqno: Optional[float] = None,
tos: Optional[str] = None,
tos_mask: Optional[str] = None,
update_if_exist: Optional[bool] = None) -> ObjectVpnIpsecFecMappingsTosfunc GetObjectVpnIpsecFecMappingsTos(ctx *Context, name string, id IDInput, state *ObjectVpnIpsecFecMappingsTosState, opts ...ResourceOption) (*ObjectVpnIpsecFecMappingsTos, error)public static ObjectVpnIpsecFecMappingsTos Get(string name, Input<string> id, ObjectVpnIpsecFecMappingsTosState? state, CustomResourceOptions? opts = null)public static ObjectVpnIpsecFecMappingsTos get(String name, Output<String> id, ObjectVpnIpsecFecMappingsTosState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectVpnIpsecFecMappingsTos get: id: ${id}import {
to = fortimanager_object_vpn_ipsec_fec_mappings_tos.example
id = "${id}"
}
- 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Base double
- Number of base FEC packets (1 - 40).
- Fec string
- Fec.
- Mappings string
- Mappings.
- Object
Vpn stringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- Redundant double
- Number of redundant FEC packets (0 - 20).
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Seqno double
- Sequence number (1 - 8).
- Tos string
- Type of service bit pattern.
- Tos
Mask string - Type of service evaluated bits.
- Update
If boolExist
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Base float64
- Number of base FEC packets (1 - 40).
- Fec string
- Fec.
- Mappings string
- Mappings.
- Object
Vpn stringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- Redundant float64
- Number of redundant FEC packets (0 - 20).
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Seqno float64
- Sequence number (1 - 8).
- Tos string
- Type of service bit pattern.
- Tos
Mask string - Type of service evaluated bits.
- Update
If boolExist
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base number
- Number of base FEC packets (1 - 40).
- fec string
- Fec.
- mappings string
- Mappings.
- object_
vpn_ stringipsec_ fec_ mappings_ tos_ id - an identifier for the resource with format {{seqno}}.
- redundant number
- Number of redundant FEC packets (0 - 20).
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno number
- Sequence number (1 - 8).
- tos string
- Type of service bit pattern.
- tos_
mask string - Type of service evaluated bits.
- update_
if_ boolexist
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base Double
- Number of base FEC packets (1 - 40).
- fec String
- Fec.
- mappings String
- Mappings.
- object
Vpn StringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- redundant Double
- Number of redundant FEC packets (0 - 20).
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno Double
- Sequence number (1 - 8).
- tos String
- Type of service bit pattern.
- tos
Mask String - Type of service evaluated bits.
- update
If BooleanExist
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base number
- Number of base FEC packets (1 - 40).
- fec string
- Fec.
- mappings string
- Mappings.
- object
Vpn stringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- redundant number
- Number of redundant FEC packets (0 - 20).
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno number
- Sequence number (1 - 8).
- tos string
- Type of service bit pattern.
- tos
Mask string - Type of service evaluated bits.
- update
If booleanExist
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base float
- Number of base FEC packets (1 - 40).
- fec str
- Fec.
- mappings str
- Mappings.
- object_
vpn_ stripsec_ fec_ mappings_ tos_ id - an identifier for the resource with format {{seqno}}.
- redundant float
- Number of redundant FEC packets (0 - 20).
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno float
- Sequence number (1 - 8).
- tos str
- Type of service bit pattern.
- tos_
mask str - Type of service evaluated bits.
- update_
if_ boolexist
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - base Number
- Number of base FEC packets (1 - 40).
- fec String
- Fec.
- mappings String
- Mappings.
- object
Vpn StringIpsec Fec Mappings Tos Id - an identifier for the resource with format {{seqno}}.
- redundant Number
- Number of redundant FEC packets (0 - 20).
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - seqno Number
- Sequence number (1 - 8).
- tos String
- Type of service bit pattern.
- tos
Mask String - Type of service evaluated bits.
- update
If BooleanExist
Import
ObjectVpn IpsecFecMappingsTos can be imported using any of these accepted formats:
Set import_options = [“fec=YOUR_VALUE”, “mappings=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectVpnIpsecFecMappingsTos:ObjectVpnIpsecFecMappingsTos labelname {{seqno}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the
fortimanagerTerraform Provider.
published on Friday, Jul 31, 2026 by fortinetdev