1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectFirewallShapingprofileClasses
Viewing docs for fortimanager 1.16.0
published on Saturday, Mar 7, 2026 by fortinetdev
Viewing docs for fortimanager 1.16.0
published on Saturday, Mar 7, 2026 by fortinetdev

    ObjectFirewall ShapingProfileClasses

    This resource is a sub resource for variable classes of resource fortimanager.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:

    ShapingProfile string
    Shaping Profile.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    ClassId double
    Class-Id.
    GuaranteedBandwidth double
    Guaranteed-Bandwidth.
    MaximumBandwidth double
    Maximum-Bandwidth.
    Name string
    Name.
    ObjectFirewallShapingprofileClassesId string
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    ShapingProfile string
    Shaping Profile.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    ClassId float64
    Class-Id.
    GuaranteedBandwidth float64
    Guaranteed-Bandwidth.
    MaximumBandwidth float64
    Maximum-Bandwidth.
    Name string
    Name.
    ObjectFirewallShapingprofileClassesId string
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    shapingProfile String
    Shaping Profile.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    classId Double
    Class-Id.
    guaranteedBandwidth Double
    Guaranteed-Bandwidth.
    maximumBandwidth Double
    Maximum-Bandwidth.
    name String
    Name.
    objectFirewallShapingprofileClassesId String
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    shapingProfile string
    Shaping Profile.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    classId number
    Class-Id.
    guaranteedBandwidth number
    Guaranteed-Bandwidth.
    maximumBandwidth number
    Maximum-Bandwidth.
    name string
    Name.
    objectFirewallShapingprofileClassesId string
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    shaping_profile str
    Shaping Profile.
    adom str
    Adom. This value is valid only when the scopetype is adom, 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_shapingprofile_classes_id str
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    shapingProfile String
    Shaping Profile.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    classId Number
    Class-Id.
    guaranteedBandwidth Number
    Guaranteed-Bandwidth.
    maximumBandwidth Number
    Maximum-Bandwidth.
    name String
    Name.
    objectFirewallShapingprofileClassesId String
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

    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) -> ObjectFirewallShapingprofileClasses
    func 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.
    The following state arguments are supported:
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    ClassId double
    Class-Id.
    GuaranteedBandwidth double
    Guaranteed-Bandwidth.
    MaximumBandwidth double
    Maximum-Bandwidth.
    Name string
    Name.
    ObjectFirewallShapingprofileClassesId string
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    ShapingProfile string
    Shaping Profile.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    ClassId float64
    Class-Id.
    GuaranteedBandwidth float64
    Guaranteed-Bandwidth.
    MaximumBandwidth float64
    Maximum-Bandwidth.
    Name string
    Name.
    ObjectFirewallShapingprofileClassesId string
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    ShapingProfile string
    Shaping Profile.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    classId Double
    Class-Id.
    guaranteedBandwidth Double
    Guaranteed-Bandwidth.
    maximumBandwidth Double
    Maximum-Bandwidth.
    name String
    Name.
    objectFirewallShapingprofileClassesId String
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    shapingProfile String
    Shaping Profile.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    classId number
    Class-Id.
    guaranteedBandwidth number
    Guaranteed-Bandwidth.
    maximumBandwidth number
    Maximum-Bandwidth.
    name string
    Name.
    objectFirewallShapingprofileClassesId string
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    shapingProfile string
    Shaping Profile.
    adom str
    Adom. This value is valid only when the scopetype is adom, 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_shapingprofile_classes_id str
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    shaping_profile str
    Shaping Profile.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    classId Number
    Class-Id.
    guaranteedBandwidth Number
    Guaranteed-Bandwidth.
    maximumBandwidth Number
    Maximum-Bandwidth.
    name String
    Name.
    objectFirewallShapingprofileClassesId String
    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. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    shapingProfile 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 fortimanager Terraform Provider.
    Viewing docs for fortimanager 1.16.0
    published on Saturday, Mar 7, 2026 by fortinetdev
      Try Pulumi Cloud free. Your team will thank you.