published on Friday, Jul 31, 2026 by fortinetdev
published on Friday, Jul 31, 2026 by fortinetdev
Create ObjectVpnIpsecFecMappingsSort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectVpnIpsecFecMappingsSort(name: string, args: ObjectVpnIpsecFecMappingsSortArgs, opts?: CustomResourceOptions);@overload
def ObjectVpnIpsecFecMappingsSort(resource_name: str,
args: ObjectVpnIpsecFecMappingsSortArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectVpnIpsecFecMappingsSort(resource_name: str,
opts: Optional[ResourceOptions] = None,
fec: Optional[str] = None,
sortby: Optional[str] = None,
sortdirection: Optional[str] = None,
adom: Optional[str] = None,
comment: Optional[str] = None,
force_recreate: Optional[str] = None,
manual_orders: Optional[Sequence[str]] = None,
object_vpn_ipsec_fec_mappings_sort_id: Optional[str] = None,
scopetype: Optional[str] = None,
status: Optional[str] = None)func NewObjectVpnIpsecFecMappingsSort(ctx *Context, name string, args ObjectVpnIpsecFecMappingsSortArgs, opts ...ResourceOption) (*ObjectVpnIpsecFecMappingsSort, error)public ObjectVpnIpsecFecMappingsSort(string name, ObjectVpnIpsecFecMappingsSortArgs args, CustomResourceOptions? opts = null)
public ObjectVpnIpsecFecMappingsSort(String name, ObjectVpnIpsecFecMappingsSortArgs args)
public ObjectVpnIpsecFecMappingsSort(String name, ObjectVpnIpsecFecMappingsSortArgs args, CustomResourceOptions options)
type: fortimanager:ObjectVpnIpsecFecMappingsSort
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fortimanager_object_vpn_ipsec_fec_mappings_sort" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ObjectVpnIpsecFecMappingsSortArgs
- 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 ObjectVpnIpsecFecMappingsSortArgs
- 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 ObjectVpnIpsecFecMappingsSortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectVpnIpsecFecMappingsSortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectVpnIpsecFecMappingsSortArgs
- 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 objectVpnIpsecFecMappingsSortResource = new Fortimanager.ObjectVpnIpsecFecMappingsSort("objectVpnIpsecFecMappingsSortResource", new()
{
Fec = "string",
Sortby = "string",
Sortdirection = "string",
Adom = "string",
Comment = "string",
ForceRecreate = "string",
ManualOrders = new[]
{
"string",
},
ObjectVpnIpsecFecMappingsSortId = "string",
Scopetype = "string",
Status = "string",
});
example, err := fortimanager.NewObjectVpnIpsecFecMappingsSort(ctx, "objectVpnIpsecFecMappingsSortResource", &fortimanager.ObjectVpnIpsecFecMappingsSortArgs{
Fec: pulumi.String("string"),
Sortby: pulumi.String("string"),
Sortdirection: pulumi.String("string"),
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
ForceRecreate: pulumi.String("string"),
ManualOrders: pulumi.StringArray{
pulumi.String("string"),
},
ObjectVpnIpsecFecMappingsSortId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "fortimanager_object_vpn_ipsec_fec_mappings_sort" "objectVpnIpsecFecMappingsSortResource" {
lifecycle {
create_before_destroy = true
}
fec = "string"
sortby = "string"
sortdirection = "string"
adom = "string"
comment = "string"
force_recreate = "string"
manual_orders = ["string"]
object_vpn_ipsec_fec_mappings_sort_id = "string"
scopetype = "string"
status = "string"
}
var objectVpnIpsecFecMappingsSortResource = new ObjectVpnIpsecFecMappingsSort("objectVpnIpsecFecMappingsSortResource", ObjectVpnIpsecFecMappingsSortArgs.builder()
.fec("string")
.sortby("string")
.sortdirection("string")
.adom("string")
.comment("string")
.forceRecreate("string")
.manualOrders("string")
.objectVpnIpsecFecMappingsSortId("string")
.scopetype("string")
.status("string")
.build());
object_vpn_ipsec_fec_mappings_sort_resource = fortimanager.ObjectVpnIpsecFecMappingsSort("objectVpnIpsecFecMappingsSortResource",
fec="string",
sortby="string",
sortdirection="string",
adom="string",
comment="string",
force_recreate="string",
manual_orders=["string"],
object_vpn_ipsec_fec_mappings_sort_id="string",
scopetype="string",
status="string")
const objectVpnIpsecFecMappingsSortResource = new fortimanager.ObjectVpnIpsecFecMappingsSort("objectVpnIpsecFecMappingsSortResource", {
fec: "string",
sortby: "string",
sortdirection: "string",
adom: "string",
comment: "string",
forceRecreate: "string",
manualOrders: ["string"],
objectVpnIpsecFecMappingsSortId: "string",
scopetype: "string",
status: "string",
});
type: fortimanager:ObjectVpnIpsecFecMappingsSort
properties:
adom: string
comment: string
fec: string
forceRecreate: string
manualOrders:
- string
objectVpnIpsecFecMappingsSortId: string
scopetype: string
sortby: string
sortdirection: string
status: string
ObjectVpnIpsecFecMappingsSort 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 ObjectVpnIpsecFecMappingsSort resource accepts the following input properties:
- Fec string
- Sortby string
- Sortdirection string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders List<string> - Object
Vpn stringIpsec Fec Mappings Sort Id - Scopetype string
- Status string
- Fec string
- Sortby string
- Sortdirection string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders []string - Object
Vpn stringIpsec Fec Mappings Sort Id - Scopetype string
- Status string
- fec string
- sortby string
- sortdirection string
- adom string
- comment string
- force_
recreate string - manual_
orders list(string) - object_
vpn_ stringipsec_ fec_ mappings_ sort_ id - scopetype string
- status string
- fec String
- sortby String
- sortdirection String
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - object
Vpn StringIpsec Fec Mappings Sort Id - scopetype String
- status String
- fec string
- sortby string
- sortdirection string
- adom string
- comment string
- force
Recreate string - manual
Orders string[] - object
Vpn stringIpsec Fec Mappings Sort Id - scopetype string
- status string
- fec str
- sortby str
- sortdirection str
- adom str
- comment str
- force_
recreate str - manual_
orders Sequence[str] - object_
vpn_ stripsec_ fec_ mappings_ sort_ id - scopetype str
- status str
- fec String
- sortby String
- sortdirection String
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - object
Vpn StringIpsec Fec Mappings Sort Id - scopetype String
- status String
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectVpnIpsecFecMappingsSort resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Lists List<ObjectVpn Ipsec Fec Mappings Sort State List>
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Lists []ObjectVpn Ipsec Fec Mappings Sort State List
- id string
- The provider-assigned unique ID for this managed resource.
- state_
lists list(object)
- id String
- The provider-assigned unique ID for this managed resource.
- state
Lists List<ObjectVpn Ipsec Fec Mappings Sort State List>
- id string
- The provider-assigned unique ID for this managed resource.
- state
Lists ObjectVpn Ipsec Fec Mappings Sort State List[]
- id str
- The provider-assigned unique ID for this managed resource.
- state_
lists Sequence[ObjectVpn Ipsec Fec Mappings Sort State List]
- id String
- The provider-assigned unique ID for this managed resource.
- state
Lists List<Property Map>
Look up Existing ObjectVpnIpsecFecMappingsSort Resource
Get an existing ObjectVpnIpsecFecMappingsSort 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?: ObjectVpnIpsecFecMappingsSortState, opts?: CustomResourceOptions): ObjectVpnIpsecFecMappingsSort@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
comment: Optional[str] = None,
fec: Optional[str] = None,
force_recreate: Optional[str] = None,
manual_orders: Optional[Sequence[str]] = None,
object_vpn_ipsec_fec_mappings_sort_id: Optional[str] = None,
scopetype: Optional[str] = None,
sortby: Optional[str] = None,
sortdirection: Optional[str] = None,
state_lists: Optional[Sequence[ObjectVpnIpsecFecMappingsSortStateListArgs]] = None,
status: Optional[str] = None) -> ObjectVpnIpsecFecMappingsSortfunc GetObjectVpnIpsecFecMappingsSort(ctx *Context, name string, id IDInput, state *ObjectVpnIpsecFecMappingsSortState, opts ...ResourceOption) (*ObjectVpnIpsecFecMappingsSort, error)public static ObjectVpnIpsecFecMappingsSort Get(string name, Input<string> id, ObjectVpnIpsecFecMappingsSortState? state, CustomResourceOptions? opts = null)public static ObjectVpnIpsecFecMappingsSort get(String name, Output<String> id, ObjectVpnIpsecFecMappingsSortState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectVpnIpsecFecMappingsSort get: id: ${id}import {
to = fortimanager_object_vpn_ipsec_fec_mappings_sort.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
- Comment string
- Fec string
- Force
Recreate string - Manual
Orders List<string> - Object
Vpn stringIpsec Fec Mappings Sort Id - Scopetype string
- Sortby string
- Sortdirection string
- State
Lists List<ObjectVpn Ipsec Fec Mappings Sort State List> - Status string
- Adom string
- Comment string
- Fec string
- Force
Recreate string - Manual
Orders []string - Object
Vpn stringIpsec Fec Mappings Sort Id - Scopetype string
- Sortby string
- Sortdirection string
- State
Lists []ObjectVpn Ipsec Fec Mappings Sort State List Args - Status string
- adom string
- comment string
- fec string
- force_
recreate string - manual_
orders list(string) - object_
vpn_ stringipsec_ fec_ mappings_ sort_ id - scopetype string
- sortby string
- sortdirection string
- state_
lists list(object) - status string
- adom String
- comment String
- fec String
- force
Recreate String - manual
Orders List<String> - object
Vpn StringIpsec Fec Mappings Sort Id - scopetype String
- sortby String
- sortdirection String
- state
Lists List<ObjectVpn Ipsec Fec Mappings Sort State List> - status String
- adom string
- comment string
- fec string
- force
Recreate string - manual
Orders string[] - object
Vpn stringIpsec Fec Mappings Sort Id - scopetype string
- sortby string
- sortdirection string
- state
Lists ObjectVpn Ipsec Fec Mappings Sort State List[] - status string
- adom str
- comment str
- fec str
- force_
recreate str - manual_
orders Sequence[str] - object_
vpn_ stripsec_ fec_ mappings_ sort_ id - scopetype str
- sortby str
- sortdirection str
- state_
lists Sequence[ObjectVpn Ipsec Fec Mappings Sort State List Args] - status str
- adom String
- comment String
- fec String
- force
Recreate String - manual
Orders List<String> - object
Vpn StringIpsec Fec Mappings Sort Id - scopetype String
- sortby String
- sortdirection String
- state
Lists List<Property Map> - status String
Supporting Types
ObjectVpnIpsecFecMappingsSortStateList, ObjectVpnIpsecFecMappingsSortStateListArgs
- Seqno string
- Seqno string
- seqno string
- seqno String
- seqno string
- seqno str
- seqno String
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