fortios.firewall/shaper.Peripshaper
Explore with Pulumi AI
Configure per-IP traffic shaper.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.firewall.shaper.Peripshaper("trname", {
bandwidthUnit: "kbps",
diffservForward: "disable",
diffservReverse: "disable",
diffservcodeForward: "000000",
diffservcodeRev: "000000",
maxBandwidth: 1024,
maxConcurrentSession: 33,
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.firewall.shaper.Peripshaper("trname",
bandwidth_unit="kbps",
diffserv_forward="disable",
diffserv_reverse="disable",
diffservcode_forward="000000",
diffservcode_rev="000000",
max_bandwidth=1024,
max_concurrent_session=33)
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.NewPeripshaper(ctx, "trname", &firewall.PeripshaperArgs{
BandwidthUnit: pulumi.String("kbps"),
DiffservForward: pulumi.String("disable"),
DiffservReverse: pulumi.String("disable"),
DiffservcodeForward: pulumi.String("000000"),
DiffservcodeRev: pulumi.String("000000"),
MaxBandwidth: pulumi.Int(1024),
MaxConcurrentSession: pulumi.Int(33),
})
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.Shaper.Peripshaper("trname", new()
{
BandwidthUnit = "kbps",
DiffservForward = "disable",
DiffservReverse = "disable",
DiffservcodeForward = "000000",
DiffservcodeRev = "000000",
MaxBandwidth = 1024,
MaxConcurrentSession = 33,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.firewall.Peripshaper;
import com.pulumi.fortios.firewall.PeripshaperArgs;
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 Peripshaper("trname", PeripshaperArgs.builder()
.bandwidthUnit("kbps")
.diffservForward("disable")
.diffservReverse("disable")
.diffservcodeForward("000000")
.diffservcodeRev("000000")
.maxBandwidth(1024)
.maxConcurrentSession(33)
.build());
}
}
resources:
trname:
type: fortios:firewall/shaper:Peripshaper
properties:
bandwidthUnit: kbps
diffservForward: disable
diffservReverse: disable
diffservcodeForward: '000000'
diffservcodeRev: '000000'
maxBandwidth: 1024
maxConcurrentSession: 33
Create Peripshaper Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Peripshaper(name: string, args?: PeripshaperArgs, opts?: CustomResourceOptions);
@overload
def Peripshaper(resource_name: str,
args: Optional[PeripshaperArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Peripshaper(resource_name: str,
opts: Optional[ResourceOptions] = None,
bandwidth_unit: Optional[str] = None,
diffserv_forward: Optional[str] = None,
diffserv_reverse: Optional[str] = None,
diffservcode_forward: Optional[str] = None,
diffservcode_rev: Optional[str] = None,
max_bandwidth: Optional[int] = None,
max_concurrent_session: Optional[int] = None,
max_concurrent_tcp_session: Optional[int] = None,
max_concurrent_udp_session: Optional[int] = None,
name: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewPeripshaper(ctx *Context, name string, args *PeripshaperArgs, opts ...ResourceOption) (*Peripshaper, error)
public Peripshaper(string name, PeripshaperArgs? args = null, CustomResourceOptions? opts = null)
public Peripshaper(String name, PeripshaperArgs args)
public Peripshaper(String name, PeripshaperArgs args, CustomResourceOptions options)
type: fortios:firewall/shaper/peripshaper:Peripshaper
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 PeripshaperArgs
- 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 PeripshaperArgs
- 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 PeripshaperArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PeripshaperArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PeripshaperArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Peripshaper 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 Peripshaper resource accepts the following input properties:
- Bandwidth
Unit string - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - Diffserv
Forward string - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - Diffservcode
Forward string - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- Diffservcode
Rev string - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- Max
Bandwidth int - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- Max
Concurrent intSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Max
Concurrent intTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Max
Concurrent intUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Name string
- Traffic shaper name.
- 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.
- Bandwidth
Unit string - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - Diffserv
Forward string - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - Diffservcode
Forward string - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- Diffservcode
Rev string - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- Max
Bandwidth int - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- Max
Concurrent intSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Max
Concurrent intTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Max
Concurrent intUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Name string
- Traffic shaper name.
- 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.
- bandwidth
Unit String - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - diffserv
Forward String - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffservcode
Forward String - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- diffservcode
Rev String - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- max
Bandwidth Integer - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- max
Concurrent IntegerSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent IntegerTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent IntegerUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- name String
- Traffic shaper name.
- 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.
- bandwidth
Unit string - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - diffserv
Forward string - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffserv
Reverse string - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffservcode
Forward string - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- diffservcode
Rev string - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- max
Bandwidth number - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- max
Concurrent numberSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent numberTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent numberUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- name string
- Traffic shaper name.
- 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.
- bandwidth_
unit str - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - diffserv_
forward str - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffserv_
reverse str - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffservcode_
forward str - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- diffservcode_
rev str - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- max_
bandwidth int - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- max_
concurrent_ intsession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max_
concurrent_ inttcp_ session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max_
concurrent_ intudp_ session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- name str
- Traffic shaper name.
- 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.
- bandwidth
Unit String - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - diffserv
Forward String - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffservcode
Forward String - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- diffservcode
Rev String - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- max
Bandwidth Number - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- max
Concurrent NumberSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent NumberTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent NumberUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- name String
- Traffic shaper name.
- 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 Peripshaper 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 Peripshaper Resource
Get an existing Peripshaper 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?: PeripshaperState, opts?: CustomResourceOptions): Peripshaper
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth_unit: Optional[str] = None,
diffserv_forward: Optional[str] = None,
diffserv_reverse: Optional[str] = None,
diffservcode_forward: Optional[str] = None,
diffservcode_rev: Optional[str] = None,
max_bandwidth: Optional[int] = None,
max_concurrent_session: Optional[int] = None,
max_concurrent_tcp_session: Optional[int] = None,
max_concurrent_udp_session: Optional[int] = None,
name: Optional[str] = None,
vdomparam: Optional[str] = None) -> Peripshaper
func GetPeripshaper(ctx *Context, name string, id IDInput, state *PeripshaperState, opts ...ResourceOption) (*Peripshaper, error)
public static Peripshaper Get(string name, Input<string> id, PeripshaperState? state, CustomResourceOptions? opts = null)
public static Peripshaper get(String name, Output<String> id, PeripshaperState 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.
- Bandwidth
Unit string - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - Diffserv
Forward string - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - Diffservcode
Forward string - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- Diffservcode
Rev string - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- Max
Bandwidth int - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- Max
Concurrent intSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Max
Concurrent intTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Max
Concurrent intUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Name string
- Traffic shaper name.
- 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.
- Bandwidth
Unit string - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - Diffserv
Forward string - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - Diffservcode
Forward string - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- Diffservcode
Rev string - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- Max
Bandwidth int - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- Max
Concurrent intSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Max
Concurrent intTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Max
Concurrent intUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- Name string
- Traffic shaper name.
- 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.
- bandwidth
Unit String - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - diffserv
Forward String - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffservcode
Forward String - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- diffservcode
Rev String - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- max
Bandwidth Integer - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- max
Concurrent IntegerSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent IntegerTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent IntegerUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- name String
- Traffic shaper name.
- 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.
- bandwidth
Unit string - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - diffserv
Forward string - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffserv
Reverse string - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffservcode
Forward string - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- diffservcode
Rev string - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- max
Bandwidth number - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- max
Concurrent numberSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent numberTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent numberUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- name string
- Traffic shaper name.
- 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.
- bandwidth_
unit str - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - diffserv_
forward str - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffserv_
reverse str - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffservcode_
forward str - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- diffservcode_
rev str - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- max_
bandwidth int - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- max_
concurrent_ intsession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max_
concurrent_ inttcp_ session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max_
concurrent_ intudp_ session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- name str
- Traffic shaper name.
- 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.
- bandwidth
Unit String - Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values:
kbps
,mbps
,gbps
. - diffserv
Forward String - Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values:
enable
,disable
. - diffservcode
Forward String - Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
- diffservcode
Rev String - Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
- max
Bandwidth Number - Upper bandwidth limit enforced by this shaper. 0 means no limit. Units depend on the bandwidth-unit setting. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: 0 - 16776000. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: 0 - 80000000.
- max
Concurrent NumberSession - Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent NumberTcp Session - Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- max
Concurrent NumberUdp Session - Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
- name String
- Traffic shaper name.
- 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.
Import
FirewallShaper PerIpShaper can be imported using any of these accepted formats:
$ pulumi import fortios:firewall/shaper/peripshaper:Peripshaper labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:firewall/shaper/peripshaper:Peripshaper labelname {{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.