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

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

    Constructor syntax

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

    Parameters

    name string
    The unique name of the resource.
    args PackagesFirewallAclSortArgs
    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 PackagesFirewallAclSortArgs
    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 PackagesFirewallAclSortArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PackagesFirewallAclSortArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PackagesFirewallAclSortArgs
    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 packagesFirewallAclSortResource = new Fortimanager.PackagesFirewallAclSort("packagesFirewallAclSortResource", new()
    {
        Pkg = "string",
        Sortby = "string",
        Sortdirection = "string",
        Adom = "string",
        Comment = "string",
        ForceRecreate = "string",
        ManualOrders = new[]
        {
            "string",
        },
        PackagesFirewallAclSortId = "string",
        PkgFolderPath = "string",
        Scopetype = "string",
        Status = "string",
    });
    
    example, err := fortimanager.NewPackagesFirewallAclSort(ctx, "packagesFirewallAclSortResource", &fortimanager.PackagesFirewallAclSortArgs{
    	Pkg:           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"),
    	},
    	PackagesFirewallAclSortId: pulumi.String("string"),
    	PkgFolderPath:             pulumi.String("string"),
    	Scopetype:                 pulumi.String("string"),
    	Status:                    pulumi.String("string"),
    })
    
    resource "fortimanager_packages_firewall_acl_sort" "packagesFirewallAclSortResource" {
      lifecycle {
        create_before_destroy = true
      }
      pkg                           = "string"
      sortby                        = "string"
      sortdirection                 = "string"
      adom                          = "string"
      comment                       = "string"
      force_recreate                = "string"
      manual_orders                 = ["string"]
      packages_firewall_acl_sort_id = "string"
      pkg_folder_path               = "string"
      scopetype                     = "string"
      status                        = "string"
    }
    
    var packagesFirewallAclSortResource = new PackagesFirewallAclSort("packagesFirewallAclSortResource", PackagesFirewallAclSortArgs.builder()
        .pkg("string")
        .sortby("string")
        .sortdirection("string")
        .adom("string")
        .comment("string")
        .forceRecreate("string")
        .manualOrders("string")
        .packagesFirewallAclSortId("string")
        .pkgFolderPath("string")
        .scopetype("string")
        .status("string")
        .build());
    
    packages_firewall_acl_sort_resource = fortimanager.PackagesFirewallAclSort("packagesFirewallAclSortResource",
        pkg="string",
        sortby="string",
        sortdirection="string",
        adom="string",
        comment="string",
        force_recreate="string",
        manual_orders=["string"],
        packages_firewall_acl_sort_id="string",
        pkg_folder_path="string",
        scopetype="string",
        status="string")
    
    const packagesFirewallAclSortResource = new fortimanager.PackagesFirewallAclSort("packagesFirewallAclSortResource", {
        pkg: "string",
        sortby: "string",
        sortdirection: "string",
        adom: "string",
        comment: "string",
        forceRecreate: "string",
        manualOrders: ["string"],
        packagesFirewallAclSortId: "string",
        pkgFolderPath: "string",
        scopetype: "string",
        status: "string",
    });
    
    type: fortimanager:PackagesFirewallAclSort
    properties:
        adom: string
        comment: string
        forceRecreate: string
        manualOrders:
            - string
        packagesFirewallAclSortId: string
        pkg: string
        pkgFolderPath: string
        scopetype: string
        sortby: string
        sortdirection: string
        status: string
    

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

    Pkg string
    Sortby string
    Sortdirection string
    Adom string
    Comment string
    ForceRecreate string
    ManualOrders List<string>
    PackagesFirewallAclSortId string
    PkgFolderPath string
    Scopetype string
    Status string
    Pkg string
    Sortby string
    Sortdirection string
    Adom string
    Comment string
    ForceRecreate string
    ManualOrders []string
    PackagesFirewallAclSortId string
    PkgFolderPath string
    Scopetype string
    Status string
    pkg string
    sortby string
    sortdirection string
    adom string
    comment string
    force_recreate string
    manual_orders list(string)
    packages_firewall_acl_sort_id string
    pkg_folder_path string
    scopetype string
    status string
    pkg String
    sortby String
    sortdirection String
    adom String
    comment String
    forceRecreate String
    manualOrders List<String>
    packagesFirewallAclSortId String
    pkgFolderPath String
    scopetype String
    status String
    pkg string
    sortby string
    sortdirection string
    adom string
    comment string
    forceRecreate string
    manualOrders string[]
    packagesFirewallAclSortId string
    pkgFolderPath string
    scopetype string
    status string
    pkg String
    sortby String
    sortdirection String
    adom String
    comment String
    forceRecreate String
    manualOrders List<String>
    packagesFirewallAclSortId String
    pkgFolderPath String
    scopetype String
    status String

    Outputs

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

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

    Look up Existing PackagesFirewallAclSort Resource

    Get an existing PackagesFirewallAclSort 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?: PackagesFirewallAclSortState, opts?: CustomResourceOptions): PackagesFirewallAclSort
    @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,
            packages_firewall_acl_sort_id: Optional[str] = None,
            pkg: Optional[str] = None,
            pkg_folder_path: Optional[str] = None,
            scopetype: Optional[str] = None,
            sortby: Optional[str] = None,
            sortdirection: Optional[str] = None,
            state_lists: Optional[Sequence[PackagesFirewallAclSortStateListArgs]] = None,
            status: Optional[str] = None) -> PackagesFirewallAclSort
    func GetPackagesFirewallAclSort(ctx *Context, name string, id IDInput, state *PackagesFirewallAclSortState, opts ...ResourceOption) (*PackagesFirewallAclSort, error)
    public static PackagesFirewallAclSort Get(string name, Input<string> id, PackagesFirewallAclSortState? state, CustomResourceOptions? opts = null)
    public static PackagesFirewallAclSort get(String name, Output<String> id, PackagesFirewallAclSortState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:PackagesFirewallAclSort    get:      id: ${id}
    import {
      to = fortimanager_packages_firewall_acl_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

    PackagesFirewallAclSortStateList, PackagesFirewallAclSortStateListArgs

    Policyid string
    Policyid string
    policyid string
    policyid String
    policyid string
    policyid 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