published on Friday, Jul 31, 2026 by fortinetdev
published on Friday, Jul 31, 2026 by fortinetdev
Create ObjectEmailfilterBlockallowlistEntriesSort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectEmailfilterBlockallowlistEntriesSort(name: string, args: ObjectEmailfilterBlockallowlistEntriesSortArgs, opts?: CustomResourceOptions);@overload
def ObjectEmailfilterBlockallowlistEntriesSort(resource_name: str,
args: ObjectEmailfilterBlockallowlistEntriesSortArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectEmailfilterBlockallowlistEntriesSort(resource_name: str,
opts: Optional[ResourceOptions] = None,
block_allow_list: 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_emailfilter_blockallowlist_entries_sort_id: Optional[str] = None,
scopetype: Optional[str] = None,
status: Optional[str] = None)func NewObjectEmailfilterBlockallowlistEntriesSort(ctx *Context, name string, args ObjectEmailfilterBlockallowlistEntriesSortArgs, opts ...ResourceOption) (*ObjectEmailfilterBlockallowlistEntriesSort, error)public ObjectEmailfilterBlockallowlistEntriesSort(string name, ObjectEmailfilterBlockallowlistEntriesSortArgs args, CustomResourceOptions? opts = null)
public ObjectEmailfilterBlockallowlistEntriesSort(String name, ObjectEmailfilterBlockallowlistEntriesSortArgs args)
public ObjectEmailfilterBlockallowlistEntriesSort(String name, ObjectEmailfilterBlockallowlistEntriesSortArgs args, CustomResourceOptions options)
type: fortimanager:ObjectEmailfilterBlockallowlistEntriesSort
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fortimanager_object_emailfilter_blockallowlist_entries_sort" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ObjectEmailfilterBlockallowlistEntriesSortArgs
- 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 ObjectEmailfilterBlockallowlistEntriesSortArgs
- 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 ObjectEmailfilterBlockallowlistEntriesSortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectEmailfilterBlockallowlistEntriesSortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectEmailfilterBlockallowlistEntriesSortArgs
- 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 objectEmailfilterBlockallowlistEntriesSortResource = new Fortimanager.ObjectEmailfilterBlockallowlistEntriesSort("objectEmailfilterBlockallowlistEntriesSortResource", new()
{
BlockAllowList = "string",
Sortby = "string",
Sortdirection = "string",
Adom = "string",
Comment = "string",
ForceRecreate = "string",
ManualOrders = new[]
{
"string",
},
ObjectEmailfilterBlockallowlistEntriesSortId = "string",
Scopetype = "string",
Status = "string",
});
example, err := fortimanager.NewObjectEmailfilterBlockallowlistEntriesSort(ctx, "objectEmailfilterBlockallowlistEntriesSortResource", &fortimanager.ObjectEmailfilterBlockallowlistEntriesSortArgs{
BlockAllowList: 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"),
},
ObjectEmailfilterBlockallowlistEntriesSortId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "fortimanager_object_emailfilter_blockallowlist_entries_sort" "objectEmailfilterBlockallowlistEntriesSortResource" {
lifecycle {
create_before_destroy = true
}
block_allow_list = "string"
sortby = "string"
sortdirection = "string"
adom = "string"
comment = "string"
force_recreate = "string"
manual_orders = ["string"]
object_emailfilter_blockallowlist_entries_sort_id = "string"
scopetype = "string"
status = "string"
}
var objectEmailfilterBlockallowlistEntriesSortResource = new ObjectEmailfilterBlockallowlistEntriesSort("objectEmailfilterBlockallowlistEntriesSortResource", ObjectEmailfilterBlockallowlistEntriesSortArgs.builder()
.blockAllowList("string")
.sortby("string")
.sortdirection("string")
.adom("string")
.comment("string")
.forceRecreate("string")
.manualOrders("string")
.objectEmailfilterBlockallowlistEntriesSortId("string")
.scopetype("string")
.status("string")
.build());
object_emailfilter_blockallowlist_entries_sort_resource = fortimanager.ObjectEmailfilterBlockallowlistEntriesSort("objectEmailfilterBlockallowlistEntriesSortResource",
block_allow_list="string",
sortby="string",
sortdirection="string",
adom="string",
comment="string",
force_recreate="string",
manual_orders=["string"],
object_emailfilter_blockallowlist_entries_sort_id="string",
scopetype="string",
status="string")
const objectEmailfilterBlockallowlistEntriesSortResource = new fortimanager.ObjectEmailfilterBlockallowlistEntriesSort("objectEmailfilterBlockallowlistEntriesSortResource", {
blockAllowList: "string",
sortby: "string",
sortdirection: "string",
adom: "string",
comment: "string",
forceRecreate: "string",
manualOrders: ["string"],
objectEmailfilterBlockallowlistEntriesSortId: "string",
scopetype: "string",
status: "string",
});
type: fortimanager:ObjectEmailfilterBlockallowlistEntriesSort
properties:
adom: string
blockAllowList: string
comment: string
forceRecreate: string
manualOrders:
- string
objectEmailfilterBlockallowlistEntriesSortId: string
scopetype: string
sortby: string
sortdirection: string
status: string
ObjectEmailfilterBlockallowlistEntriesSort 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 ObjectEmailfilterBlockallowlistEntriesSort resource accepts the following input properties:
- Block
Allow stringList - Sortby string
- Sortdirection string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders List<string> - Object
Emailfilter stringBlockallowlist Entries Sort Id - Scopetype string
- Status string
- Block
Allow stringList - Sortby string
- Sortdirection string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders []string - Object
Emailfilter stringBlockallowlist Entries Sort Id - Scopetype string
- Status string
- block_
allow_ stringlist - sortby string
- sortdirection string
- adom string
- comment string
- force_
recreate string - manual_
orders list(string) - object_
emailfilter_ stringblockallowlist_ entries_ sort_ id - scopetype string
- status string
- block
Allow StringList - sortby String
- sortdirection String
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - object
Emailfilter StringBlockallowlist Entries Sort Id - scopetype String
- status String
- block
Allow stringList - sortby string
- sortdirection string
- adom string
- comment string
- force
Recreate string - manual
Orders string[] - object
Emailfilter stringBlockallowlist Entries Sort Id - scopetype string
- status string
- block_
allow_ strlist - sortby str
- sortdirection str
- adom str
- comment str
- force_
recreate str - manual_
orders Sequence[str] - object_
emailfilter_ strblockallowlist_ entries_ sort_ id - scopetype str
- status str
- block
Allow StringList - sortby String
- sortdirection String
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - object
Emailfilter StringBlockallowlist Entries Sort Id - scopetype String
- status String
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectEmailfilterBlockallowlistEntriesSort resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Lists List<ObjectEmailfilter Blockallowlist Entries Sort State List>
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Lists []ObjectEmailfilter Blockallowlist Entries 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<ObjectEmailfilter Blockallowlist Entries Sort State List>
- id string
- The provider-assigned unique ID for this managed resource.
- state
Lists ObjectEmailfilter Blockallowlist Entries Sort State List[]
- id str
- The provider-assigned unique ID for this managed resource.
- state_
lists Sequence[ObjectEmailfilter Blockallowlist Entries Sort State List]
- id String
- The provider-assigned unique ID for this managed resource.
- state
Lists List<Property Map>
Look up Existing ObjectEmailfilterBlockallowlistEntriesSort Resource
Get an existing ObjectEmailfilterBlockallowlistEntriesSort 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?: ObjectEmailfilterBlockallowlistEntriesSortState, opts?: CustomResourceOptions): ObjectEmailfilterBlockallowlistEntriesSort@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
block_allow_list: Optional[str] = None,
comment: Optional[str] = None,
force_recreate: Optional[str] = None,
manual_orders: Optional[Sequence[str]] = None,
object_emailfilter_blockallowlist_entries_sort_id: Optional[str] = None,
scopetype: Optional[str] = None,
sortby: Optional[str] = None,
sortdirection: Optional[str] = None,
state_lists: Optional[Sequence[ObjectEmailfilterBlockallowlistEntriesSortStateListArgs]] = None,
status: Optional[str] = None) -> ObjectEmailfilterBlockallowlistEntriesSortfunc GetObjectEmailfilterBlockallowlistEntriesSort(ctx *Context, name string, id IDInput, state *ObjectEmailfilterBlockallowlistEntriesSortState, opts ...ResourceOption) (*ObjectEmailfilterBlockallowlistEntriesSort, error)public static ObjectEmailfilterBlockallowlistEntriesSort Get(string name, Input<string> id, ObjectEmailfilterBlockallowlistEntriesSortState? state, CustomResourceOptions? opts = null)public static ObjectEmailfilterBlockallowlistEntriesSort get(String name, Output<String> id, ObjectEmailfilterBlockallowlistEntriesSortState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectEmailfilterBlockallowlistEntriesSort get: id: ${id}import {
to = fortimanager_object_emailfilter_blockallowlist_entries_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
- Block
Allow stringList - Comment string
- Force
Recreate string - Manual
Orders List<string> - Object
Emailfilter stringBlockallowlist Entries Sort Id - Scopetype string
- Sortby string
- Sortdirection string
- State
Lists List<ObjectEmailfilter Blockallowlist Entries Sort State List> - Status string
- Adom string
- Block
Allow stringList - Comment string
- Force
Recreate string - Manual
Orders []string - Object
Emailfilter stringBlockallowlist Entries Sort Id - Scopetype string
- Sortby string
- Sortdirection string
- State
Lists []ObjectEmailfilter Blockallowlist Entries Sort State List Args - Status string
- adom string
- block_
allow_ stringlist - comment string
- force_
recreate string - manual_
orders list(string) - object_
emailfilter_ stringblockallowlist_ entries_ sort_ id - scopetype string
- sortby string
- sortdirection string
- state_
lists list(object) - status string
- adom String
- block
Allow StringList - comment String
- force
Recreate String - manual
Orders List<String> - object
Emailfilter StringBlockallowlist Entries Sort Id - scopetype String
- sortby String
- sortdirection String
- state
Lists List<ObjectEmailfilter Blockallowlist Entries Sort State List> - status String
- adom string
- block
Allow stringList - comment string
- force
Recreate string - manual
Orders string[] - object
Emailfilter stringBlockallowlist Entries Sort Id - scopetype string
- sortby string
- sortdirection string
- state
Lists ObjectEmailfilter Blockallowlist Entries Sort State List[] - status string
- adom String
- block
Allow StringList - comment String
- force
Recreate String - manual
Orders List<String> - object
Emailfilter StringBlockallowlist Entries Sort Id - scopetype String
- sortby String
- sortdirection String
- state
Lists List<Property Map> - status String
Supporting Types
ObjectEmailfilterBlockallowlistEntriesSortStateList, ObjectEmailfilterBlockallowlistEntriesSortStateListArgs
- Id string
- Id string
- id string
- id String
- id string
- id str
- id 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