shaper

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetPeripshaperlistArgs

type GetPeripshaperlistArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter *string `pulumi:"filter"`
	// Specifies the vdom to which the data source 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.
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of arguments for invoking getPeripshaperlist.

type GetPeripshaperlistOutputArgs

type GetPeripshaperlistOutputArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// Specifies the vdom to which the data source 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.
	Vdomparam pulumi.StringPtrInput `pulumi:"vdomparam"`
}

A collection of arguments for invoking getPeripshaperlist.

func (GetPeripshaperlistOutputArgs) ElementType

type GetPeripshaperlistResult

type GetPeripshaperlistResult struct {
	Filter *string `pulumi:"filter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of the `firewall/shaper.Peripshaper`.
	Namelists []string `pulumi:"namelists"`
	Vdomparam *string  `pulumi:"vdomparam"`
}

A collection of values returned by getPeripshaperlist.

func GetPeripshaperlist

func GetPeripshaperlist(ctx *pulumi.Context, args *GetPeripshaperlistArgs, opts ...pulumi.InvokeOption) (*GetPeripshaperlistResult, error)

Provides a list of `firewall/shaper.Peripshaper`.

type GetPeripshaperlistResultOutput

type GetPeripshaperlistResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPeripshaperlist.

func (GetPeripshaperlistResultOutput) ElementType

func (GetPeripshaperlistResultOutput) Filter

func (GetPeripshaperlistResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPeripshaperlistResultOutput) Namelists

A list of the `firewall/shaper.Peripshaper`.

func (GetPeripshaperlistResultOutput) ToGetPeripshaperlistResultOutput

func (o GetPeripshaperlistResultOutput) ToGetPeripshaperlistResultOutput() GetPeripshaperlistResultOutput

func (GetPeripshaperlistResultOutput) ToGetPeripshaperlistResultOutputWithContext

func (o GetPeripshaperlistResultOutput) ToGetPeripshaperlistResultOutputWithContext(ctx context.Context) GetPeripshaperlistResultOutput

func (GetPeripshaperlistResultOutput) Vdomparam

type GetTrafficshaperlistArgs

type GetTrafficshaperlistArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter *string `pulumi:"filter"`
	// Specifies the vdom to which the data source 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.
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of arguments for invoking getTrafficshaperlist.

type GetTrafficshaperlistOutputArgs

type GetTrafficshaperlistOutputArgs struct {
	// A filter used to scope the list. See Filter results of datasource.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// Specifies the vdom to which the data source 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.
	Vdomparam pulumi.StringPtrInput `pulumi:"vdomparam"`
}

A collection of arguments for invoking getTrafficshaperlist.

func (GetTrafficshaperlistOutputArgs) ElementType

type GetTrafficshaperlistResult

type GetTrafficshaperlistResult struct {
	Filter *string `pulumi:"filter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of the `firewall/shaper.Trafficshaper`.
	Namelists []string `pulumi:"namelists"`
	Vdomparam *string  `pulumi:"vdomparam"`
}

A collection of values returned by getTrafficshaperlist.

func GetTrafficshaperlist

func GetTrafficshaperlist(ctx *pulumi.Context, args *GetTrafficshaperlistArgs, opts ...pulumi.InvokeOption) (*GetTrafficshaperlistResult, error)

Provides a list of `firewall/shaper.Trafficshaper`.

type GetTrafficshaperlistResultOutput

type GetTrafficshaperlistResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTrafficshaperlist.

func (GetTrafficshaperlistResultOutput) ElementType

func (GetTrafficshaperlistResultOutput) Filter

func (GetTrafficshaperlistResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTrafficshaperlistResultOutput) Namelists

A list of the `firewall/shaper.Trafficshaper`.

func (GetTrafficshaperlistResultOutput) ToGetTrafficshaperlistResultOutput

func (o GetTrafficshaperlistResultOutput) ToGetTrafficshaperlistResultOutput() GetTrafficshaperlistResultOutput

func (GetTrafficshaperlistResultOutput) ToGetTrafficshaperlistResultOutputWithContext

func (o GetTrafficshaperlistResultOutput) ToGetTrafficshaperlistResultOutputWithContext(ctx context.Context) GetTrafficshaperlistResultOutput

func (GetTrafficshaperlistResultOutput) Vdomparam

type LookupPeripshaperArgs

type LookupPeripshaperArgs struct {
	// Specify the name of the desired firewallshaper peripshaper.
	Name string `pulumi:"name"`
	// Specifies the vdom to which the data source 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.
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of arguments for invoking getPeripshaper.

type LookupPeripshaperOutputArgs

type LookupPeripshaperOutputArgs struct {
	// Specify the name of the desired firewallshaper peripshaper.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the vdom to which the data source 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.
	Vdomparam pulumi.StringPtrInput `pulumi:"vdomparam"`
}

A collection of arguments for invoking getPeripshaper.

func (LookupPeripshaperOutputArgs) ElementType

type LookupPeripshaperResult

type LookupPeripshaperResult struct {
	// Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps).
	BandwidthUnit string `pulumi:"bandwidthUnit"`
	// Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper.
	DiffservForward string `pulumi:"diffservForward"`
	// Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper.
	DiffservReverse string `pulumi:"diffservReverse"`
	// Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
	DiffservcodeForward string `pulumi:"diffservcodeForward"`
	// Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
	DiffservcodeRev string `pulumi:"diffservcodeRev"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Upper bandwidth limit enforced by this shaper (0 - 16776000). 0 means no limit. Units depend on the bandwidth-unit setting.
	MaxBandwidth int `pulumi:"maxBandwidth"`
	// Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentSession int `pulumi:"maxConcurrentSession"`
	// Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentTcpSession int `pulumi:"maxConcurrentTcpSession"`
	// Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentUdpSession int `pulumi:"maxConcurrentUdpSession"`
	// Traffic shaper name.
	Name      string  `pulumi:"name"`
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of values returned by getPeripshaper.

func LookupPeripshaper

func LookupPeripshaper(ctx *pulumi.Context, args *LookupPeripshaperArgs, opts ...pulumi.InvokeOption) (*LookupPeripshaperResult, error)

Use this data source to get information on an fortios firewallshaper peripshaper

type LookupPeripshaperResultOutput

type LookupPeripshaperResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPeripshaper.

func (LookupPeripshaperResultOutput) BandwidthUnit

Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps).

func (LookupPeripshaperResultOutput) DiffservForward

Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper.

func (LookupPeripshaperResultOutput) DiffservReverse

Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper.

func (LookupPeripshaperResultOutput) DiffservcodeForward

func (o LookupPeripshaperResultOutput) DiffservcodeForward() pulumi.StringOutput

Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.

func (LookupPeripshaperResultOutput) DiffservcodeRev

Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.

func (LookupPeripshaperResultOutput) ElementType

func (LookupPeripshaperResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPeripshaperResultOutput) MaxBandwidth

Upper bandwidth limit enforced by this shaper (0 - 16776000). 0 means no limit. Units depend on the bandwidth-unit setting.

func (LookupPeripshaperResultOutput) MaxConcurrentSession

func (o LookupPeripshaperResultOutput) MaxConcurrentSession() pulumi.IntOutput

Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.

func (LookupPeripshaperResultOutput) MaxConcurrentTcpSession

func (o LookupPeripshaperResultOutput) MaxConcurrentTcpSession() pulumi.IntOutput

Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.

func (LookupPeripshaperResultOutput) MaxConcurrentUdpSession

func (o LookupPeripshaperResultOutput) MaxConcurrentUdpSession() pulumi.IntOutput

Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.

func (LookupPeripshaperResultOutput) Name

Traffic shaper name.

func (LookupPeripshaperResultOutput) ToLookupPeripshaperResultOutput

func (o LookupPeripshaperResultOutput) ToLookupPeripshaperResultOutput() LookupPeripshaperResultOutput

func (LookupPeripshaperResultOutput) ToLookupPeripshaperResultOutputWithContext

func (o LookupPeripshaperResultOutput) ToLookupPeripshaperResultOutputWithContext(ctx context.Context) LookupPeripshaperResultOutput

func (LookupPeripshaperResultOutput) Vdomparam

type LookupTrafficshaperArgs

type LookupTrafficshaperArgs struct {
	// Specify the name of the desired firewallshaper trafficshaper.
	Name string `pulumi:"name"`
	// Specifies the vdom to which the data source 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.
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of arguments for invoking getTrafficshaper.

type LookupTrafficshaperOutputArgs

type LookupTrafficshaperOutputArgs struct {
	// Specify the name of the desired firewallshaper trafficshaper.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the vdom to which the data source 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.
	Vdomparam pulumi.StringPtrInput `pulumi:"vdomparam"`
}

A collection of arguments for invoking getTrafficshaper.

func (LookupTrafficshaperOutputArgs) ElementType

type LookupTrafficshaperResult

type LookupTrafficshaperResult struct {
	// Unit of measurement for guaranteed and maximum bandwidth for this shaper (Kbps, Mbps or Gbps).
	BandwidthUnit string `pulumi:"bandwidthUnit"`
	// VLAN CoS mark.
	Cos string `pulumi:"cos"`
	// Enable/disable VLAN CoS marking.
	CosMarking string `pulumi:"cosMarking"`
	// Select VLAN CoS marking method.
	CosMarkingMethod string `pulumi:"cosMarkingMethod"`
	// Enable/disable changing the DiffServ setting applied to traffic accepted by this shaper.
	Diffserv string `pulumi:"diffserv"`
	// DiffServ setting to be applied to traffic accepted by this shaper.
	Diffservcode string `pulumi:"diffservcode"`
	// Select DSCP marking method.
	DscpMarkingMethod string `pulumi:"dscpMarkingMethod"`
	// Exceed bandwidth used for DSCP multi-stage marking. Units depend on the bandwidth-unit setting.
	ExceedBandwidth int `pulumi:"exceedBandwidth"`
	// Class ID for traffic in [guaranteed-bandwidth, maximum-bandwidth].
	ExceedClassId int `pulumi:"exceedClassId"`
	// VLAN CoS mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].
	ExceedCos string `pulumi:"exceedCos"`
	// DSCP mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].
	ExceedDscp string `pulumi:"exceedDscp"`
	// Amount of bandwidth guaranteed for this shaper (0 - 16776000). Units depend on the bandwidth-unit setting.
	GuaranteedBandwidth int `pulumi:"guaranteedBandwidth"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Upper bandwidth limit enforced by this shaper (0 - 16776000). 0 means no limit. Units depend on the bandwidth-unit setting.
	MaximumBandwidth int `pulumi:"maximumBandwidth"`
	// VLAN CoS mark for traffic in [exceed-bandwidth, maximum-bandwidth].
	MaximumCos string `pulumi:"maximumCos"`
	// DSCP mark for traffic in [exceed-bandwidth, maximum-bandwidth].
	MaximumDscp string `pulumi:"maximumDscp"`
	// Traffic shaper name.
	Name string `pulumi:"name"`
	// Per-packet size overhead used in rate computations.
	Overhead int `pulumi:"overhead"`
	// Enable/disable applying a separate shaper for each policy. For example, if enabled the guaranteed bandwidth is applied separately for each policy.
	PerPolicy string `pulumi:"perPolicy"`
	// Higher priority traffic is more likely to be forwarded without delays and without compromising the guaranteed bandwidth.
	Priority  string  `pulumi:"priority"`
	Vdomparam *string `pulumi:"vdomparam"`
}

A collection of values returned by getTrafficshaper.

func LookupTrafficshaper

func LookupTrafficshaper(ctx *pulumi.Context, args *LookupTrafficshaperArgs, opts ...pulumi.InvokeOption) (*LookupTrafficshaperResult, error)

Use this data source to get information on an fortios firewallshaper trafficshaper

type LookupTrafficshaperResultOutput

type LookupTrafficshaperResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTrafficshaper.

func (LookupTrafficshaperResultOutput) BandwidthUnit

Unit of measurement for guaranteed and maximum bandwidth for this shaper (Kbps, Mbps or Gbps).

func (LookupTrafficshaperResultOutput) Cos

VLAN CoS mark.

func (LookupTrafficshaperResultOutput) CosMarking

Enable/disable VLAN CoS marking.

func (LookupTrafficshaperResultOutput) CosMarkingMethod

Select VLAN CoS marking method.

func (LookupTrafficshaperResultOutput) Diffserv

Enable/disable changing the DiffServ setting applied to traffic accepted by this shaper.

func (LookupTrafficshaperResultOutput) Diffservcode

DiffServ setting to be applied to traffic accepted by this shaper.

func (LookupTrafficshaperResultOutput) DscpMarkingMethod

func (o LookupTrafficshaperResultOutput) DscpMarkingMethod() pulumi.StringOutput

Select DSCP marking method.

func (LookupTrafficshaperResultOutput) ElementType

func (LookupTrafficshaperResultOutput) ExceedBandwidth

func (o LookupTrafficshaperResultOutput) ExceedBandwidth() pulumi.IntOutput

Exceed bandwidth used for DSCP multi-stage marking. Units depend on the bandwidth-unit setting.

func (LookupTrafficshaperResultOutput) ExceedClassId

Class ID for traffic in [guaranteed-bandwidth, maximum-bandwidth].

func (LookupTrafficshaperResultOutput) ExceedCos

VLAN CoS mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].

func (LookupTrafficshaperResultOutput) ExceedDscp

DSCP mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].

func (LookupTrafficshaperResultOutput) GuaranteedBandwidth

func (o LookupTrafficshaperResultOutput) GuaranteedBandwidth() pulumi.IntOutput

Amount of bandwidth guaranteed for this shaper (0 - 16776000). Units depend on the bandwidth-unit setting.

func (LookupTrafficshaperResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTrafficshaperResultOutput) MaximumBandwidth

func (o LookupTrafficshaperResultOutput) MaximumBandwidth() pulumi.IntOutput

Upper bandwidth limit enforced by this shaper (0 - 16776000). 0 means no limit. Units depend on the bandwidth-unit setting.

func (LookupTrafficshaperResultOutput) MaximumCos

VLAN CoS mark for traffic in [exceed-bandwidth, maximum-bandwidth].

func (LookupTrafficshaperResultOutput) MaximumDscp

DSCP mark for traffic in [exceed-bandwidth, maximum-bandwidth].

func (LookupTrafficshaperResultOutput) Name

Traffic shaper name.

func (LookupTrafficshaperResultOutput) Overhead

Per-packet size overhead used in rate computations.

func (LookupTrafficshaperResultOutput) PerPolicy

Enable/disable applying a separate shaper for each policy. For example, if enabled the guaranteed bandwidth is applied separately for each policy.

func (LookupTrafficshaperResultOutput) Priority

Higher priority traffic is more likely to be forwarded without delays and without compromising the guaranteed bandwidth.

func (LookupTrafficshaperResultOutput) ToLookupTrafficshaperResultOutput

func (o LookupTrafficshaperResultOutput) ToLookupTrafficshaperResultOutput() LookupTrafficshaperResultOutput

func (LookupTrafficshaperResultOutput) ToLookupTrafficshaperResultOutputWithContext

func (o LookupTrafficshaperResultOutput) ToLookupTrafficshaperResultOutputWithContext(ctx context.Context) LookupTrafficshaperResultOutput

func (LookupTrafficshaperResultOutput) Vdomparam

type Peripshaper

type Peripshaper struct {
	pulumi.CustomResourceState

	// Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: `kbps`, `mbps`, `gbps`.
	BandwidthUnit pulumi.StringOutput `pulumi:"bandwidthUnit"`
	// Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.
	DiffservForward pulumi.StringOutput `pulumi:"diffservForward"`
	// Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.
	DiffservReverse pulumi.StringOutput `pulumi:"diffservReverse"`
	// Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
	DiffservcodeForward pulumi.StringOutput `pulumi:"diffservcodeForward"`
	// Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
	DiffservcodeRev pulumi.StringOutput `pulumi:"diffservcodeRev"`
	// 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.
	MaxBandwidth pulumi.IntOutput `pulumi:"maxBandwidth"`
	// Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentSession pulumi.IntOutput `pulumi:"maxConcurrentSession"`
	// Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentTcpSession pulumi.IntOutput `pulumi:"maxConcurrentTcpSession"`
	// Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentUdpSession pulumi.IntOutput `pulumi:"maxConcurrentUdpSession"`
	// Traffic shaper name.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure per-IP traffic shaper.

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

FirewallShaper PerIpShaper can be imported using any of these accepted formats:

```sh $ pulumi import fortios:firewall/shaper/peripshaper:Peripshaper labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:firewall/shaper/peripshaper:Peripshaper labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetPeripshaper

func GetPeripshaper(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PeripshaperState, opts ...pulumi.ResourceOption) (*Peripshaper, error)

GetPeripshaper gets an existing Peripshaper resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPeripshaper

func NewPeripshaper(ctx *pulumi.Context,
	name string, args *PeripshaperArgs, opts ...pulumi.ResourceOption) (*Peripshaper, error)

NewPeripshaper registers a new resource with the given unique name, arguments, and options.

func (*Peripshaper) ElementType

func (*Peripshaper) ElementType() reflect.Type

func (*Peripshaper) ToPeripshaperOutput

func (i *Peripshaper) ToPeripshaperOutput() PeripshaperOutput

func (*Peripshaper) ToPeripshaperOutputWithContext

func (i *Peripshaper) ToPeripshaperOutputWithContext(ctx context.Context) PeripshaperOutput

type PeripshaperArgs

type PeripshaperArgs struct {
	// Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: `kbps`, `mbps`, `gbps`.
	BandwidthUnit pulumi.StringPtrInput
	// Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.
	DiffservForward pulumi.StringPtrInput
	// Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.
	DiffservReverse pulumi.StringPtrInput
	// Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
	DiffservcodeForward pulumi.StringPtrInput
	// Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
	DiffservcodeRev pulumi.StringPtrInput
	// 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.
	MaxBandwidth pulumi.IntPtrInput
	// Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentSession pulumi.IntPtrInput
	// Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentTcpSession pulumi.IntPtrInput
	// Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentUdpSession pulumi.IntPtrInput
	// Traffic shaper name.
	Name pulumi.StringPtrInput
	// 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.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Peripshaper resource.

func (PeripshaperArgs) ElementType

func (PeripshaperArgs) ElementType() reflect.Type

type PeripshaperArray

type PeripshaperArray []PeripshaperInput

func (PeripshaperArray) ElementType

func (PeripshaperArray) ElementType() reflect.Type

func (PeripshaperArray) ToPeripshaperArrayOutput

func (i PeripshaperArray) ToPeripshaperArrayOutput() PeripshaperArrayOutput

func (PeripshaperArray) ToPeripshaperArrayOutputWithContext

func (i PeripshaperArray) ToPeripshaperArrayOutputWithContext(ctx context.Context) PeripshaperArrayOutput

type PeripshaperArrayInput

type PeripshaperArrayInput interface {
	pulumi.Input

	ToPeripshaperArrayOutput() PeripshaperArrayOutput
	ToPeripshaperArrayOutputWithContext(context.Context) PeripshaperArrayOutput
}

PeripshaperArrayInput is an input type that accepts PeripshaperArray and PeripshaperArrayOutput values. You can construct a concrete instance of `PeripshaperArrayInput` via:

PeripshaperArray{ PeripshaperArgs{...} }

type PeripshaperArrayOutput

type PeripshaperArrayOutput struct{ *pulumi.OutputState }

func (PeripshaperArrayOutput) ElementType

func (PeripshaperArrayOutput) ElementType() reflect.Type

func (PeripshaperArrayOutput) Index

func (PeripshaperArrayOutput) ToPeripshaperArrayOutput

func (o PeripshaperArrayOutput) ToPeripshaperArrayOutput() PeripshaperArrayOutput

func (PeripshaperArrayOutput) ToPeripshaperArrayOutputWithContext

func (o PeripshaperArrayOutput) ToPeripshaperArrayOutputWithContext(ctx context.Context) PeripshaperArrayOutput

type PeripshaperInput

type PeripshaperInput interface {
	pulumi.Input

	ToPeripshaperOutput() PeripshaperOutput
	ToPeripshaperOutputWithContext(ctx context.Context) PeripshaperOutput
}

type PeripshaperMap

type PeripshaperMap map[string]PeripshaperInput

func (PeripshaperMap) ElementType

func (PeripshaperMap) ElementType() reflect.Type

func (PeripshaperMap) ToPeripshaperMapOutput

func (i PeripshaperMap) ToPeripshaperMapOutput() PeripshaperMapOutput

func (PeripshaperMap) ToPeripshaperMapOutputWithContext

func (i PeripshaperMap) ToPeripshaperMapOutputWithContext(ctx context.Context) PeripshaperMapOutput

type PeripshaperMapInput

type PeripshaperMapInput interface {
	pulumi.Input

	ToPeripshaperMapOutput() PeripshaperMapOutput
	ToPeripshaperMapOutputWithContext(context.Context) PeripshaperMapOutput
}

PeripshaperMapInput is an input type that accepts PeripshaperMap and PeripshaperMapOutput values. You can construct a concrete instance of `PeripshaperMapInput` via:

PeripshaperMap{ "key": PeripshaperArgs{...} }

type PeripshaperMapOutput

type PeripshaperMapOutput struct{ *pulumi.OutputState }

func (PeripshaperMapOutput) ElementType

func (PeripshaperMapOutput) ElementType() reflect.Type

func (PeripshaperMapOutput) MapIndex

func (PeripshaperMapOutput) ToPeripshaperMapOutput

func (o PeripshaperMapOutput) ToPeripshaperMapOutput() PeripshaperMapOutput

func (PeripshaperMapOutput) ToPeripshaperMapOutputWithContext

func (o PeripshaperMapOutput) ToPeripshaperMapOutputWithContext(ctx context.Context) PeripshaperMapOutput

type PeripshaperOutput

type PeripshaperOutput struct{ *pulumi.OutputState }

func (PeripshaperOutput) BandwidthUnit

func (o PeripshaperOutput) BandwidthUnit() pulumi.StringOutput

Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: `kbps`, `mbps`, `gbps`.

func (PeripshaperOutput) DiffservForward

func (o PeripshaperOutput) DiffservForward() pulumi.StringOutput

Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.

func (PeripshaperOutput) DiffservReverse

func (o PeripshaperOutput) DiffservReverse() pulumi.StringOutput

Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.

func (PeripshaperOutput) DiffservcodeForward

func (o PeripshaperOutput) DiffservcodeForward() pulumi.StringOutput

Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.

func (PeripshaperOutput) DiffservcodeRev

func (o PeripshaperOutput) DiffservcodeRev() pulumi.StringOutput

Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.

func (PeripshaperOutput) ElementType

func (PeripshaperOutput) ElementType() reflect.Type

func (PeripshaperOutput) MaxBandwidth

func (o PeripshaperOutput) MaxBandwidth() pulumi.IntOutput

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.

func (PeripshaperOutput) MaxConcurrentSession

func (o PeripshaperOutput) MaxConcurrentSession() pulumi.IntOutput

Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.

func (PeripshaperOutput) MaxConcurrentTcpSession

func (o PeripshaperOutput) MaxConcurrentTcpSession() pulumi.IntOutput

Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.

func (PeripshaperOutput) MaxConcurrentUdpSession

func (o PeripshaperOutput) MaxConcurrentUdpSession() pulumi.IntOutput

Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.

func (PeripshaperOutput) Name

Traffic shaper name.

func (PeripshaperOutput) ToPeripshaperOutput

func (o PeripshaperOutput) ToPeripshaperOutput() PeripshaperOutput

func (PeripshaperOutput) ToPeripshaperOutputWithContext

func (o PeripshaperOutput) ToPeripshaperOutputWithContext(ctx context.Context) PeripshaperOutput

func (PeripshaperOutput) Vdomparam

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.

type PeripshaperState

type PeripshaperState struct {
	// Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: `kbps`, `mbps`, `gbps`.
	BandwidthUnit pulumi.StringPtrInput
	// Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.
	DiffservForward pulumi.StringPtrInput
	// Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.
	DiffservReverse pulumi.StringPtrInput
	// Forward (original) DiffServ setting to be applied to traffic accepted by this shaper.
	DiffservcodeForward pulumi.StringPtrInput
	// Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper.
	DiffservcodeRev pulumi.StringPtrInput
	// 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.
	MaxBandwidth pulumi.IntPtrInput
	// Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentSession pulumi.IntPtrInput
	// Maximum number of concurrent TCP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentTcpSession pulumi.IntPtrInput
	// Maximum number of concurrent UDP sessions allowed by this shaper (0 - 2097000). 0 means no limit.
	MaxConcurrentUdpSession pulumi.IntPtrInput
	// Traffic shaper name.
	Name pulumi.StringPtrInput
	// 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.
	Vdomparam pulumi.StringPtrInput
}

func (PeripshaperState) ElementType

func (PeripshaperState) ElementType() reflect.Type

type Trafficshaper

type Trafficshaper struct {
	pulumi.CustomResourceState

	// Unit of measurement for guaranteed and maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: `kbps`, `mbps`, `gbps`.
	BandwidthUnit pulumi.StringOutput `pulumi:"bandwidthUnit"`
	// VLAN CoS mark.
	Cos pulumi.StringOutput `pulumi:"cos"`
	// Enable/disable VLAN CoS marking. Valid values: `enable`, `disable`.
	CosMarking pulumi.StringOutput `pulumi:"cosMarking"`
	// Select VLAN CoS marking method. Valid values: `multi-stage`, `static`.
	CosMarkingMethod pulumi.StringOutput `pulumi:"cosMarkingMethod"`
	// Enable/disable changing the DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.
	Diffserv pulumi.StringOutput `pulumi:"diffserv"`
	// DiffServ setting to be applied to traffic accepted by this shaper.
	Diffservcode pulumi.StringOutput `pulumi:"diffservcode"`
	// Select DSCP marking method. Valid values: `multi-stage`, `static`.
	DscpMarkingMethod pulumi.StringOutput `pulumi:"dscpMarkingMethod"`
	// Exceed bandwidth used for DSCP multi-stage marking. Units depend on the bandwidth-unit setting.
	ExceedBandwidth pulumi.IntOutput `pulumi:"exceedBandwidth"`
	// Class ID for traffic in [guaranteed-bandwidth, maximum-bandwidth].
	ExceedClassId pulumi.IntOutput `pulumi:"exceedClassId"`
	// VLAN CoS mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].
	ExceedCos pulumi.StringOutput `pulumi:"exceedCos"`
	// DSCP mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].
	ExceedDscp pulumi.StringOutput `pulumi:"exceedDscp"`
	// Amount of bandwidth guaranteed for this shaper. 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.
	GuaranteedBandwidth pulumi.IntOutput `pulumi:"guaranteedBandwidth"`
	// 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.
	MaximumBandwidth pulumi.IntOutput `pulumi:"maximumBandwidth"`
	// VLAN CoS mark for traffic in [exceed-bandwidth, maximum-bandwidth].
	MaximumCos pulumi.StringOutput `pulumi:"maximumCos"`
	// DSCP mark for traffic in [exceed-bandwidth, maximum-bandwidth].
	MaximumDscp pulumi.StringOutput `pulumi:"maximumDscp"`
	// Traffic shaper name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Per-packet size overhead used in rate computations.
	Overhead pulumi.IntOutput `pulumi:"overhead"`
	// Enable/disable applying a separate shaper for each policy. For example, if enabled the guaranteed bandwidth is applied separately for each policy. Valid values: `disable`, `enable`.
	PerPolicy pulumi.StringOutput `pulumi:"perPolicy"`
	// Higher priority traffic is more likely to be forwarded without delays and without compromising the guaranteed bandwidth. Valid values: `low`, `medium`, `high`.
	Priority pulumi.StringOutput `pulumi:"priority"`
	// 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.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure shared traffic shaper.

## Example Usage

<!--Start PulumiCodeChooser --> ```go 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.NewTrafficshaper(ctx, "trname", &firewall.TrafficshaperArgs{
			BandwidthUnit:       pulumi.String("kbps"),
			Diffserv:            pulumi.String("disable"),
			Diffservcode:        pulumi.String("000000"),
			GuaranteedBandwidth: pulumi.Int(0),
			MaximumBandwidth:    pulumi.Int(1024),
			PerPolicy:           pulumi.String("disable"),
			Priority:            pulumi.String("low"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

FirewallShaper TrafficShaper can be imported using any of these accepted formats:

```sh $ pulumi import fortios:firewall/shaper/trafficshaper:Trafficshaper labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:firewall/shaper/trafficshaper:Trafficshaper labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetTrafficshaper

func GetTrafficshaper(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TrafficshaperState, opts ...pulumi.ResourceOption) (*Trafficshaper, error)

GetTrafficshaper gets an existing Trafficshaper resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTrafficshaper

func NewTrafficshaper(ctx *pulumi.Context,
	name string, args *TrafficshaperArgs, opts ...pulumi.ResourceOption) (*Trafficshaper, error)

NewTrafficshaper registers a new resource with the given unique name, arguments, and options.

func (*Trafficshaper) ElementType

func (*Trafficshaper) ElementType() reflect.Type

func (*Trafficshaper) ToTrafficshaperOutput

func (i *Trafficshaper) ToTrafficshaperOutput() TrafficshaperOutput

func (*Trafficshaper) ToTrafficshaperOutputWithContext

func (i *Trafficshaper) ToTrafficshaperOutputWithContext(ctx context.Context) TrafficshaperOutput

type TrafficshaperArgs

type TrafficshaperArgs struct {
	// Unit of measurement for guaranteed and maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: `kbps`, `mbps`, `gbps`.
	BandwidthUnit pulumi.StringPtrInput
	// VLAN CoS mark.
	Cos pulumi.StringPtrInput
	// Enable/disable VLAN CoS marking. Valid values: `enable`, `disable`.
	CosMarking pulumi.StringPtrInput
	// Select VLAN CoS marking method. Valid values: `multi-stage`, `static`.
	CosMarkingMethod pulumi.StringPtrInput
	// Enable/disable changing the DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.
	Diffserv pulumi.StringPtrInput
	// DiffServ setting to be applied to traffic accepted by this shaper.
	Diffservcode pulumi.StringPtrInput
	// Select DSCP marking method. Valid values: `multi-stage`, `static`.
	DscpMarkingMethod pulumi.StringPtrInput
	// Exceed bandwidth used for DSCP multi-stage marking. Units depend on the bandwidth-unit setting.
	ExceedBandwidth pulumi.IntPtrInput
	// Class ID for traffic in [guaranteed-bandwidth, maximum-bandwidth].
	ExceedClassId pulumi.IntPtrInput
	// VLAN CoS mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].
	ExceedCos pulumi.StringPtrInput
	// DSCP mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].
	ExceedDscp pulumi.StringPtrInput
	// Amount of bandwidth guaranteed for this shaper. 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.
	GuaranteedBandwidth pulumi.IntPtrInput
	// 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.
	MaximumBandwidth pulumi.IntPtrInput
	// VLAN CoS mark for traffic in [exceed-bandwidth, maximum-bandwidth].
	MaximumCos pulumi.StringPtrInput
	// DSCP mark for traffic in [exceed-bandwidth, maximum-bandwidth].
	MaximumDscp pulumi.StringPtrInput
	// Traffic shaper name.
	Name pulumi.StringPtrInput
	// Per-packet size overhead used in rate computations.
	Overhead pulumi.IntPtrInput
	// Enable/disable applying a separate shaper for each policy. For example, if enabled the guaranteed bandwidth is applied separately for each policy. Valid values: `disable`, `enable`.
	PerPolicy pulumi.StringPtrInput
	// Higher priority traffic is more likely to be forwarded without delays and without compromising the guaranteed bandwidth. Valid values: `low`, `medium`, `high`.
	Priority pulumi.StringPtrInput
	// 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.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Trafficshaper resource.

func (TrafficshaperArgs) ElementType

func (TrafficshaperArgs) ElementType() reflect.Type

type TrafficshaperArray

type TrafficshaperArray []TrafficshaperInput

func (TrafficshaperArray) ElementType

func (TrafficshaperArray) ElementType() reflect.Type

func (TrafficshaperArray) ToTrafficshaperArrayOutput

func (i TrafficshaperArray) ToTrafficshaperArrayOutput() TrafficshaperArrayOutput

func (TrafficshaperArray) ToTrafficshaperArrayOutputWithContext

func (i TrafficshaperArray) ToTrafficshaperArrayOutputWithContext(ctx context.Context) TrafficshaperArrayOutput

type TrafficshaperArrayInput

type TrafficshaperArrayInput interface {
	pulumi.Input

	ToTrafficshaperArrayOutput() TrafficshaperArrayOutput
	ToTrafficshaperArrayOutputWithContext(context.Context) TrafficshaperArrayOutput
}

TrafficshaperArrayInput is an input type that accepts TrafficshaperArray and TrafficshaperArrayOutput values. You can construct a concrete instance of `TrafficshaperArrayInput` via:

TrafficshaperArray{ TrafficshaperArgs{...} }

type TrafficshaperArrayOutput

type TrafficshaperArrayOutput struct{ *pulumi.OutputState }

func (TrafficshaperArrayOutput) ElementType

func (TrafficshaperArrayOutput) ElementType() reflect.Type

func (TrafficshaperArrayOutput) Index

func (TrafficshaperArrayOutput) ToTrafficshaperArrayOutput

func (o TrafficshaperArrayOutput) ToTrafficshaperArrayOutput() TrafficshaperArrayOutput

func (TrafficshaperArrayOutput) ToTrafficshaperArrayOutputWithContext

func (o TrafficshaperArrayOutput) ToTrafficshaperArrayOutputWithContext(ctx context.Context) TrafficshaperArrayOutput

type TrafficshaperInput

type TrafficshaperInput interface {
	pulumi.Input

	ToTrafficshaperOutput() TrafficshaperOutput
	ToTrafficshaperOutputWithContext(ctx context.Context) TrafficshaperOutput
}

type TrafficshaperMap

type TrafficshaperMap map[string]TrafficshaperInput

func (TrafficshaperMap) ElementType

func (TrafficshaperMap) ElementType() reflect.Type

func (TrafficshaperMap) ToTrafficshaperMapOutput

func (i TrafficshaperMap) ToTrafficshaperMapOutput() TrafficshaperMapOutput

func (TrafficshaperMap) ToTrafficshaperMapOutputWithContext

func (i TrafficshaperMap) ToTrafficshaperMapOutputWithContext(ctx context.Context) TrafficshaperMapOutput

type TrafficshaperMapInput

type TrafficshaperMapInput interface {
	pulumi.Input

	ToTrafficshaperMapOutput() TrafficshaperMapOutput
	ToTrafficshaperMapOutputWithContext(context.Context) TrafficshaperMapOutput
}

TrafficshaperMapInput is an input type that accepts TrafficshaperMap and TrafficshaperMapOutput values. You can construct a concrete instance of `TrafficshaperMapInput` via:

TrafficshaperMap{ "key": TrafficshaperArgs{...} }

type TrafficshaperMapOutput

type TrafficshaperMapOutput struct{ *pulumi.OutputState }

func (TrafficshaperMapOutput) ElementType

func (TrafficshaperMapOutput) ElementType() reflect.Type

func (TrafficshaperMapOutput) MapIndex

func (TrafficshaperMapOutput) ToTrafficshaperMapOutput

func (o TrafficshaperMapOutput) ToTrafficshaperMapOutput() TrafficshaperMapOutput

func (TrafficshaperMapOutput) ToTrafficshaperMapOutputWithContext

func (o TrafficshaperMapOutput) ToTrafficshaperMapOutputWithContext(ctx context.Context) TrafficshaperMapOutput

type TrafficshaperOutput

type TrafficshaperOutput struct{ *pulumi.OutputState }

func (TrafficshaperOutput) BandwidthUnit

func (o TrafficshaperOutput) BandwidthUnit() pulumi.StringOutput

Unit of measurement for guaranteed and maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: `kbps`, `mbps`, `gbps`.

func (TrafficshaperOutput) Cos

VLAN CoS mark.

func (TrafficshaperOutput) CosMarking

func (o TrafficshaperOutput) CosMarking() pulumi.StringOutput

Enable/disable VLAN CoS marking. Valid values: `enable`, `disable`.

func (TrafficshaperOutput) CosMarkingMethod

func (o TrafficshaperOutput) CosMarkingMethod() pulumi.StringOutput

Select VLAN CoS marking method. Valid values: `multi-stage`, `static`.

func (TrafficshaperOutput) Diffserv

Enable/disable changing the DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.

func (TrafficshaperOutput) Diffservcode

func (o TrafficshaperOutput) Diffservcode() pulumi.StringOutput

DiffServ setting to be applied to traffic accepted by this shaper.

func (TrafficshaperOutput) DscpMarkingMethod

func (o TrafficshaperOutput) DscpMarkingMethod() pulumi.StringOutput

Select DSCP marking method. Valid values: `multi-stage`, `static`.

func (TrafficshaperOutput) ElementType

func (TrafficshaperOutput) ElementType() reflect.Type

func (TrafficshaperOutput) ExceedBandwidth

func (o TrafficshaperOutput) ExceedBandwidth() pulumi.IntOutput

Exceed bandwidth used for DSCP multi-stage marking. Units depend on the bandwidth-unit setting.

func (TrafficshaperOutput) ExceedClassId

func (o TrafficshaperOutput) ExceedClassId() pulumi.IntOutput

Class ID for traffic in [guaranteed-bandwidth, maximum-bandwidth].

func (TrafficshaperOutput) ExceedCos

func (o TrafficshaperOutput) ExceedCos() pulumi.StringOutput

VLAN CoS mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].

func (TrafficshaperOutput) ExceedDscp

func (o TrafficshaperOutput) ExceedDscp() pulumi.StringOutput

DSCP mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].

func (TrafficshaperOutput) GuaranteedBandwidth

func (o TrafficshaperOutput) GuaranteedBandwidth() pulumi.IntOutput

Amount of bandwidth guaranteed for this shaper. 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.

func (TrafficshaperOutput) MaximumBandwidth

func (o TrafficshaperOutput) MaximumBandwidth() pulumi.IntOutput

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.

func (TrafficshaperOutput) MaximumCos

func (o TrafficshaperOutput) MaximumCos() pulumi.StringOutput

VLAN CoS mark for traffic in [exceed-bandwidth, maximum-bandwidth].

func (TrafficshaperOutput) MaximumDscp

func (o TrafficshaperOutput) MaximumDscp() pulumi.StringOutput

DSCP mark for traffic in [exceed-bandwidth, maximum-bandwidth].

func (TrafficshaperOutput) Name

Traffic shaper name.

func (TrafficshaperOutput) Overhead

func (o TrafficshaperOutput) Overhead() pulumi.IntOutput

Per-packet size overhead used in rate computations.

func (TrafficshaperOutput) PerPolicy

func (o TrafficshaperOutput) PerPolicy() pulumi.StringOutput

Enable/disable applying a separate shaper for each policy. For example, if enabled the guaranteed bandwidth is applied separately for each policy. Valid values: `disable`, `enable`.

func (TrafficshaperOutput) Priority

Higher priority traffic is more likely to be forwarded without delays and without compromising the guaranteed bandwidth. Valid values: `low`, `medium`, `high`.

func (TrafficshaperOutput) ToTrafficshaperOutput

func (o TrafficshaperOutput) ToTrafficshaperOutput() TrafficshaperOutput

func (TrafficshaperOutput) ToTrafficshaperOutputWithContext

func (o TrafficshaperOutput) ToTrafficshaperOutputWithContext(ctx context.Context) TrafficshaperOutput

func (TrafficshaperOutput) Vdomparam

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.

type TrafficshaperState

type TrafficshaperState struct {
	// Unit of measurement for guaranteed and maximum bandwidth for this shaper (Kbps, Mbps or Gbps). Valid values: `kbps`, `mbps`, `gbps`.
	BandwidthUnit pulumi.StringPtrInput
	// VLAN CoS mark.
	Cos pulumi.StringPtrInput
	// Enable/disable VLAN CoS marking. Valid values: `enable`, `disable`.
	CosMarking pulumi.StringPtrInput
	// Select VLAN CoS marking method. Valid values: `multi-stage`, `static`.
	CosMarkingMethod pulumi.StringPtrInput
	// Enable/disable changing the DiffServ setting applied to traffic accepted by this shaper. Valid values: `enable`, `disable`.
	Diffserv pulumi.StringPtrInput
	// DiffServ setting to be applied to traffic accepted by this shaper.
	Diffservcode pulumi.StringPtrInput
	// Select DSCP marking method. Valid values: `multi-stage`, `static`.
	DscpMarkingMethod pulumi.StringPtrInput
	// Exceed bandwidth used for DSCP multi-stage marking. Units depend on the bandwidth-unit setting.
	ExceedBandwidth pulumi.IntPtrInput
	// Class ID for traffic in [guaranteed-bandwidth, maximum-bandwidth].
	ExceedClassId pulumi.IntPtrInput
	// VLAN CoS mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].
	ExceedCos pulumi.StringPtrInput
	// DSCP mark for traffic in [guaranteed-bandwidth, exceed-bandwidth].
	ExceedDscp pulumi.StringPtrInput
	// Amount of bandwidth guaranteed for this shaper. 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.
	GuaranteedBandwidth pulumi.IntPtrInput
	// 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.
	MaximumBandwidth pulumi.IntPtrInput
	// VLAN CoS mark for traffic in [exceed-bandwidth, maximum-bandwidth].
	MaximumCos pulumi.StringPtrInput
	// DSCP mark for traffic in [exceed-bandwidth, maximum-bandwidth].
	MaximumDscp pulumi.StringPtrInput
	// Traffic shaper name.
	Name pulumi.StringPtrInput
	// Per-packet size overhead used in rate computations.
	Overhead pulumi.IntPtrInput
	// Enable/disable applying a separate shaper for each policy. For example, if enabled the guaranteed bandwidth is applied separately for each policy. Valid values: `disable`, `enable`.
	PerPolicy pulumi.StringPtrInput
	// Higher priority traffic is more likely to be forwarded without delays and without compromising the guaranteed bandwidth. Valid values: `low`, `medium`, `high`.
	Priority pulumi.StringPtrInput
	// 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.
	Vdomparam pulumi.StringPtrInput
}

func (TrafficshaperState) ElementType

func (TrafficshaperState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL