1. Registry
  2. Packages
  3. Fortimanager Provider
  4. API Docs
  5. ObjectFilefilterProfileRulesSort
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 ObjectFilefilterProfileRulesSort Resource

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

    Constructor syntax

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

    Parameters

    name string
    The unique name of the resource.
    args ObjectFilefilterProfileRulesSortArgs
    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 ObjectFilefilterProfileRulesSortArgs
    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 ObjectFilefilterProfileRulesSortArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectFilefilterProfileRulesSortArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectFilefilterProfileRulesSortArgs
    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 objectFilefilterProfileRulesSortResource = new Fortimanager.ObjectFilefilterProfileRulesSort("objectFilefilterProfileRulesSortResource", new()
    {
        Profile = "string",
        Sortby = "string",
        Sortdirection = "string",
        Adom = "string",
        Comment = "string",
        ForceRecreate = "string",
        ManualOrders = new[]
        {
            "string",
        },
        ObjectFilefilterProfileRulesSortId = "string",
        Scopetype = "string",
        Status = "string",
    });
    
    example, err := fortimanager.NewObjectFilefilterProfileRulesSort(ctx, "objectFilefilterProfileRulesSortResource", &fortimanager.ObjectFilefilterProfileRulesSortArgs{
    	Profile:       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"),
    	},
    	ObjectFilefilterProfileRulesSortId: pulumi.String("string"),
    	Scopetype:                          pulumi.String("string"),
    	Status:                             pulumi.String("string"),
    })
    
    resource "fortimanager_object_filefilter_profile_rules_sort" "objectFilefilterProfileRulesSortResource" {
      lifecycle {
        create_before_destroy = true
      }
      profile                                 = "string"
      sortby                                  = "string"
      sortdirection                           = "string"
      adom                                    = "string"
      comment                                 = "string"
      force_recreate                          = "string"
      manual_orders                           = ["string"]
      object_filefilter_profile_rules_sort_id = "string"
      scopetype                               = "string"
      status                                  = "string"
    }
    
    var objectFilefilterProfileRulesSortResource = new ObjectFilefilterProfileRulesSort("objectFilefilterProfileRulesSortResource", ObjectFilefilterProfileRulesSortArgs.builder()
        .profile("string")
        .sortby("string")
        .sortdirection("string")
        .adom("string")
        .comment("string")
        .forceRecreate("string")
        .manualOrders("string")
        .objectFilefilterProfileRulesSortId("string")
        .scopetype("string")
        .status("string")
        .build());
    
    object_filefilter_profile_rules_sort_resource = fortimanager.ObjectFilefilterProfileRulesSort("objectFilefilterProfileRulesSortResource",
        profile="string",
        sortby="string",
        sortdirection="string",
        adom="string",
        comment="string",
        force_recreate="string",
        manual_orders=["string"],
        object_filefilter_profile_rules_sort_id="string",
        scopetype="string",
        status="string")
    
    const objectFilefilterProfileRulesSortResource = new fortimanager.ObjectFilefilterProfileRulesSort("objectFilefilterProfileRulesSortResource", {
        profile: "string",
        sortby: "string",
        sortdirection: "string",
        adom: "string",
        comment: "string",
        forceRecreate: "string",
        manualOrders: ["string"],
        objectFilefilterProfileRulesSortId: "string",
        scopetype: "string",
        status: "string",
    });
    
    type: fortimanager:ObjectFilefilterProfileRulesSort
    properties:
        adom: string
        comment: string
        forceRecreate: string
        manualOrders:
            - string
        objectFilefilterProfileRulesSortId: string
        profile: string
        scopetype: string
        sortby: string
        sortdirection: string
        status: string
    

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

    Profile string
    Sortby string
    Sortdirection string
    Adom string
    Comment string
    ForceRecreate string
    ManualOrders List<string>
    ObjectFilefilterProfileRulesSortId string
    Scopetype string
    Status string
    profile String
    sortby String
    sortdirection String
    adom String
    comment String
    forceRecreate String
    manualOrders List<String>
    objectFilefilterProfileRulesSortId String
    scopetype String
    status String
    profile String
    sortby String
    sortdirection String
    adom String
    comment String
    forceRecreate String
    manualOrders List<String>
    objectFilefilterProfileRulesSortId String
    scopetype String
    status String

    Outputs

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

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

    Look up Existing ObjectFilefilterProfileRulesSort Resource

    Get an existing ObjectFilefilterProfileRulesSort 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?: ObjectFilefilterProfileRulesSortState, opts?: CustomResourceOptions): ObjectFilefilterProfileRulesSort
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            comment: Optional[str] = None,
            force_recreate: Optional[str] = None,
            manual_orders: Optional[Sequence[str]] = None,
            object_filefilter_profile_rules_sort_id: Optional[str] = None,
            profile: Optional[str] = None,
            scopetype: Optional[str] = None,
            sortby: Optional[str] = None,
            sortdirection: Optional[str] = None,
            state_lists: Optional[Sequence[ObjectFilefilterProfileRulesSortStateListArgs]] = None,
            status: Optional[str] = None) -> ObjectFilefilterProfileRulesSort
    func GetObjectFilefilterProfileRulesSort(ctx *Context, name string, id IDInput, state *ObjectFilefilterProfileRulesSortState, opts ...ResourceOption) (*ObjectFilefilterProfileRulesSort, error)
    public static ObjectFilefilterProfileRulesSort Get(string name, Input<string> id, ObjectFilefilterProfileRulesSortState? state, CustomResourceOptions? opts = null)
    public static ObjectFilefilterProfileRulesSort get(String name, Output<String> id, ObjectFilefilterProfileRulesSortState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectFilefilterProfileRulesSort    get:      id: ${id}
    import {
      to = fortimanager_object_filefilter_profile_rules_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

    ObjectFilefilterProfileRulesSortStateList, ObjectFilefilterProfileRulesSortStateListArgs

    Name string
    Name string
    name string
    name String
    name string
    name str
    name 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