fortios.firewall.Shapingprofile
Explore with Pulumi AI
Configure shaping profiles.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.firewall.Shapingprofile("trname", {
defaultClassId: 2,
profileName: "shapingprofiles1",
shapingEntries: [{
classId: 2,
guaranteedBandwidthPercentage: 33,
id: 1,
maximumBandwidthPercentage: 88,
priority: "high",
}],
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.firewall.Shapingprofile("trname",
default_class_id=2,
profile_name="shapingprofiles1",
shaping_entries=[fortios.firewall.ShapingprofileShapingEntryArgs(
class_id=2,
guaranteed_bandwidth_percentage=33,
id=1,
maximum_bandwidth_percentage=88,
priority="high",
)])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/firewall"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := firewall.NewShapingprofile(ctx, "trname", &firewall.ShapingprofileArgs{
DefaultClassId: pulumi.Int(2),
ProfileName: pulumi.String("shapingprofiles1"),
ShapingEntries: firewall.ShapingprofileShapingEntryArray{
&firewall.ShapingprofileShapingEntryArgs{
ClassId: pulumi.Int(2),
GuaranteedBandwidthPercentage: pulumi.Int(33),
Id: pulumi.Int(1),
MaximumBandwidthPercentage: pulumi.Int(88),
Priority: pulumi.String("high"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Firewall.Shapingprofile("trname", new()
{
DefaultClassId = 2,
ProfileName = "shapingprofiles1",
ShapingEntries = new[]
{
new Fortios.Firewall.Inputs.ShapingprofileShapingEntryArgs
{
ClassId = 2,
GuaranteedBandwidthPercentage = 33,
Id = 1,
MaximumBandwidthPercentage = 88,
Priority = "high",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.firewall.Shapingprofile;
import com.pulumi.fortios.firewall.ShapingprofileArgs;
import com.pulumi.fortios.firewall.inputs.ShapingprofileShapingEntryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new Shapingprofile("trname", ShapingprofileArgs.builder()
.defaultClassId(2)
.profileName("shapingprofiles1")
.shapingEntries(ShapingprofileShapingEntryArgs.builder()
.classId(2)
.guaranteedBandwidthPercentage(33)
.id(1)
.maximumBandwidthPercentage(88)
.priority("high")
.build())
.build());
}
}
resources:
trname:
type: fortios:firewall:Shapingprofile
properties:
defaultClassId: 2
profileName: shapingprofiles1
shapingEntries:
- classId: 2
guaranteedBandwidthPercentage: 33
id: 1
maximumBandwidthPercentage: 88
priority: high
Create Shapingprofile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Shapingprofile(name: string, args: ShapingprofileArgs, opts?: CustomResourceOptions);
@overload
def Shapingprofile(resource_name: str,
args: ShapingprofileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Shapingprofile(resource_name: str,
opts: Optional[ResourceOptions] = None,
default_class_id: Optional[int] = None,
profile_name: Optional[str] = None,
comment: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
shaping_entries: Optional[Sequence[ShapingprofileShapingEntryArgs]] = None,
type: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewShapingprofile(ctx *Context, name string, args ShapingprofileArgs, opts ...ResourceOption) (*Shapingprofile, error)
public Shapingprofile(string name, ShapingprofileArgs args, CustomResourceOptions? opts = null)
public Shapingprofile(String name, ShapingprofileArgs args)
public Shapingprofile(String name, ShapingprofileArgs args, CustomResourceOptions options)
type: fortios:firewall:Shapingprofile
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 ShapingprofileArgs
- 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 ShapingprofileArgs
- 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 ShapingprofileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ShapingprofileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ShapingprofileArgs
- 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 shapingprofileResource = new Fortios.Firewall.Shapingprofile("shapingprofileResource", new()
{
DefaultClassId = 0,
ProfileName = "string",
Comment = "string",
DynamicSortSubtable = "string",
GetAllTables = "string",
ShapingEntries = new[]
{
new Fortios.Firewall.Inputs.ShapingprofileShapingEntryArgs
{
BurstInMsec = 0,
CburstInMsec = 0,
ClassId = 0,
GuaranteedBandwidthPercentage = 0,
Id = 0,
Limit = 0,
Max = 0,
MaximumBandwidthPercentage = 0,
Min = 0,
Priority = "string",
RedProbability = 0,
},
},
Type = "string",
Vdomparam = "string",
});
example, err := firewall.NewShapingprofile(ctx, "shapingprofileResource", &firewall.ShapingprofileArgs{
DefaultClassId: pulumi.Int(0),
ProfileName: pulumi.String("string"),
Comment: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
ShapingEntries: firewall.ShapingprofileShapingEntryArray{
&firewall.ShapingprofileShapingEntryArgs{
BurstInMsec: pulumi.Int(0),
CburstInMsec: pulumi.Int(0),
ClassId: pulumi.Int(0),
GuaranteedBandwidthPercentage: pulumi.Int(0),
Id: pulumi.Int(0),
Limit: pulumi.Int(0),
Max: pulumi.Int(0),
MaximumBandwidthPercentage: pulumi.Int(0),
Min: pulumi.Int(0),
Priority: pulumi.String("string"),
RedProbability: pulumi.Int(0),
},
},
Type: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var shapingprofileResource = new Shapingprofile("shapingprofileResource", ShapingprofileArgs.builder()
.defaultClassId(0)
.profileName("string")
.comment("string")
.dynamicSortSubtable("string")
.getAllTables("string")
.shapingEntries(ShapingprofileShapingEntryArgs.builder()
.burstInMsec(0)
.cburstInMsec(0)
.classId(0)
.guaranteedBandwidthPercentage(0)
.id(0)
.limit(0)
.max(0)
.maximumBandwidthPercentage(0)
.min(0)
.priority("string")
.redProbability(0)
.build())
.type("string")
.vdomparam("string")
.build());
shapingprofile_resource = fortios.firewall.Shapingprofile("shapingprofileResource",
default_class_id=0,
profile_name="string",
comment="string",
dynamic_sort_subtable="string",
get_all_tables="string",
shaping_entries=[fortios.firewall.ShapingprofileShapingEntryArgs(
burst_in_msec=0,
cburst_in_msec=0,
class_id=0,
guaranteed_bandwidth_percentage=0,
id=0,
limit=0,
max=0,
maximum_bandwidth_percentage=0,
min=0,
priority="string",
red_probability=0,
)],
type="string",
vdomparam="string")
const shapingprofileResource = new fortios.firewall.Shapingprofile("shapingprofileResource", {
defaultClassId: 0,
profileName: "string",
comment: "string",
dynamicSortSubtable: "string",
getAllTables: "string",
shapingEntries: [{
burstInMsec: 0,
cburstInMsec: 0,
classId: 0,
guaranteedBandwidthPercentage: 0,
id: 0,
limit: 0,
max: 0,
maximumBandwidthPercentage: 0,
min: 0,
priority: "string",
redProbability: 0,
}],
type: "string",
vdomparam: "string",
});
type: fortios:firewall:Shapingprofile
properties:
comment: string
defaultClassId: 0
dynamicSortSubtable: string
getAllTables: string
profileName: string
shapingEntries:
- burstInMsec: 0
cburstInMsec: 0
classId: 0
guaranteedBandwidthPercentage: 0
id: 0
limit: 0
max: 0
maximumBandwidthPercentage: 0
min: 0
priority: string
redProbability: 0
type: string
vdomparam: string
Shapingprofile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Shapingprofile resource accepts the following input properties:
- Default
Class intId - Default class ID to handle unclassified packets (including all local traffic).
- Profile
Name string - Shaping profile name.
- Comment string
- Comment.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Shaping
Entries List<Pulumiverse.Fortios. Firewall. Inputs. Shapingprofile Shaping Entry> - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - Type string
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Default
Class intId - Default class ID to handle unclassified packets (including all local traffic).
- Profile
Name string - Shaping profile name.
- Comment string
- Comment.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Shaping
Entries []ShapingprofileShaping Entry Args - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - Type string
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- default
Class IntegerId - Default class ID to handle unclassified packets (including all local traffic).
- profile
Name String - Shaping profile name.
- comment String
- Comment.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- shaping
Entries List<ShapingprofileShaping Entry> - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - type String
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- default
Class numberId - Default class ID to handle unclassified packets (including all local traffic).
- profile
Name string - Shaping profile name.
- comment string
- Comment.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- shaping
Entries ShapingprofileShaping Entry[] - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - type string
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- default_
class_ intid - Default class ID to handle unclassified packets (including all local traffic).
- profile_
name str - Shaping profile name.
- comment str
- Comment.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- shaping_
entries Sequence[ShapingprofileShaping Entry Args] - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - type str
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- default
Class NumberId - Default class ID to handle unclassified packets (including all local traffic).
- profile
Name String - Shaping profile name.
- comment String
- Comment.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- shaping
Entries List<Property Map> - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - type String
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Shapingprofile 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 Shapingprofile Resource
Get an existing Shapingprofile 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?: ShapingprofileState, opts?: CustomResourceOptions): Shapingprofile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
default_class_id: Optional[int] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
profile_name: Optional[str] = None,
shaping_entries: Optional[Sequence[ShapingprofileShapingEntryArgs]] = None,
type: Optional[str] = None,
vdomparam: Optional[str] = None) -> Shapingprofile
func GetShapingprofile(ctx *Context, name string, id IDInput, state *ShapingprofileState, opts ...ResourceOption) (*Shapingprofile, error)
public static Shapingprofile Get(string name, Input<string> id, ShapingprofileState? state, CustomResourceOptions? opts = null)
public static Shapingprofile get(String name, Output<String> id, ShapingprofileState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Comment string
- Comment.
- Default
Class intId - Default class ID to handle unclassified packets (including all local traffic).
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Profile
Name string - Shaping profile name.
- Shaping
Entries List<Pulumiverse.Fortios. Firewall. Inputs. Shapingprofile Shaping Entry> - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - Type string
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Comment string
- Comment.
- Default
Class intId - Default class ID to handle unclassified packets (including all local traffic).
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Profile
Name string - Shaping profile name.
- Shaping
Entries []ShapingprofileShaping Entry Args - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - Type string
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- comment String
- Comment.
- default
Class IntegerId - Default class ID to handle unclassified packets (including all local traffic).
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- profile
Name String - Shaping profile name.
- shaping
Entries List<ShapingprofileShaping Entry> - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - type String
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- comment string
- Comment.
- default
Class numberId - Default class ID to handle unclassified packets (including all local traffic).
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- profile
Name string - Shaping profile name.
- shaping
Entries ShapingprofileShaping Entry[] - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - type string
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- comment str
- Comment.
- default_
class_ intid - Default class ID to handle unclassified packets (including all local traffic).
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- profile_
name str - Shaping profile name.
- shaping_
entries Sequence[ShapingprofileShaping Entry Args] - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - type str
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- comment String
- Comment.
- default
Class NumberId - Default class ID to handle unclassified packets (including all local traffic).
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- profile
Name String - Shaping profile name.
- shaping
Entries List<Property Map> - Define shaping entries of this shaping profile. The structure of
shaping_entries
block is documented below. - type String
- Select shaping profile type: policing / queuing. Valid values:
policing
,queuing
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
ShapingprofileShapingEntry, ShapingprofileShapingEntryArgs
- Burst
In intMsec - Number of bytes that can be burst at maximum-bandwidth speed. Formula: burst = maximum-bandwidth*burst-in-msec.
- Cburst
In intMsec - Number of bytes that can be burst as fast as the interface can transmit. Formula: cburst = maximum-bandwidth*cburst-in-msec.
- Class
Id int - Class ID.
- Guaranteed
Bandwidth intPercentage - Guaranteed bandwith in percentage.
- Id int
- ID number.
- Limit int
- Hard limit on the real queue size in packets.
- Max int
- Average queue size in packets at which RED drop probability is maximal.
- Maximum
Bandwidth intPercentage - Maximum bandwith in percentage.
- Min int
- Average queue size in packets at which RED drop becomes a possibility.
- Priority string
- Priority.
- Red
Probability int - Maximum probability (in percentage) for RED marking.
- Burst
In intMsec - Number of bytes that can be burst at maximum-bandwidth speed. Formula: burst = maximum-bandwidth*burst-in-msec.
- Cburst
In intMsec - Number of bytes that can be burst as fast as the interface can transmit. Formula: cburst = maximum-bandwidth*cburst-in-msec.
- Class
Id int - Class ID.
- Guaranteed
Bandwidth intPercentage - Guaranteed bandwith in percentage.
- Id int
- ID number.
- Limit int
- Hard limit on the real queue size in packets.
- Max int
- Average queue size in packets at which RED drop probability is maximal.
- Maximum
Bandwidth intPercentage - Maximum bandwith in percentage.
- Min int
- Average queue size in packets at which RED drop becomes a possibility.
- Priority string
- Priority.
- Red
Probability int - Maximum probability (in percentage) for RED marking.
- burst
In IntegerMsec - Number of bytes that can be burst at maximum-bandwidth speed. Formula: burst = maximum-bandwidth*burst-in-msec.
- cburst
In IntegerMsec - Number of bytes that can be burst as fast as the interface can transmit. Formula: cburst = maximum-bandwidth*cburst-in-msec.
- class
Id Integer - Class ID.
- guaranteed
Bandwidth IntegerPercentage - Guaranteed bandwith in percentage.
- id Integer
- ID number.
- limit Integer
- Hard limit on the real queue size in packets.
- max Integer
- Average queue size in packets at which RED drop probability is maximal.
- maximum
Bandwidth IntegerPercentage - Maximum bandwith in percentage.
- min Integer
- Average queue size in packets at which RED drop becomes a possibility.
- priority String
- Priority.
- red
Probability Integer - Maximum probability (in percentage) for RED marking.
- burst
In numberMsec - Number of bytes that can be burst at maximum-bandwidth speed. Formula: burst = maximum-bandwidth*burst-in-msec.
- cburst
In numberMsec - Number of bytes that can be burst as fast as the interface can transmit. Formula: cburst = maximum-bandwidth*cburst-in-msec.
- class
Id number - Class ID.
- guaranteed
Bandwidth numberPercentage - Guaranteed bandwith in percentage.
- id number
- ID number.
- limit number
- Hard limit on the real queue size in packets.
- max number
- Average queue size in packets at which RED drop probability is maximal.
- maximum
Bandwidth numberPercentage - Maximum bandwith in percentage.
- min number
- Average queue size in packets at which RED drop becomes a possibility.
- priority string
- Priority.
- red
Probability number - Maximum probability (in percentage) for RED marking.
- burst_
in_ intmsec - Number of bytes that can be burst at maximum-bandwidth speed. Formula: burst = maximum-bandwidth*burst-in-msec.
- cburst_
in_ intmsec - Number of bytes that can be burst as fast as the interface can transmit. Formula: cburst = maximum-bandwidth*cburst-in-msec.
- class_
id int - Class ID.
- guaranteed_
bandwidth_ intpercentage - Guaranteed bandwith in percentage.
- id int
- ID number.
- limit int
- Hard limit on the real queue size in packets.
- max int
- Average queue size in packets at which RED drop probability is maximal.
- maximum_
bandwidth_ intpercentage - Maximum bandwith in percentage.
- min int
- Average queue size in packets at which RED drop becomes a possibility.
- priority str
- Priority.
- red_
probability int - Maximum probability (in percentage) for RED marking.
- burst
In NumberMsec - Number of bytes that can be burst at maximum-bandwidth speed. Formula: burst = maximum-bandwidth*burst-in-msec.
- cburst
In NumberMsec - Number of bytes that can be burst as fast as the interface can transmit. Formula: cburst = maximum-bandwidth*cburst-in-msec.
- class
Id Number - Class ID.
- guaranteed
Bandwidth NumberPercentage - Guaranteed bandwith in percentage.
- id Number
- ID number.
- limit Number
- Hard limit on the real queue size in packets.
- max Number
- Average queue size in packets at which RED drop probability is maximal.
- maximum
Bandwidth NumberPercentage - Maximum bandwith in percentage.
- min Number
- Average queue size in packets at which RED drop becomes a possibility.
- priority String
- Priority.
- red
Probability Number - Maximum probability (in percentage) for RED marking.
Import
Firewall ShapingProfile can be imported using any of these accepted formats:
$ pulumi import fortios:firewall/shapingprofile:Shapingprofile labelname {{profile_name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:firewall/shapingprofile:Shapingprofile labelname {{profile_name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.