published on Saturday, Mar 7, 2026 by fortinetdev
published on Saturday, Mar 7, 2026 by fortinetdev
ObjectFirewall ShapingProfileClasses
This resource is a sub resource for variable
classesof resourcefortimanager.ObjectFirewallShapingprofile. Conflict and overwrite may occur if use both of them.
Create ObjectFirewallShapingprofileClasses Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectFirewallShapingprofileClasses(name: string, args: ObjectFirewallShapingprofileClassesArgs, opts?: CustomResourceOptions);@overload
def ObjectFirewallShapingprofileClasses(resource_name: str,
args: ObjectFirewallShapingprofileClassesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectFirewallShapingprofileClasses(resource_name: str,
opts: Optional[ResourceOptions] = None,
shaping_profile: Optional[str] = None,
adom: Optional[str] = None,
class_id: Optional[float] = None,
guaranteed_bandwidth: Optional[float] = None,
maximum_bandwidth: Optional[float] = None,
name: Optional[str] = None,
object_firewall_shapingprofile_classes_id: Optional[str] = None,
priority: Optional[str] = None,
scopetype: Optional[str] = None)func NewObjectFirewallShapingprofileClasses(ctx *Context, name string, args ObjectFirewallShapingprofileClassesArgs, opts ...ResourceOption) (*ObjectFirewallShapingprofileClasses, error)public ObjectFirewallShapingprofileClasses(string name, ObjectFirewallShapingprofileClassesArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallShapingprofileClasses(String name, ObjectFirewallShapingprofileClassesArgs args)
public ObjectFirewallShapingprofileClasses(String name, ObjectFirewallShapingprofileClassesArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallShapingprofileClasses
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ObjectFirewallShapingprofileClassesArgs
- 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 ObjectFirewallShapingprofileClassesArgs
- 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 ObjectFirewallShapingprofileClassesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectFirewallShapingprofileClassesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectFirewallShapingprofileClassesArgs
- 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 objectFirewallShapingprofileClassesResource = new Fortimanager.Index.ObjectFirewallShapingprofileClasses("objectFirewallShapingprofileClassesResource", new()
{
ShapingProfile = "string",
Adom = "string",
ClassId = 0,
GuaranteedBandwidth = 0,
MaximumBandwidth = 0,
Name = "string",
ObjectFirewallShapingprofileClassesId = "string",
Priority = "string",
Scopetype = "string",
});
example, err := fortimanager.NewObjectFirewallShapingprofileClasses(ctx, "objectFirewallShapingprofileClassesResource", &fortimanager.ObjectFirewallShapingprofileClassesArgs{
ShapingProfile: pulumi.String("string"),
Adom: pulumi.String("string"),
ClassId: pulumi.Float64(0),
GuaranteedBandwidth: pulumi.Float64(0),
MaximumBandwidth: pulumi.Float64(0),
Name: pulumi.String("string"),
ObjectFirewallShapingprofileClassesId: pulumi.String("string"),
Priority: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
var objectFirewallShapingprofileClassesResource = new ObjectFirewallShapingprofileClasses("objectFirewallShapingprofileClassesResource", ObjectFirewallShapingprofileClassesArgs.builder()
.shapingProfile("string")
.adom("string")
.classId(0.0)
.guaranteedBandwidth(0.0)
.maximumBandwidth(0.0)
.name("string")
.objectFirewallShapingprofileClassesId("string")
.priority("string")
.scopetype("string")
.build());
object_firewall_shapingprofile_classes_resource = fortimanager.ObjectFirewallShapingprofileClasses("objectFirewallShapingprofileClassesResource",
shaping_profile="string",
adom="string",
class_id=0,
guaranteed_bandwidth=0,
maximum_bandwidth=0,
name="string",
object_firewall_shapingprofile_classes_id="string",
priority="string",
scopetype="string")
const objectFirewallShapingprofileClassesResource = new fortimanager.ObjectFirewallShapingprofileClasses("objectFirewallShapingprofileClassesResource", {
shapingProfile: "string",
adom: "string",
classId: 0,
guaranteedBandwidth: 0,
maximumBandwidth: 0,
name: "string",
objectFirewallShapingprofileClassesId: "string",
priority: "string",
scopetype: "string",
});
type: fortimanager:ObjectFirewallShapingprofileClasses
properties:
adom: string
classId: 0
guaranteedBandwidth: 0
maximumBandwidth: 0
name: string
objectFirewallShapingprofileClassesId: string
priority: string
scopetype: string
shapingProfile: string
ObjectFirewallShapingprofileClasses 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 ObjectFirewallShapingprofileClasses resource accepts the following input properties:
- Shaping
Profile string - Shaping Profile.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Class
Id double - Class-Id.
- Guaranteed
Bandwidth double - Guaranteed-Bandwidth.
- Maximum
Bandwidth double - Maximum-Bandwidth.
- Name string
- Name.
- Object
Firewall stringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- Priority string
- Priority. Valid values:
top,critical,high,medium,low. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Shaping
Profile string - Shaping Profile.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Class
Id float64 - Class-Id.
- Guaranteed
Bandwidth float64 - Guaranteed-Bandwidth.
- Maximum
Bandwidth float64 - Maximum-Bandwidth.
- Name string
- Name.
- Object
Firewall stringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- Priority string
- Priority. Valid values:
top,critical,high,medium,low. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shaping
Profile String - Shaping Profile.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - class
Id Double - Class-Id.
- guaranteed
Bandwidth Double - Guaranteed-Bandwidth.
- maximum
Bandwidth Double - Maximum-Bandwidth.
- name String
- Name.
- object
Firewall StringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- priority String
- Priority. Valid values:
top,critical,high,medium,low. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shaping
Profile string - Shaping Profile.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - class
Id number - Class-Id.
- guaranteed
Bandwidth number - Guaranteed-Bandwidth.
- maximum
Bandwidth number - Maximum-Bandwidth.
- name string
- Name.
- object
Firewall stringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- priority string
- Priority. Valid values:
top,critical,high,medium,low. - scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shaping_
profile str - Shaping Profile.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - class_
id float - Class-Id.
- guaranteed_
bandwidth float - Guaranteed-Bandwidth.
- maximum_
bandwidth float - Maximum-Bandwidth.
- name str
- Name.
- object_
firewall_ strshapingprofile_ classes_ id - an identifier for the resource with format {{name}}.
- priority str
- Priority. Valid values:
top,critical,high,medium,low. - scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- shaping
Profile String - Shaping Profile.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - class
Id Number - Class-Id.
- guaranteed
Bandwidth Number - Guaranteed-Bandwidth.
- maximum
Bandwidth Number - Maximum-Bandwidth.
- name String
- Name.
- object
Firewall StringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- priority String
- Priority. Valid values:
top,critical,high,medium,low. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectFirewallShapingprofileClasses resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ObjectFirewallShapingprofileClasses Resource
Get an existing ObjectFirewallShapingprofileClasses 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?: ObjectFirewallShapingprofileClassesState, opts?: CustomResourceOptions): ObjectFirewallShapingprofileClasses@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
class_id: Optional[float] = None,
guaranteed_bandwidth: Optional[float] = None,
maximum_bandwidth: Optional[float] = None,
name: Optional[str] = None,
object_firewall_shapingprofile_classes_id: Optional[str] = None,
priority: Optional[str] = None,
scopetype: Optional[str] = None,
shaping_profile: Optional[str] = None) -> ObjectFirewallShapingprofileClassesfunc GetObjectFirewallShapingprofileClasses(ctx *Context, name string, id IDInput, state *ObjectFirewallShapingprofileClassesState, opts ...ResourceOption) (*ObjectFirewallShapingprofileClasses, error)public static ObjectFirewallShapingprofileClasses Get(string name, Input<string> id, ObjectFirewallShapingprofileClassesState? state, CustomResourceOptions? opts = null)public static ObjectFirewallShapingprofileClasses get(String name, Output<String> id, ObjectFirewallShapingprofileClassesState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectFirewallShapingprofileClasses get: 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
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Class
Id double - Class-Id.
- Guaranteed
Bandwidth double - Guaranteed-Bandwidth.
- Maximum
Bandwidth double - Maximum-Bandwidth.
- Name string
- Name.
- Object
Firewall stringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- Priority string
- Priority. Valid values:
top,critical,high,medium,low. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Shaping
Profile string - Shaping Profile.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Class
Id float64 - Class-Id.
- Guaranteed
Bandwidth float64 - Guaranteed-Bandwidth.
- Maximum
Bandwidth float64 - Maximum-Bandwidth.
- Name string
- Name.
- Object
Firewall stringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- Priority string
- Priority. Valid values:
top,critical,high,medium,low. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Shaping
Profile string - Shaping Profile.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - class
Id Double - Class-Id.
- guaranteed
Bandwidth Double - Guaranteed-Bandwidth.
- maximum
Bandwidth Double - Maximum-Bandwidth.
- name String
- Name.
- object
Firewall StringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- priority String
- Priority. Valid values:
top,critical,high,medium,low. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - shaping
Profile String - Shaping Profile.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - class
Id number - Class-Id.
- guaranteed
Bandwidth number - Guaranteed-Bandwidth.
- maximum
Bandwidth number - Maximum-Bandwidth.
- name string
- Name.
- object
Firewall stringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- priority string
- Priority. Valid values:
top,critical,high,medium,low. - scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - shaping
Profile string - Shaping Profile.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - class_
id float - Class-Id.
- guaranteed_
bandwidth float - Guaranteed-Bandwidth.
- maximum_
bandwidth float - Maximum-Bandwidth.
- name str
- Name.
- object_
firewall_ strshapingprofile_ classes_ id - an identifier for the resource with format {{name}}.
- priority str
- Priority. Valid values:
top,critical,high,medium,low. - scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - shaping_
profile str - Shaping Profile.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - class
Id Number - Class-Id.
- guaranteed
Bandwidth Number - Guaranteed-Bandwidth.
- maximum
Bandwidth Number - Maximum-Bandwidth.
- name String
- Name.
- object
Firewall StringShapingprofile Classes Id - an identifier for the resource with format {{name}}.
- priority String
- Priority. Valid values:
top,critical,high,medium,low. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - shaping
Profile String - Shaping Profile.
Import
ObjectFirewall ShapingProfileClasses can be imported using any of these accepted formats:
Set import_options = [“shaping_profile=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectFirewallShapingprofileClasses:ObjectFirewallShapingprofileClasses labelname {{name}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the
fortimanagerTerraform Provider.
published on Saturday, Mar 7, 2026 by fortinetdev
