1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. firewall/shaper
  6. Peripshaper
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.firewall/shaper.Peripshaper

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var peripshaperResource = new Fortios.Firewall.Shaper.Peripshaper("peripshaperResource", new()
    {
        BandwidthUnit = "string",
        DiffservForward = "string",
        DiffservReverse = "string",
        DiffservcodeForward = "string",
        DiffservcodeRev = "string",
        MaxBandwidth = 0,
        MaxConcurrentSession = 0,
        MaxConcurrentTcpSession = 0,
        MaxConcurrentUdpSession = 0,
        Name = "string",
        Vdomparam = "string",
    });
    
    example, err := firewall.NewPeripshaper(ctx, "peripshaperResource", &firewall.PeripshaperArgs{
    	BandwidthUnit:           pulumi.String("string"),
    	DiffservForward:         pulumi.String("string"),
    	DiffservReverse:         pulumi.String("string"),
    	DiffservcodeForward:     pulumi.String("string"),
    	DiffservcodeRev:         pulumi.String("string"),
    	MaxBandwidth:            pulumi.Int(0),
    	MaxConcurrentSession:    pulumi.Int(0),
    	MaxConcurrentTcpSession: pulumi.Int(0),
    	MaxConcurrentUdpSession: pulumi.Int(0),
    	Name:                    pulumi.String("string"),
    	Vdomparam:               pulumi.String("string"),
    })
    
    var peripshaperResource = new Peripshaper("peripshaperResource", PeripshaperArgs.builder()
        .bandwidthUnit("string")
        .diffservForward("string")
        .diffservReverse("string")
        .diffservcodeForward("string")
        .diffservcodeRev("string")
        .maxBandwidth(0)
        .maxConcurrentSession(0)
        .maxConcurrentTcpSession(0)
        .maxConcurrentUdpSession(0)
        .name("string")
        .vdomparam("string")
        .build());
    
    peripshaper_resource = fortios.firewall.shaper.Peripshaper("peripshaperResource",
        bandwidth_unit="string",
        diffserv_forward="string",
        diffserv_reverse="string",
        diffservcode_forward="string",
        diffservcode_rev="string",
        max_bandwidth=0,
        max_concurrent_session=0,
        max_concurrent_tcp_session=0,
        max_concurrent_udp_session=0,
        name="string",
        vdomparam="string")
    
    const peripshaperResource = new fortios.firewall.shaper.Peripshaper("peripshaperResource", {
        bandwidthUnit: "string",
        diffservForward: "string",
        diffservReverse: "string",
        diffservcodeForward: "string",
        diffservcodeRev: "string",
        maxBandwidth: 0,
        maxConcurrentSession: 0,
        maxConcurrentTcpSession: 0,
        maxConcurrentUdpSession: 0,
        name: "string",
        vdomparam: "string",
    });
    
    Coming soon!
    

    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:

    BandwidthUnit string
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    DiffservForward string
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    DiffservReverse string
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    DiffservcodeForward string
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    DiffservcodeRev string
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    MaxBandwidth 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.
    MaxConcurrentSession int
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    MaxConcurrentTcpSession int
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    MaxConcurrentUdpSession int
    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.
    BandwidthUnit string
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    DiffservForward string
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    DiffservReverse string
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    DiffservcodeForward string
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    DiffservcodeRev string
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    MaxBandwidth 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.
    MaxConcurrentSession int
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    MaxConcurrentTcpSession int
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    MaxConcurrentUdpSession int
    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.
    bandwidthUnit String
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    diffservForward String
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservReverse String
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservcodeForward String
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    diffservcodeRev String
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    maxBandwidth 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.
    maxConcurrentSession Integer
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentTcpSession Integer
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentUdpSession Integer
    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.
    bandwidthUnit string
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    diffservForward string
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservReverse string
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservcodeForward string
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    diffservcodeRev string
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    maxBandwidth 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.
    maxConcurrentSession number
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentTcpSession number
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentUdpSession number
    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_session int
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    max_concurrent_tcp_session int
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    max_concurrent_udp_session int
    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.
    bandwidthUnit String
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    diffservForward String
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservReverse String
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservcodeForward String
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    diffservcodeRev String
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    maxBandwidth 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.
    maxConcurrentSession Number
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentTcpSession Number
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentUdpSession Number
    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.
    The following state arguments are supported:
    BandwidthUnit string
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    DiffservForward string
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    DiffservReverse string
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    DiffservcodeForward string
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    DiffservcodeRev string
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    MaxBandwidth 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.
    MaxConcurrentSession int
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    MaxConcurrentTcpSession int
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    MaxConcurrentUdpSession int
    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.
    BandwidthUnit string
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    DiffservForward string
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    DiffservReverse string
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    DiffservcodeForward string
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    DiffservcodeRev string
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    MaxBandwidth 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.
    MaxConcurrentSession int
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    MaxConcurrentTcpSession int
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    MaxConcurrentUdpSession int
    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.
    bandwidthUnit String
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    diffservForward String
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservReverse String
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservcodeForward String
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    diffservcodeRev String
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    maxBandwidth 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.
    maxConcurrentSession Integer
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentTcpSession Integer
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentUdpSession Integer
    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.
    bandwidthUnit string
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    diffservForward string
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservReverse string
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservcodeForward string
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    diffservcodeRev string
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    maxBandwidth 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.
    maxConcurrentSession number
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentTcpSession number
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentUdpSession number
    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_session int
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    max_concurrent_tcp_session int
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    max_concurrent_udp_session int
    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.
    bandwidthUnit String
    Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: kbps, mbps, gbps.
    diffservForward String
    Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservReverse String
    Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: enable, disable.
    diffservcodeForward String
    Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
    diffservcodeRev String
    Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
    maxBandwidth 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.
    maxConcurrentSession Number
    Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentTcpSession Number
    Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
    maxConcurrentUdpSession Number
    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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse