published on Friday, Jul 31, 2026 by fortinetdev
published on Friday, Jul 31, 2026 by fortinetdev
Create ObjectVpnIpsecFecMappingsTosMove Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectVpnIpsecFecMappingsTosMove(name: string, args: ObjectVpnIpsecFecMappingsTosMoveArgs, opts?: CustomResourceOptions);@overload
def ObjectVpnIpsecFecMappingsTosMove(resource_name: str,
args: ObjectVpnIpsecFecMappingsTosMoveArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectVpnIpsecFecMappingsTosMove(resource_name: str,
opts: Optional[ResourceOptions] = None,
fec: Optional[str] = None,
mappings: Optional[str] = None,
option: Optional[str] = None,
target: Optional[str] = None,
tos: Optional[str] = None,
adom: Optional[str] = None,
object_vpn_ipsec_fec_mappings_tos_move_id: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None)func NewObjectVpnIpsecFecMappingsTosMove(ctx *Context, name string, args ObjectVpnIpsecFecMappingsTosMoveArgs, opts ...ResourceOption) (*ObjectVpnIpsecFecMappingsTosMove, error)public ObjectVpnIpsecFecMappingsTosMove(string name, ObjectVpnIpsecFecMappingsTosMoveArgs args, CustomResourceOptions? opts = null)
public ObjectVpnIpsecFecMappingsTosMove(String name, ObjectVpnIpsecFecMappingsTosMoveArgs args)
public ObjectVpnIpsecFecMappingsTosMove(String name, ObjectVpnIpsecFecMappingsTosMoveArgs args, CustomResourceOptions options)
type: fortimanager:ObjectVpnIpsecFecMappingsTosMove
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fortimanager_object_vpn_ipsec_fec_mappings_tos_move" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ObjectVpnIpsecFecMappingsTosMoveArgs
- 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 ObjectVpnIpsecFecMappingsTosMoveArgs
- 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 ObjectVpnIpsecFecMappingsTosMoveArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectVpnIpsecFecMappingsTosMoveArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectVpnIpsecFecMappingsTosMoveArgs
- 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 objectVpnIpsecFecMappingsTosMoveResource = new Fortimanager.ObjectVpnIpsecFecMappingsTosMove("objectVpnIpsecFecMappingsTosMoveResource", new()
{
Fec = "string",
Mappings = "string",
Option = "string",
Target = "string",
Tos = "string",
Adom = "string",
ObjectVpnIpsecFecMappingsTosMoveId = "string",
Scopetype = "string",
StatePos = "string",
});
example, err := fortimanager.NewObjectVpnIpsecFecMappingsTosMove(ctx, "objectVpnIpsecFecMappingsTosMoveResource", &fortimanager.ObjectVpnIpsecFecMappingsTosMoveArgs{
Fec: pulumi.String("string"),
Mappings: pulumi.String("string"),
Option: pulumi.String("string"),
Target: pulumi.String("string"),
Tos: pulumi.String("string"),
Adom: pulumi.String("string"),
ObjectVpnIpsecFecMappingsTosMoveId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
StatePos: pulumi.String("string"),
})
resource "fortimanager_object_vpn_ipsec_fec_mappings_tos_move" "objectVpnIpsecFecMappingsTosMoveResource" {
lifecycle {
create_before_destroy = true
}
fec = "string"
mappings = "string"
option = "string"
target = "string"
tos = "string"
adom = "string"
object_vpn_ipsec_fec_mappings_tos_move_id = "string"
scopetype = "string"
state_pos = "string"
}
var objectVpnIpsecFecMappingsTosMoveResource = new ObjectVpnIpsecFecMappingsTosMove("objectVpnIpsecFecMappingsTosMoveResource", ObjectVpnIpsecFecMappingsTosMoveArgs.builder()
.fec("string")
.mappings("string")
.option("string")
.target("string")
.tos("string")
.adom("string")
.objectVpnIpsecFecMappingsTosMoveId("string")
.scopetype("string")
.statePos("string")
.build());
object_vpn_ipsec_fec_mappings_tos_move_resource = fortimanager.ObjectVpnIpsecFecMappingsTosMove("objectVpnIpsecFecMappingsTosMoveResource",
fec="string",
mappings="string",
option="string",
target="string",
tos="string",
adom="string",
object_vpn_ipsec_fec_mappings_tos_move_id="string",
scopetype="string",
state_pos="string")
const objectVpnIpsecFecMappingsTosMoveResource = new fortimanager.ObjectVpnIpsecFecMappingsTosMove("objectVpnIpsecFecMappingsTosMoveResource", {
fec: "string",
mappings: "string",
option: "string",
target: "string",
tos: "string",
adom: "string",
objectVpnIpsecFecMappingsTosMoveId: "string",
scopetype: "string",
statePos: "string",
});
type: fortimanager:ObjectVpnIpsecFecMappingsTosMove
properties:
adom: string
fec: string
mappings: string
objectVpnIpsecFecMappingsTosMoveId: string
option: string
scopetype: string
statePos: string
target: string
tos: string
ObjectVpnIpsecFecMappingsTosMove 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 ObjectVpnIpsecFecMappingsTosMove resource accepts the following input properties:
- Fec string
- Fec.
- Mappings string
- Mappings.
- Option string
- Option. Valid values:
before,after. - Target string
- Key to the target entry.
- Tos string
- Tos.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Object
Vpn stringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- 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. - State
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- Fec string
- Fec.
- Mappings string
- Mappings.
- Option string
- Option. Valid values:
before,after. - Target string
- Key to the target entry.
- Tos string
- Tos.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Object
Vpn stringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- 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. - State
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- fec string
- Fec.
- mappings string
- Mappings.
- option string
- Option. Valid values:
before,after. - target string
- Key to the target entry.
- tos string
- Tos.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - object_
vpn_ stringipsec_ fec_ mappings_ tos_ move_ id - an identifier for the resource with format {{seqno}}.
- 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. - state_
pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- fec String
- Fec.
- mappings String
- Mappings.
- option String
- Option. Valid values:
before,after. - target String
- Key to the target entry.
- tos String
- Tos.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - object
Vpn StringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- 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. - state
Pos String - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- fec string
- Fec.
- mappings string
- Mappings.
- option string
- Option. Valid values:
before,after. - target string
- Key to the target entry.
- tos string
- Tos.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - object
Vpn stringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- 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. - state
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- fec str
- Fec.
- mappings str
- Mappings.
- option str
- Option. Valid values:
before,after. - target str
- Key to the target entry.
- tos str
- Tos.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - object_
vpn_ stripsec_ fec_ mappings_ tos_ move_ id - an identifier for the resource with format {{seqno}}.
- 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. - state_
pos str - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- fec String
- Fec.
- mappings String
- Mappings.
- option String
- Option. Valid values:
before,after. - target String
- Key to the target entry.
- tos String
- Tos.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - object
Vpn StringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- 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. - state
Pos String - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectVpnIpsecFecMappingsTosMove 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 ObjectVpnIpsecFecMappingsTosMove Resource
Get an existing ObjectVpnIpsecFecMappingsTosMove 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?: ObjectVpnIpsecFecMappingsTosMoveState, opts?: CustomResourceOptions): ObjectVpnIpsecFecMappingsTosMove@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
fec: Optional[str] = None,
mappings: Optional[str] = None,
object_vpn_ipsec_fec_mappings_tos_move_id: Optional[str] = None,
option: Optional[str] = None,
scopetype: Optional[str] = None,
state_pos: Optional[str] = None,
target: Optional[str] = None,
tos: Optional[str] = None) -> ObjectVpnIpsecFecMappingsTosMovefunc GetObjectVpnIpsecFecMappingsTosMove(ctx *Context, name string, id IDInput, state *ObjectVpnIpsecFecMappingsTosMoveState, opts ...ResourceOption) (*ObjectVpnIpsecFecMappingsTosMove, error)public static ObjectVpnIpsecFecMappingsTosMove Get(string name, Input<string> id, ObjectVpnIpsecFecMappingsTosMoveState? state, CustomResourceOptions? opts = null)public static ObjectVpnIpsecFecMappingsTosMove get(String name, Output<String> id, ObjectVpnIpsecFecMappingsTosMoveState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectVpnIpsecFecMappingsTosMove get: id: ${id}import {
to = fortimanager_object_vpn_ipsec_fec_mappings_tos_move.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. - Fec string
- Fec.
- Mappings string
- Mappings.
- Object
Vpn stringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- Option string
- Option. Valid values:
before,after. - 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. - State
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- Target string
- Key to the target entry.
- Tos string
- Tos.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Fec string
- Fec.
- Mappings string
- Mappings.
- Object
Vpn stringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- Option string
- Option. Valid values:
before,after. - 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. - State
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- Target string
- Key to the target entry.
- Tos string
- Tos.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fec string
- Fec.
- mappings string
- Mappings.
- object_
vpn_ stringipsec_ fec_ mappings_ tos_ move_ id - an identifier for the resource with format {{seqno}}.
- option string
- Option. Valid values:
before,after. - 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. - state_
pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target string
- Key to the target entry.
- tos string
- Tos.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fec String
- Fec.
- mappings String
- Mappings.
- object
Vpn StringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- option String
- Option. Valid values:
before,after. - 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. - state
Pos String - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target String
- Key to the target entry.
- tos String
- Tos.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fec string
- Fec.
- mappings string
- Mappings.
- object
Vpn stringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- option string
- Option. Valid values:
before,after. - 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. - state
Pos string - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target string
- Key to the target entry.
- tos string
- Tos.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fec str
- Fec.
- mappings str
- Mappings.
- object_
vpn_ stripsec_ fec_ mappings_ tos_ move_ id - an identifier for the resource with format {{seqno}}.
- option str
- Option. Valid values:
before,after. - 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. - state_
pos str - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target str
- Key to the target entry.
- tos str
- Tos.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fec String
- Fec.
- mappings String
- Mappings.
- object
Vpn StringIpsec Fec Mappings Tos Move Id - an identifier for the resource with format {{seqno}}.
- option String
- Option. Valid values:
before,after. - 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. - state
Pos String - The parameter is read-only, it is used to get the lastest relative position of the two items. This can help check whether the latest relative position of the two items matches the configuration, and help check whether they have been deleted. If the latest relative position of the two items matches the configuration, the value of state_pos is an empty string.
- target String
- Key to the target entry.
- tos String
- Tos.
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