published on Friday, Jul 31, 2026 by fortinetdev
published on Friday, Jul 31, 2026 by fortinetdev
Create ObjectFirewallShapingprofileClassesSort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectFirewallShapingprofileClassesSort(name: string, args: ObjectFirewallShapingprofileClassesSortArgs, opts?: CustomResourceOptions);@overload
def ObjectFirewallShapingprofileClassesSort(resource_name: str,
args: ObjectFirewallShapingprofileClassesSortArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectFirewallShapingprofileClassesSort(resource_name: str,
opts: Optional[ResourceOptions] = None,
shaping_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_firewall_shapingprofile_classes_sort_id: Optional[str] = None,
scopetype: Optional[str] = None,
status: Optional[str] = None)func NewObjectFirewallShapingprofileClassesSort(ctx *Context, name string, args ObjectFirewallShapingprofileClassesSortArgs, opts ...ResourceOption) (*ObjectFirewallShapingprofileClassesSort, error)public ObjectFirewallShapingprofileClassesSort(string name, ObjectFirewallShapingprofileClassesSortArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallShapingprofileClassesSort(String name, ObjectFirewallShapingprofileClassesSortArgs args)
public ObjectFirewallShapingprofileClassesSort(String name, ObjectFirewallShapingprofileClassesSortArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallShapingprofileClassesSort
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "fortimanager_object_firewall_shapingprofile_classes_sort" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ObjectFirewallShapingprofileClassesSortArgs
- 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 ObjectFirewallShapingprofileClassesSortArgs
- 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 ObjectFirewallShapingprofileClassesSortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectFirewallShapingprofileClassesSortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectFirewallShapingprofileClassesSortArgs
- 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 objectFirewallShapingprofileClassesSortResource = new Fortimanager.ObjectFirewallShapingprofileClassesSort("objectFirewallShapingprofileClassesSortResource", new()
{
ShapingProfile = "string",
Sortby = "string",
Sortdirection = "string",
Adom = "string",
Comment = "string",
ForceRecreate = "string",
ManualOrders = new[]
{
"string",
},
ObjectFirewallShapingprofileClassesSortId = "string",
Scopetype = "string",
Status = "string",
});
example, err := fortimanager.NewObjectFirewallShapingprofileClassesSort(ctx, "objectFirewallShapingprofileClassesSortResource", &fortimanager.ObjectFirewallShapingprofileClassesSortArgs{
ShapingProfile: 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"),
},
ObjectFirewallShapingprofileClassesSortId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Status: pulumi.String("string"),
})
resource "fortimanager_object_firewall_shapingprofile_classes_sort" "objectFirewallShapingprofileClassesSortResource" {
lifecycle {
create_before_destroy = true
}
shaping_profile = "string"
sortby = "string"
sortdirection = "string"
adom = "string"
comment = "string"
force_recreate = "string"
manual_orders = ["string"]
object_firewall_shapingprofile_classes_sort_id = "string"
scopetype = "string"
status = "string"
}
var objectFirewallShapingprofileClassesSortResource = new ObjectFirewallShapingprofileClassesSort("objectFirewallShapingprofileClassesSortResource", ObjectFirewallShapingprofileClassesSortArgs.builder()
.shapingProfile("string")
.sortby("string")
.sortdirection("string")
.adom("string")
.comment("string")
.forceRecreate("string")
.manualOrders("string")
.objectFirewallShapingprofileClassesSortId("string")
.scopetype("string")
.status("string")
.build());
object_firewall_shapingprofile_classes_sort_resource = fortimanager.ObjectFirewallShapingprofileClassesSort("objectFirewallShapingprofileClassesSortResource",
shaping_profile="string",
sortby="string",
sortdirection="string",
adom="string",
comment="string",
force_recreate="string",
manual_orders=["string"],
object_firewall_shapingprofile_classes_sort_id="string",
scopetype="string",
status="string")
const objectFirewallShapingprofileClassesSortResource = new fortimanager.ObjectFirewallShapingprofileClassesSort("objectFirewallShapingprofileClassesSortResource", {
shapingProfile: "string",
sortby: "string",
sortdirection: "string",
adom: "string",
comment: "string",
forceRecreate: "string",
manualOrders: ["string"],
objectFirewallShapingprofileClassesSortId: "string",
scopetype: "string",
status: "string",
});
type: fortimanager:ObjectFirewallShapingprofileClassesSort
properties:
adom: string
comment: string
forceRecreate: string
manualOrders:
- string
objectFirewallShapingprofileClassesSortId: string
scopetype: string
shapingProfile: string
sortby: string
sortdirection: string
status: string
ObjectFirewallShapingprofileClassesSort 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 ObjectFirewallShapingprofileClassesSort resource accepts the following input properties:
- Shaping
Profile string - Sortby string
- Sortdirection string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders List<string> - Object
Firewall stringShapingprofile Classes Sort Id - Scopetype string
- Status string
- Shaping
Profile string - Sortby string
- Sortdirection string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders []string - Object
Firewall stringShapingprofile Classes Sort Id - Scopetype string
- Status string
- shaping_
profile string - sortby string
- sortdirection string
- adom string
- comment string
- force_
recreate string - manual_
orders list(string) - object_
firewall_ stringshapingprofile_ classes_ sort_ id - scopetype string
- status string
- shaping
Profile String - sortby String
- sortdirection String
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - object
Firewall StringShapingprofile Classes Sort Id - scopetype String
- status String
- shaping
Profile string - sortby string
- sortdirection string
- adom string
- comment string
- force
Recreate string - manual
Orders string[] - object
Firewall stringShapingprofile Classes Sort Id - scopetype string
- status string
- shaping_
profile str - sortby str
- sortdirection str
- adom str
- comment str
- force_
recreate str - manual_
orders Sequence[str] - object_
firewall_ strshapingprofile_ classes_ sort_ id - scopetype str
- status str
- shaping
Profile String - sortby String
- sortdirection String
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - object
Firewall StringShapingprofile Classes Sort Id - scopetype String
- status String
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectFirewallShapingprofileClassesSort resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Lists List<ObjectFirewall Shapingprofile Classes Sort State List>
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Lists []ObjectFirewall Shapingprofile Classes 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<ObjectFirewall Shapingprofile Classes Sort State List>
- id string
- The provider-assigned unique ID for this managed resource.
- state
Lists ObjectFirewall Shapingprofile Classes Sort State List[]
- id str
- The provider-assigned unique ID for this managed resource.
- state_
lists Sequence[ObjectFirewall Shapingprofile Classes Sort State List]
- id String
- The provider-assigned unique ID for this managed resource.
- state
Lists List<Property Map>
Look up Existing ObjectFirewallShapingprofileClassesSort Resource
Get an existing ObjectFirewallShapingprofileClassesSort 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?: ObjectFirewallShapingprofileClassesSortState, opts?: CustomResourceOptions): ObjectFirewallShapingprofileClassesSort@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_firewall_shapingprofile_classes_sort_id: Optional[str] = None,
scopetype: Optional[str] = None,
shaping_profile: Optional[str] = None,
sortby: Optional[str] = None,
sortdirection: Optional[str] = None,
state_lists: Optional[Sequence[ObjectFirewallShapingprofileClassesSortStateListArgs]] = None,
status: Optional[str] = None) -> ObjectFirewallShapingprofileClassesSortfunc GetObjectFirewallShapingprofileClassesSort(ctx *Context, name string, id IDInput, state *ObjectFirewallShapingprofileClassesSortState, opts ...ResourceOption) (*ObjectFirewallShapingprofileClassesSort, error)public static ObjectFirewallShapingprofileClassesSort Get(string name, Input<string> id, ObjectFirewallShapingprofileClassesSortState? state, CustomResourceOptions? opts = null)public static ObjectFirewallShapingprofileClassesSort get(String name, Output<String> id, ObjectFirewallShapingprofileClassesSortState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectFirewallShapingprofileClassesSort get: id: ${id}import {
to = fortimanager_object_firewall_shapingprofile_classes_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
- Force
Recreate string - Manual
Orders List<string> - Object
Firewall stringShapingprofile Classes Sort Id - Scopetype string
- Shaping
Profile string - Sortby string
- Sortdirection string
- State
Lists List<ObjectFirewall Shapingprofile Classes Sort State List> - Status string
- Adom string
- Comment string
- Force
Recreate string - Manual
Orders []string - Object
Firewall stringShapingprofile Classes Sort Id - Scopetype string
- Shaping
Profile string - Sortby string
- Sortdirection string
- State
Lists []ObjectFirewall Shapingprofile Classes Sort State List Args - Status string
- adom string
- comment string
- force_
recreate string - manual_
orders list(string) - object_
firewall_ stringshapingprofile_ classes_ sort_ id - scopetype string
- shaping_
profile string - sortby string
- sortdirection string
- state_
lists list(object) - status string
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - object
Firewall StringShapingprofile Classes Sort Id - scopetype String
- shaping
Profile String - sortby String
- sortdirection String
- state
Lists List<ObjectFirewall Shapingprofile Classes Sort State List> - status String
- adom string
- comment string
- force
Recreate string - manual
Orders string[] - object
Firewall stringShapingprofile Classes Sort Id - scopetype string
- shaping
Profile string - sortby string
- sortdirection string
- state
Lists ObjectFirewall Shapingprofile Classes Sort State List[] - status string
- adom String
- comment String
- force
Recreate String - manual
Orders List<String> - object
Firewall StringShapingprofile Classes Sort Id - scopetype String
- shaping
Profile String - sortby String
- sortdirection String
- state
Lists List<Property Map> - status String
Supporting Types
ObjectFirewallShapingprofileClassesSortStateList, ObjectFirewallShapingprofileClassesSortStateListArgs
- 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
fortimanagerTerraform Provider.
published on Friday, Jul 31, 2026 by fortinetdev