1. Registry
  2. Packages
  3. Fortimanager Provider
  4. API Docs
  5. ObjectDlpFilepatternEntriesSort
Viewing docs for fortimanager 1.18.0
published on Friday, Jul 31, 2026 by fortinetdev
Viewing docs for fortimanager 1.18.0
published on Friday, Jul 31, 2026 by fortinetdev

    Create ObjectDlpFilepatternEntriesSort Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ObjectDlpFilepatternEntriesSort(name: string, args: ObjectDlpFilepatternEntriesSortArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectDlpFilepatternEntriesSort(resource_name: str,
                                        args: ObjectDlpFilepatternEntriesSortArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectDlpFilepatternEntriesSort(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        filepattern: 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_dlp_filepattern_entries_sort_id: Optional[str] = None,
                                        scopetype: Optional[str] = None,
                                        status: Optional[str] = None)
    func NewObjectDlpFilepatternEntriesSort(ctx *Context, name string, args ObjectDlpFilepatternEntriesSortArgs, opts ...ResourceOption) (*ObjectDlpFilepatternEntriesSort, error)
    public ObjectDlpFilepatternEntriesSort(string name, ObjectDlpFilepatternEntriesSortArgs args, CustomResourceOptions? opts = null)
    public ObjectDlpFilepatternEntriesSort(String name, ObjectDlpFilepatternEntriesSortArgs args)
    public ObjectDlpFilepatternEntriesSort(String name, ObjectDlpFilepatternEntriesSortArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectDlpFilepatternEntriesSort
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "fortimanager_object_dlp_filepattern_entries_sort" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ObjectDlpFilepatternEntriesSortArgs
    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 ObjectDlpFilepatternEntriesSortArgs
    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 ObjectDlpFilepatternEntriesSortArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectDlpFilepatternEntriesSortArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectDlpFilepatternEntriesSortArgs
    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 objectDlpFilepatternEntriesSortResource = new Fortimanager.ObjectDlpFilepatternEntriesSort("objectDlpFilepatternEntriesSortResource", new()
    {
        Filepattern = "string",
        Sortby = "string",
        Sortdirection = "string",
        Adom = "string",
        Comment = "string",
        ForceRecreate = "string",
        ManualOrders = new[]
        {
            "string",
        },
        ObjectDlpFilepatternEntriesSortId = "string",
        Scopetype = "string",
        Status = "string",
    });
    
    example, err := fortimanager.NewObjectDlpFilepatternEntriesSort(ctx, "objectDlpFilepatternEntriesSortResource", &fortimanager.ObjectDlpFilepatternEntriesSortArgs{
    	Filepattern:   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"),
    	},
    	ObjectDlpFilepatternEntriesSortId: pulumi.String("string"),
    	Scopetype:                         pulumi.String("string"),
    	Status:                            pulumi.String("string"),
    })
    
    resource "fortimanager_object_dlp_filepattern_entries_sort" "objectDlpFilepatternEntriesSortResource" {
      lifecycle {
        create_before_destroy = true
      }
      filepattern                            = "string"
      sortby                                 = "string"
      sortdirection                          = "string"
      adom                                   = "string"
      comment                                = "string"
      force_recreate                         = "string"
      manual_orders                          = ["string"]
      object_dlp_filepattern_entries_sort_id = "string"
      scopetype                              = "string"
      status                                 = "string"
    }
    
    var objectDlpFilepatternEntriesSortResource = new ObjectDlpFilepatternEntriesSort("objectDlpFilepatternEntriesSortResource", ObjectDlpFilepatternEntriesSortArgs.builder()
        .filepattern("string")
        .sortby("string")
        .sortdirection("string")
        .adom("string")
        .comment("string")
        .forceRecreate("string")
        .manualOrders("string")
        .objectDlpFilepatternEntriesSortId("string")
        .scopetype("string")
        .status("string")
        .build());
    
    object_dlp_filepattern_entries_sort_resource = fortimanager.ObjectDlpFilepatternEntriesSort("objectDlpFilepatternEntriesSortResource",
        filepattern="string",
        sortby="string",
        sortdirection="string",
        adom="string",
        comment="string",
        force_recreate="string",
        manual_orders=["string"],
        object_dlp_filepattern_entries_sort_id="string",
        scopetype="string",
        status="string")
    
    const objectDlpFilepatternEntriesSortResource = new fortimanager.ObjectDlpFilepatternEntriesSort("objectDlpFilepatternEntriesSortResource", {
        filepattern: "string",
        sortby: "string",
        sortdirection: "string",
        adom: "string",
        comment: "string",
        forceRecreate: "string",
        manualOrders: ["string"],
        objectDlpFilepatternEntriesSortId: "string",
        scopetype: "string",
        status: "string",
    });
    
    type: fortimanager:ObjectDlpFilepatternEntriesSort
    properties:
        adom: string
        comment: string
        filepattern: string
        forceRecreate: string
        manualOrders:
            - string
        objectDlpFilepatternEntriesSortId: string
        scopetype: string
        sortby: string
        sortdirection: string
        status: string
    

    ObjectDlpFilepatternEntriesSort 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 ObjectDlpFilepatternEntriesSort resource accepts the following input properties:

    Filepattern string
    Sortby string
    Sortdirection string
    Adom string
    Comment string
    ForceRecreate string
    ManualOrders List<string>
    ObjectDlpFilepatternEntriesSortId string
    Scopetype string
    Status string
    filepattern String
    sortby String
    sortdirection String
    adom String
    comment String
    forceRecreate String
    manualOrders List<String>
    objectDlpFilepatternEntriesSortId String
    scopetype String
    status String
    filepattern String
    sortby String
    sortdirection String
    adom String
    comment String
    forceRecreate String
    manualOrders List<String>
    objectDlpFilepatternEntriesSortId String
    scopetype String
    status String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ObjectDlpFilepatternEntriesSort resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    StateLists List<ObjectDlpFilepatternEntriesSortStateList>
    Id string
    The provider-assigned unique ID for this managed resource.
    StateLists []ObjectDlpFilepatternEntriesSortStateList
    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.
    stateLists List<ObjectDlpFilepatternEntriesSortStateList>
    id string
    The provider-assigned unique ID for this managed resource.
    stateLists ObjectDlpFilepatternEntriesSortStateList[]
    id str
    The provider-assigned unique ID for this managed resource.
    state_lists Sequence[ObjectDlpFilepatternEntriesSortStateList]
    id String
    The provider-assigned unique ID for this managed resource.
    stateLists List<Property Map>

    Look up Existing ObjectDlpFilepatternEntriesSort Resource

    Get an existing ObjectDlpFilepatternEntriesSort 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?: ObjectDlpFilepatternEntriesSortState, opts?: CustomResourceOptions): ObjectDlpFilepatternEntriesSort
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            comment: Optional[str] = None,
            filepattern: Optional[str] = None,
            force_recreate: Optional[str] = None,
            manual_orders: Optional[Sequence[str]] = None,
            object_dlp_filepattern_entries_sort_id: Optional[str] = None,
            scopetype: Optional[str] = None,
            sortby: Optional[str] = None,
            sortdirection: Optional[str] = None,
            state_lists: Optional[Sequence[ObjectDlpFilepatternEntriesSortStateListArgs]] = None,
            status: Optional[str] = None) -> ObjectDlpFilepatternEntriesSort
    func GetObjectDlpFilepatternEntriesSort(ctx *Context, name string, id IDInput, state *ObjectDlpFilepatternEntriesSortState, opts ...ResourceOption) (*ObjectDlpFilepatternEntriesSort, error)
    public static ObjectDlpFilepatternEntriesSort Get(string name, Input<string> id, ObjectDlpFilepatternEntriesSortState? state, CustomResourceOptions? opts = null)
    public static ObjectDlpFilepatternEntriesSort get(String name, Output<String> id, ObjectDlpFilepatternEntriesSortState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectDlpFilepatternEntriesSort    get:      id: ${id}
    import {
      to = fortimanager_object_dlp_filepattern_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.
    The following state arguments are supported:

    Supporting Types

    ObjectDlpFilepatternEntriesSortStateList, ObjectDlpFilepatternEntriesSortStateListArgs

    Pattern string
    Pattern string
    pattern string
    pattern String
    pattern string
    pattern String

    Package Details

    Repository
    fortimanager fortinetdev/terraform-provider-fortimanager
    License
    Notes
    This Pulumi package is based on the fortimanager Terraform Provider.
    Viewing docs for fortimanager 1.18.0
    published on Friday, Jul 31, 2026 by fortinetdev

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial