Documentation
¶
Index ¶
- type Dot1pmap
- type Dot1pmapArgs
- type Dot1pmapArray
- type Dot1pmapArrayInput
- type Dot1pmapArrayOutput
- type Dot1pmapInput
- type Dot1pmapMap
- type Dot1pmapMapInput
- type Dot1pmapMapOutput
- type Dot1pmapOutput
- func (o Dot1pmapOutput) Description() pulumi.StringOutput
- func (o Dot1pmapOutput) EgressPriTagging() pulumi.StringOutput
- func (Dot1pmapOutput) ElementType() reflect.Type
- func (o Dot1pmapOutput) Name() pulumi.StringOutput
- func (o Dot1pmapOutput) Priority0() pulumi.StringOutput
- func (o Dot1pmapOutput) Priority1() pulumi.StringOutput
- func (o Dot1pmapOutput) Priority2() pulumi.StringOutput
- func (o Dot1pmapOutput) Priority3() pulumi.StringOutput
- func (o Dot1pmapOutput) Priority4() pulumi.StringOutput
- func (o Dot1pmapOutput) Priority5() pulumi.StringOutput
- func (o Dot1pmapOutput) Priority6() pulumi.StringOutput
- func (o Dot1pmapOutput) Priority7() pulumi.StringOutput
- func (o Dot1pmapOutput) ToDot1pmapOutput() Dot1pmapOutput
- func (o Dot1pmapOutput) ToDot1pmapOutputWithContext(ctx context.Context) Dot1pmapOutput
- func (o Dot1pmapOutput) Vdomparam() pulumi.StringOutput
- type Dot1pmapState
- type Ipdscpmap
- type IpdscpmapArgs
- type IpdscpmapArray
- type IpdscpmapArrayInput
- type IpdscpmapArrayOutput
- func (IpdscpmapArrayOutput) ElementType() reflect.Type
- func (o IpdscpmapArrayOutput) Index(i pulumi.IntInput) IpdscpmapOutput
- func (o IpdscpmapArrayOutput) ToIpdscpmapArrayOutput() IpdscpmapArrayOutput
- func (o IpdscpmapArrayOutput) ToIpdscpmapArrayOutputWithContext(ctx context.Context) IpdscpmapArrayOutput
- type IpdscpmapInput
- type IpdscpmapMap
- type IpdscpmapMapInput
- type IpdscpmapMapOutput
- type IpdscpmapMapType
- type IpdscpmapMapTypeArgs
- type IpdscpmapMapTypeArray
- type IpdscpmapMapTypeArrayInput
- type IpdscpmapMapTypeArrayOutput
- func (IpdscpmapMapTypeArrayOutput) ElementType() reflect.Type
- func (o IpdscpmapMapTypeArrayOutput) Index(i pulumi.IntInput) IpdscpmapMapTypeOutput
- func (o IpdscpmapMapTypeArrayOutput) ToIpdscpmapMapTypeArrayOutput() IpdscpmapMapTypeArrayOutput
- func (o IpdscpmapMapTypeArrayOutput) ToIpdscpmapMapTypeArrayOutputWithContext(ctx context.Context) IpdscpmapMapTypeArrayOutput
- type IpdscpmapMapTypeInput
- type IpdscpmapMapTypeOutput
- func (o IpdscpmapMapTypeOutput) CosQueue() pulumi.IntPtrOutput
- func (o IpdscpmapMapTypeOutput) Diffserv() pulumi.StringPtrOutput
- func (IpdscpmapMapTypeOutput) ElementType() reflect.Type
- func (o IpdscpmapMapTypeOutput) IpPrecedence() pulumi.StringPtrOutput
- func (o IpdscpmapMapTypeOutput) Name() pulumi.StringPtrOutput
- func (o IpdscpmapMapTypeOutput) ToIpdscpmapMapTypeOutput() IpdscpmapMapTypeOutput
- func (o IpdscpmapMapTypeOutput) ToIpdscpmapMapTypeOutputWithContext(ctx context.Context) IpdscpmapMapTypeOutput
- func (o IpdscpmapMapTypeOutput) Value() pulumi.StringPtrOutput
- type IpdscpmapOutput
- func (o IpdscpmapOutput) Description() pulumi.StringOutput
- func (o IpdscpmapOutput) DynamicSortSubtable() pulumi.StringPtrOutput
- func (IpdscpmapOutput) ElementType() reflect.Type
- func (o IpdscpmapOutput) GetAllTables() pulumi.StringPtrOutput
- func (o IpdscpmapOutput) Maps() IpdscpmapMapTypeArrayOutput
- func (o IpdscpmapOutput) Name() pulumi.StringOutput
- func (o IpdscpmapOutput) ToIpdscpmapOutput() IpdscpmapOutput
- func (o IpdscpmapOutput) ToIpdscpmapOutputWithContext(ctx context.Context) IpdscpmapOutput
- func (o IpdscpmapOutput) Vdomparam() pulumi.StringOutput
- type IpdscpmapState
- type Qospolicy
- type QospolicyArgs
- type QospolicyArray
- type QospolicyArrayInput
- type QospolicyArrayOutput
- func (QospolicyArrayOutput) ElementType() reflect.Type
- func (o QospolicyArrayOutput) Index(i pulumi.IntInput) QospolicyOutput
- func (o QospolicyArrayOutput) ToQospolicyArrayOutput() QospolicyArrayOutput
- func (o QospolicyArrayOutput) ToQospolicyArrayOutputWithContext(ctx context.Context) QospolicyArrayOutput
- type QospolicyInput
- type QospolicyMap
- type QospolicyMapInput
- type QospolicyMapOutput
- type QospolicyOutput
- func (o QospolicyOutput) DefaultCos() pulumi.IntOutput
- func (QospolicyOutput) ElementType() reflect.Type
- func (o QospolicyOutput) Name() pulumi.StringOutput
- func (o QospolicyOutput) QueuePolicy() pulumi.StringOutput
- func (o QospolicyOutput) ToQospolicyOutput() QospolicyOutput
- func (o QospolicyOutput) ToQospolicyOutputWithContext(ctx context.Context) QospolicyOutput
- func (o QospolicyOutput) TrustDot1pMap() pulumi.StringOutput
- func (o QospolicyOutput) TrustIpDscpMap() pulumi.StringOutput
- func (o QospolicyOutput) Vdomparam() pulumi.StringOutput
- type QospolicyState
- type Queuepolicy
- type QueuepolicyArgs
- type QueuepolicyArray
- type QueuepolicyArrayInput
- type QueuepolicyArrayOutput
- func (QueuepolicyArrayOutput) ElementType() reflect.Type
- func (o QueuepolicyArrayOutput) Index(i pulumi.IntInput) QueuepolicyOutput
- func (o QueuepolicyArrayOutput) ToQueuepolicyArrayOutput() QueuepolicyArrayOutput
- func (o QueuepolicyArrayOutput) ToQueuepolicyArrayOutputWithContext(ctx context.Context) QueuepolicyArrayOutput
- type QueuepolicyCosQueue
- type QueuepolicyCosQueueArgs
- type QueuepolicyCosQueueArray
- type QueuepolicyCosQueueArrayInput
- type QueuepolicyCosQueueArrayOutput
- func (QueuepolicyCosQueueArrayOutput) ElementType() reflect.Type
- func (o QueuepolicyCosQueueArrayOutput) Index(i pulumi.IntInput) QueuepolicyCosQueueOutput
- func (o QueuepolicyCosQueueArrayOutput) ToQueuepolicyCosQueueArrayOutput() QueuepolicyCosQueueArrayOutput
- func (o QueuepolicyCosQueueArrayOutput) ToQueuepolicyCosQueueArrayOutputWithContext(ctx context.Context) QueuepolicyCosQueueArrayOutput
- type QueuepolicyCosQueueInput
- type QueuepolicyCosQueueOutput
- func (o QueuepolicyCosQueueOutput) Description() pulumi.StringPtrOutput
- func (o QueuepolicyCosQueueOutput) DropPolicy() pulumi.StringPtrOutput
- func (o QueuepolicyCosQueueOutput) Ecn() pulumi.StringPtrOutput
- func (QueuepolicyCosQueueOutput) ElementType() reflect.Type
- func (o QueuepolicyCosQueueOutput) MaxRate() pulumi.IntPtrOutput
- func (o QueuepolicyCosQueueOutput) MaxRatePercent() pulumi.IntPtrOutput
- func (o QueuepolicyCosQueueOutput) MinRate() pulumi.IntPtrOutput
- func (o QueuepolicyCosQueueOutput) MinRatePercent() pulumi.IntPtrOutput
- func (o QueuepolicyCosQueueOutput) Name() pulumi.StringPtrOutput
- func (o QueuepolicyCosQueueOutput) ToQueuepolicyCosQueueOutput() QueuepolicyCosQueueOutput
- func (o QueuepolicyCosQueueOutput) ToQueuepolicyCosQueueOutputWithContext(ctx context.Context) QueuepolicyCosQueueOutput
- func (o QueuepolicyCosQueueOutput) Weight() pulumi.IntPtrOutput
- type QueuepolicyInput
- type QueuepolicyMap
- type QueuepolicyMapInput
- type QueuepolicyMapOutput
- func (QueuepolicyMapOutput) ElementType() reflect.Type
- func (o QueuepolicyMapOutput) MapIndex(k pulumi.StringInput) QueuepolicyOutput
- func (o QueuepolicyMapOutput) ToQueuepolicyMapOutput() QueuepolicyMapOutput
- func (o QueuepolicyMapOutput) ToQueuepolicyMapOutputWithContext(ctx context.Context) QueuepolicyMapOutput
- type QueuepolicyOutput
- func (o QueuepolicyOutput) CosQueues() QueuepolicyCosQueueArrayOutput
- func (o QueuepolicyOutput) DynamicSortSubtable() pulumi.StringPtrOutput
- func (QueuepolicyOutput) ElementType() reflect.Type
- func (o QueuepolicyOutput) GetAllTables() pulumi.StringPtrOutput
- func (o QueuepolicyOutput) Name() pulumi.StringOutput
- func (o QueuepolicyOutput) RateBy() pulumi.StringOutput
- func (o QueuepolicyOutput) Schedule() pulumi.StringOutput
- func (o QueuepolicyOutput) ToQueuepolicyOutput() QueuepolicyOutput
- func (o QueuepolicyOutput) ToQueuepolicyOutputWithContext(ctx context.Context) QueuepolicyOutput
- func (o QueuepolicyOutput) Vdomparam() pulumi.StringOutput
- type QueuepolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dot1pmap ¶
type Dot1pmap struct { pulumi.CustomResourceState // Description of the 802.1p name. Description pulumi.StringOutput `pulumi:"description"` // Enable/disable egress priority-tag frame. Valid values: `disable`, `enable`. EgressPriTagging pulumi.StringOutput `pulumi:"egressPriTagging"` // Dot1p map name. Name pulumi.StringOutput `pulumi:"name"` // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority0 pulumi.StringOutput `pulumi:"priority0"` // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority1 pulumi.StringOutput `pulumi:"priority1"` // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority2 pulumi.StringOutput `pulumi:"priority2"` // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority3 pulumi.StringOutput `pulumi:"priority3"` // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority4 pulumi.StringOutput `pulumi:"priority4"` // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority5 pulumi.StringOutput `pulumi:"priority5"` // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority6 pulumi.StringOutput `pulumi:"priority6"` // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority7 pulumi.StringOutput `pulumi:"priority7"` // 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.StringOutput `pulumi:"vdomparam"` }
Configure FortiSwitch QoS 802.1p.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/switchcontroller"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := switchcontroller.NewDot1pmap(ctx, "trname", &switchcontroller.Dot1pmapArgs{ Priority0: pulumi.String("queue-0"), Priority1: pulumi.String("queue-0"), Priority2: pulumi.String("queue-0"), Priority3: pulumi.String("queue-0"), Priority4: pulumi.String("queue-0"), Priority5: pulumi.String("queue-0"), Priority6: pulumi.String("queue-0"), Priority7: pulumi.String("queue-0"), }) if err != nil { return err } return nil }) }
```
## Import
SwitchControllerQos Dot1PMap can be imported using any of these accepted formats:
```sh $ pulumi import fortios:switchcontroller/qos/dot1pmap:Dot1pmap labelname {{name}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:switchcontroller/qos/dot1pmap:Dot1pmap labelname {{name}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetDot1pmap ¶
func GetDot1pmap(ctx *pulumi.Context, name string, id pulumi.IDInput, state *Dot1pmapState, opts ...pulumi.ResourceOption) (*Dot1pmap, error)
GetDot1pmap gets an existing Dot1pmap 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 NewDot1pmap ¶
func NewDot1pmap(ctx *pulumi.Context, name string, args *Dot1pmapArgs, opts ...pulumi.ResourceOption) (*Dot1pmap, error)
NewDot1pmap registers a new resource with the given unique name, arguments, and options.
func (*Dot1pmap) ElementType ¶
func (*Dot1pmap) ToDot1pmapOutput ¶
func (i *Dot1pmap) ToDot1pmapOutput() Dot1pmapOutput
func (*Dot1pmap) ToDot1pmapOutputWithContext ¶
func (i *Dot1pmap) ToDot1pmapOutputWithContext(ctx context.Context) Dot1pmapOutput
type Dot1pmapArgs ¶
type Dot1pmapArgs struct { // Description of the 802.1p name. Description pulumi.StringPtrInput // Enable/disable egress priority-tag frame. Valid values: `disable`, `enable`. EgressPriTagging pulumi.StringPtrInput // Dot1p map name. Name pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority0 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority1 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority2 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority3 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority4 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority5 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority6 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority7 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 Dot1pmap resource.
func (Dot1pmapArgs) ElementType ¶
func (Dot1pmapArgs) ElementType() reflect.Type
type Dot1pmapArray ¶
type Dot1pmapArray []Dot1pmapInput
func (Dot1pmapArray) ElementType ¶
func (Dot1pmapArray) ElementType() reflect.Type
func (Dot1pmapArray) ToDot1pmapArrayOutput ¶
func (i Dot1pmapArray) ToDot1pmapArrayOutput() Dot1pmapArrayOutput
func (Dot1pmapArray) ToDot1pmapArrayOutputWithContext ¶
func (i Dot1pmapArray) ToDot1pmapArrayOutputWithContext(ctx context.Context) Dot1pmapArrayOutput
type Dot1pmapArrayInput ¶
type Dot1pmapArrayInput interface { pulumi.Input ToDot1pmapArrayOutput() Dot1pmapArrayOutput ToDot1pmapArrayOutputWithContext(context.Context) Dot1pmapArrayOutput }
Dot1pmapArrayInput is an input type that accepts Dot1pmapArray and Dot1pmapArrayOutput values. You can construct a concrete instance of `Dot1pmapArrayInput` via:
Dot1pmapArray{ Dot1pmapArgs{...} }
type Dot1pmapArrayOutput ¶
type Dot1pmapArrayOutput struct{ *pulumi.OutputState }
func (Dot1pmapArrayOutput) ElementType ¶
func (Dot1pmapArrayOutput) ElementType() reflect.Type
func (Dot1pmapArrayOutput) Index ¶
func (o Dot1pmapArrayOutput) Index(i pulumi.IntInput) Dot1pmapOutput
func (Dot1pmapArrayOutput) ToDot1pmapArrayOutput ¶
func (o Dot1pmapArrayOutput) ToDot1pmapArrayOutput() Dot1pmapArrayOutput
func (Dot1pmapArrayOutput) ToDot1pmapArrayOutputWithContext ¶
func (o Dot1pmapArrayOutput) ToDot1pmapArrayOutputWithContext(ctx context.Context) Dot1pmapArrayOutput
type Dot1pmapInput ¶
type Dot1pmapInput interface { pulumi.Input ToDot1pmapOutput() Dot1pmapOutput ToDot1pmapOutputWithContext(ctx context.Context) Dot1pmapOutput }
type Dot1pmapMap ¶
type Dot1pmapMap map[string]Dot1pmapInput
func (Dot1pmapMap) ElementType ¶
func (Dot1pmapMap) ElementType() reflect.Type
func (Dot1pmapMap) ToDot1pmapMapOutput ¶
func (i Dot1pmapMap) ToDot1pmapMapOutput() Dot1pmapMapOutput
func (Dot1pmapMap) ToDot1pmapMapOutputWithContext ¶
func (i Dot1pmapMap) ToDot1pmapMapOutputWithContext(ctx context.Context) Dot1pmapMapOutput
type Dot1pmapMapInput ¶
type Dot1pmapMapInput interface { pulumi.Input ToDot1pmapMapOutput() Dot1pmapMapOutput ToDot1pmapMapOutputWithContext(context.Context) Dot1pmapMapOutput }
Dot1pmapMapInput is an input type that accepts Dot1pmapMap and Dot1pmapMapOutput values. You can construct a concrete instance of `Dot1pmapMapInput` via:
Dot1pmapMap{ "key": Dot1pmapArgs{...} }
type Dot1pmapMapOutput ¶
type Dot1pmapMapOutput struct{ *pulumi.OutputState }
func (Dot1pmapMapOutput) ElementType ¶
func (Dot1pmapMapOutput) ElementType() reflect.Type
func (Dot1pmapMapOutput) MapIndex ¶
func (o Dot1pmapMapOutput) MapIndex(k pulumi.StringInput) Dot1pmapOutput
func (Dot1pmapMapOutput) ToDot1pmapMapOutput ¶
func (o Dot1pmapMapOutput) ToDot1pmapMapOutput() Dot1pmapMapOutput
func (Dot1pmapMapOutput) ToDot1pmapMapOutputWithContext ¶
func (o Dot1pmapMapOutput) ToDot1pmapMapOutputWithContext(ctx context.Context) Dot1pmapMapOutput
type Dot1pmapOutput ¶
type Dot1pmapOutput struct{ *pulumi.OutputState }
func (Dot1pmapOutput) Description ¶
func (o Dot1pmapOutput) Description() pulumi.StringOutput
Description of the 802.1p name.
func (Dot1pmapOutput) EgressPriTagging ¶
func (o Dot1pmapOutput) EgressPriTagging() pulumi.StringOutput
Enable/disable egress priority-tag frame. Valid values: `disable`, `enable`.
func (Dot1pmapOutput) ElementType ¶
func (Dot1pmapOutput) ElementType() reflect.Type
func (Dot1pmapOutput) Priority0 ¶
func (o Dot1pmapOutput) Priority0() pulumi.StringOutput
COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`.
func (Dot1pmapOutput) Priority1 ¶
func (o Dot1pmapOutput) Priority1() pulumi.StringOutput
COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`.
func (Dot1pmapOutput) Priority2 ¶
func (o Dot1pmapOutput) Priority2() pulumi.StringOutput
COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`.
func (Dot1pmapOutput) Priority3 ¶
func (o Dot1pmapOutput) Priority3() pulumi.StringOutput
COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`.
func (Dot1pmapOutput) Priority4 ¶
func (o Dot1pmapOutput) Priority4() pulumi.StringOutput
COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`.
func (Dot1pmapOutput) Priority5 ¶
func (o Dot1pmapOutput) Priority5() pulumi.StringOutput
COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`.
func (Dot1pmapOutput) Priority6 ¶
func (o Dot1pmapOutput) Priority6() pulumi.StringOutput
COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`.
func (Dot1pmapOutput) Priority7 ¶
func (o Dot1pmapOutput) Priority7() pulumi.StringOutput
COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`.
func (Dot1pmapOutput) ToDot1pmapOutput ¶
func (o Dot1pmapOutput) ToDot1pmapOutput() Dot1pmapOutput
func (Dot1pmapOutput) ToDot1pmapOutputWithContext ¶
func (o Dot1pmapOutput) ToDot1pmapOutputWithContext(ctx context.Context) Dot1pmapOutput
func (Dot1pmapOutput) Vdomparam ¶
func (o Dot1pmapOutput) Vdomparam() pulumi.StringOutput
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 Dot1pmapState ¶
type Dot1pmapState struct { // Description of the 802.1p name. Description pulumi.StringPtrInput // Enable/disable egress priority-tag frame. Valid values: `disable`, `enable`. EgressPriTagging pulumi.StringPtrInput // Dot1p map name. Name pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority0 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority1 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority2 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority3 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority4 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority5 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority6 pulumi.StringPtrInput // COS queue mapped to dot1p priority number. Valid values: `queue-0`, `queue-1`, `queue-2`, `queue-3`, `queue-4`, `queue-5`, `queue-6`, `queue-7`. Priority7 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 (Dot1pmapState) ElementType ¶
func (Dot1pmapState) ElementType() reflect.Type
type Ipdscpmap ¶
type Ipdscpmap struct { pulumi.CustomResourceState // Description of the ip-dscp map name. Description pulumi.StringOutput `pulumi:"description"` // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"` // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"` // Maps between IP-DSCP value to COS queue. The structure of `map` block is documented below. Maps IpdscpmapMapTypeArrayOutput `pulumi:"maps"` // Dscp map 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.StringOutput `pulumi:"vdomparam"` }
Configure FortiSwitch QoS IP precedence/DSCP.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/switchcontroller"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := switchcontroller.NewIpdscpmap(ctx, "trname", &switchcontroller.IpdscpmapArgs{ Description: pulumi.String("DEIW"), Maps: qos.IpdscpmapMapTypeArray{ &qos.IpdscpmapMapTypeArgs{ CosQueue: pulumi.Int(3), Diffserv: pulumi.String("CS0 CS1 AF11"), Name: pulumi.String("1"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
SwitchControllerQos IpDscpMap can be imported using any of these accepted formats:
```sh $ pulumi import fortios:switchcontroller/qos/ipdscpmap:Ipdscpmap labelname {{name}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:switchcontroller/qos/ipdscpmap:Ipdscpmap labelname {{name}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetIpdscpmap ¶
func GetIpdscpmap(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IpdscpmapState, opts ...pulumi.ResourceOption) (*Ipdscpmap, error)
GetIpdscpmap gets an existing Ipdscpmap 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 NewIpdscpmap ¶
func NewIpdscpmap(ctx *pulumi.Context, name string, args *IpdscpmapArgs, opts ...pulumi.ResourceOption) (*Ipdscpmap, error)
NewIpdscpmap registers a new resource with the given unique name, arguments, and options.
func (*Ipdscpmap) ElementType ¶
func (*Ipdscpmap) ToIpdscpmapOutput ¶
func (i *Ipdscpmap) ToIpdscpmapOutput() IpdscpmapOutput
func (*Ipdscpmap) ToIpdscpmapOutputWithContext ¶
func (i *Ipdscpmap) ToIpdscpmapOutputWithContext(ctx context.Context) IpdscpmapOutput
type IpdscpmapArgs ¶
type IpdscpmapArgs struct { // Description of the ip-dscp map name. Description pulumi.StringPtrInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Maps between IP-DSCP value to COS queue. The structure of `map` block is documented below. Maps IpdscpmapMapTypeArrayInput // Dscp map 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 Ipdscpmap resource.
func (IpdscpmapArgs) ElementType ¶
func (IpdscpmapArgs) ElementType() reflect.Type
type IpdscpmapArray ¶
type IpdscpmapArray []IpdscpmapInput
func (IpdscpmapArray) ElementType ¶
func (IpdscpmapArray) ElementType() reflect.Type
func (IpdscpmapArray) ToIpdscpmapArrayOutput ¶
func (i IpdscpmapArray) ToIpdscpmapArrayOutput() IpdscpmapArrayOutput
func (IpdscpmapArray) ToIpdscpmapArrayOutputWithContext ¶
func (i IpdscpmapArray) ToIpdscpmapArrayOutputWithContext(ctx context.Context) IpdscpmapArrayOutput
type IpdscpmapArrayInput ¶
type IpdscpmapArrayInput interface { pulumi.Input ToIpdscpmapArrayOutput() IpdscpmapArrayOutput ToIpdscpmapArrayOutputWithContext(context.Context) IpdscpmapArrayOutput }
IpdscpmapArrayInput is an input type that accepts IpdscpmapArray and IpdscpmapArrayOutput values. You can construct a concrete instance of `IpdscpmapArrayInput` via:
IpdscpmapArray{ IpdscpmapArgs{...} }
type IpdscpmapArrayOutput ¶
type IpdscpmapArrayOutput struct{ *pulumi.OutputState }
func (IpdscpmapArrayOutput) ElementType ¶
func (IpdscpmapArrayOutput) ElementType() reflect.Type
func (IpdscpmapArrayOutput) Index ¶
func (o IpdscpmapArrayOutput) Index(i pulumi.IntInput) IpdscpmapOutput
func (IpdscpmapArrayOutput) ToIpdscpmapArrayOutput ¶
func (o IpdscpmapArrayOutput) ToIpdscpmapArrayOutput() IpdscpmapArrayOutput
func (IpdscpmapArrayOutput) ToIpdscpmapArrayOutputWithContext ¶
func (o IpdscpmapArrayOutput) ToIpdscpmapArrayOutputWithContext(ctx context.Context) IpdscpmapArrayOutput
type IpdscpmapInput ¶
type IpdscpmapInput interface { pulumi.Input ToIpdscpmapOutput() IpdscpmapOutput ToIpdscpmapOutputWithContext(ctx context.Context) IpdscpmapOutput }
type IpdscpmapMap ¶
type IpdscpmapMap map[string]IpdscpmapInput
func (IpdscpmapMap) ElementType ¶
func (IpdscpmapMap) ElementType() reflect.Type
func (IpdscpmapMap) ToIpdscpmapMapOutput ¶
func (i IpdscpmapMap) ToIpdscpmapMapOutput() IpdscpmapMapOutput
func (IpdscpmapMap) ToIpdscpmapMapOutputWithContext ¶
func (i IpdscpmapMap) ToIpdscpmapMapOutputWithContext(ctx context.Context) IpdscpmapMapOutput
type IpdscpmapMapInput ¶
type IpdscpmapMapInput interface { pulumi.Input ToIpdscpmapMapOutput() IpdscpmapMapOutput ToIpdscpmapMapOutputWithContext(context.Context) IpdscpmapMapOutput }
IpdscpmapMapInput is an input type that accepts IpdscpmapMap and IpdscpmapMapOutput values. You can construct a concrete instance of `IpdscpmapMapInput` via:
IpdscpmapMap{ "key": IpdscpmapArgs{...} }
type IpdscpmapMapOutput ¶
type IpdscpmapMapOutput struct{ *pulumi.OutputState }
func (IpdscpmapMapOutput) ElementType ¶
func (IpdscpmapMapOutput) ElementType() reflect.Type
func (IpdscpmapMapOutput) MapIndex ¶
func (o IpdscpmapMapOutput) MapIndex(k pulumi.StringInput) IpdscpmapOutput
func (IpdscpmapMapOutput) ToIpdscpmapMapOutput ¶
func (o IpdscpmapMapOutput) ToIpdscpmapMapOutput() IpdscpmapMapOutput
func (IpdscpmapMapOutput) ToIpdscpmapMapOutputWithContext ¶
func (o IpdscpmapMapOutput) ToIpdscpmapMapOutputWithContext(ctx context.Context) IpdscpmapMapOutput
type IpdscpmapMapType ¶
type IpdscpmapMapType struct { // COS queue number. CosQueue *int `pulumi:"cosQueue"` // Differentiated service. Valid values: `CS0`, `CS1`, `AF11`, `AF12`, `AF13`, `CS2`, `AF21`, `AF22`, `AF23`, `CS3`, `AF31`, `AF32`, `AF33`, `CS4`, `AF41`, `AF42`, `AF43`, `CS5`, `EF`, `CS6`, `CS7`. Diffserv *string `pulumi:"diffserv"` // IP Precedence. Valid values: `network-control`, `internetwork-control`, `critic-ecp`, `flashoverride`, `flash`, `immediate`, `priority`, `routine`. IpPrecedence *string `pulumi:"ipPrecedence"` // Dscp mapping entry name. Name *string `pulumi:"name"` // Raw values of DSCP (0 - 63). Value *string `pulumi:"value"` }
type IpdscpmapMapTypeArgs ¶
type IpdscpmapMapTypeArgs struct { // COS queue number. CosQueue pulumi.IntPtrInput `pulumi:"cosQueue"` // Differentiated service. Valid values: `CS0`, `CS1`, `AF11`, `AF12`, `AF13`, `CS2`, `AF21`, `AF22`, `AF23`, `CS3`, `AF31`, `AF32`, `AF33`, `CS4`, `AF41`, `AF42`, `AF43`, `CS5`, `EF`, `CS6`, `CS7`. Diffserv pulumi.StringPtrInput `pulumi:"diffserv"` // IP Precedence. Valid values: `network-control`, `internetwork-control`, `critic-ecp`, `flashoverride`, `flash`, `immediate`, `priority`, `routine`. IpPrecedence pulumi.StringPtrInput `pulumi:"ipPrecedence"` // Dscp mapping entry name. Name pulumi.StringPtrInput `pulumi:"name"` // Raw values of DSCP (0 - 63). Value pulumi.StringPtrInput `pulumi:"value"` }
func (IpdscpmapMapTypeArgs) ElementType ¶
func (IpdscpmapMapTypeArgs) ElementType() reflect.Type
func (IpdscpmapMapTypeArgs) ToIpdscpmapMapTypeOutput ¶
func (i IpdscpmapMapTypeArgs) ToIpdscpmapMapTypeOutput() IpdscpmapMapTypeOutput
func (IpdscpmapMapTypeArgs) ToIpdscpmapMapTypeOutputWithContext ¶
func (i IpdscpmapMapTypeArgs) ToIpdscpmapMapTypeOutputWithContext(ctx context.Context) IpdscpmapMapTypeOutput
type IpdscpmapMapTypeArray ¶
type IpdscpmapMapTypeArray []IpdscpmapMapTypeInput
func (IpdscpmapMapTypeArray) ElementType ¶
func (IpdscpmapMapTypeArray) ElementType() reflect.Type
func (IpdscpmapMapTypeArray) ToIpdscpmapMapTypeArrayOutput ¶
func (i IpdscpmapMapTypeArray) ToIpdscpmapMapTypeArrayOutput() IpdscpmapMapTypeArrayOutput
func (IpdscpmapMapTypeArray) ToIpdscpmapMapTypeArrayOutputWithContext ¶
func (i IpdscpmapMapTypeArray) ToIpdscpmapMapTypeArrayOutputWithContext(ctx context.Context) IpdscpmapMapTypeArrayOutput
type IpdscpmapMapTypeArrayInput ¶
type IpdscpmapMapTypeArrayInput interface { pulumi.Input ToIpdscpmapMapTypeArrayOutput() IpdscpmapMapTypeArrayOutput ToIpdscpmapMapTypeArrayOutputWithContext(context.Context) IpdscpmapMapTypeArrayOutput }
IpdscpmapMapTypeArrayInput is an input type that accepts IpdscpmapMapTypeArray and IpdscpmapMapTypeArrayOutput values. You can construct a concrete instance of `IpdscpmapMapTypeArrayInput` via:
IpdscpmapMapTypeArray{ IpdscpmapMapTypeArgs{...} }
type IpdscpmapMapTypeArrayOutput ¶
type IpdscpmapMapTypeArrayOutput struct{ *pulumi.OutputState }
func (IpdscpmapMapTypeArrayOutput) ElementType ¶
func (IpdscpmapMapTypeArrayOutput) ElementType() reflect.Type
func (IpdscpmapMapTypeArrayOutput) Index ¶
func (o IpdscpmapMapTypeArrayOutput) Index(i pulumi.IntInput) IpdscpmapMapTypeOutput
func (IpdscpmapMapTypeArrayOutput) ToIpdscpmapMapTypeArrayOutput ¶
func (o IpdscpmapMapTypeArrayOutput) ToIpdscpmapMapTypeArrayOutput() IpdscpmapMapTypeArrayOutput
func (IpdscpmapMapTypeArrayOutput) ToIpdscpmapMapTypeArrayOutputWithContext ¶
func (o IpdscpmapMapTypeArrayOutput) ToIpdscpmapMapTypeArrayOutputWithContext(ctx context.Context) IpdscpmapMapTypeArrayOutput
type IpdscpmapMapTypeInput ¶
type IpdscpmapMapTypeInput interface { pulumi.Input ToIpdscpmapMapTypeOutput() IpdscpmapMapTypeOutput ToIpdscpmapMapTypeOutputWithContext(context.Context) IpdscpmapMapTypeOutput }
IpdscpmapMapTypeInput is an input type that accepts IpdscpmapMapTypeArgs and IpdscpmapMapTypeOutput values. You can construct a concrete instance of `IpdscpmapMapTypeInput` via:
IpdscpmapMapTypeArgs{...}
type IpdscpmapMapTypeOutput ¶
type IpdscpmapMapTypeOutput struct{ *pulumi.OutputState }
func (IpdscpmapMapTypeOutput) CosQueue ¶
func (o IpdscpmapMapTypeOutput) CosQueue() pulumi.IntPtrOutput
COS queue number.
func (IpdscpmapMapTypeOutput) Diffserv ¶
func (o IpdscpmapMapTypeOutput) Diffserv() pulumi.StringPtrOutput
Differentiated service. Valid values: `CS0`, `CS1`, `AF11`, `AF12`, `AF13`, `CS2`, `AF21`, `AF22`, `AF23`, `CS3`, `AF31`, `AF32`, `AF33`, `CS4`, `AF41`, `AF42`, `AF43`, `CS5`, `EF`, `CS6`, `CS7`.
func (IpdscpmapMapTypeOutput) ElementType ¶
func (IpdscpmapMapTypeOutput) ElementType() reflect.Type
func (IpdscpmapMapTypeOutput) IpPrecedence ¶
func (o IpdscpmapMapTypeOutput) IpPrecedence() pulumi.StringPtrOutput
IP Precedence. Valid values: `network-control`, `internetwork-control`, `critic-ecp`, `flashoverride`, `flash`, `immediate`, `priority`, `routine`.
func (IpdscpmapMapTypeOutput) Name ¶
func (o IpdscpmapMapTypeOutput) Name() pulumi.StringPtrOutput
Dscp mapping entry name.
func (IpdscpmapMapTypeOutput) ToIpdscpmapMapTypeOutput ¶
func (o IpdscpmapMapTypeOutput) ToIpdscpmapMapTypeOutput() IpdscpmapMapTypeOutput
func (IpdscpmapMapTypeOutput) ToIpdscpmapMapTypeOutputWithContext ¶
func (o IpdscpmapMapTypeOutput) ToIpdscpmapMapTypeOutputWithContext(ctx context.Context) IpdscpmapMapTypeOutput
func (IpdscpmapMapTypeOutput) Value ¶
func (o IpdscpmapMapTypeOutput) Value() pulumi.StringPtrOutput
Raw values of DSCP (0 - 63).
type IpdscpmapOutput ¶
type IpdscpmapOutput struct{ *pulumi.OutputState }
func (IpdscpmapOutput) Description ¶
func (o IpdscpmapOutput) Description() pulumi.StringOutput
Description of the ip-dscp map name.
func (IpdscpmapOutput) DynamicSortSubtable ¶
func (o IpdscpmapOutput) DynamicSortSubtable() pulumi.StringPtrOutput
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
func (IpdscpmapOutput) ElementType ¶
func (IpdscpmapOutput) ElementType() reflect.Type
func (IpdscpmapOutput) GetAllTables ¶
func (o IpdscpmapOutput) GetAllTables() pulumi.StringPtrOutput
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
func (IpdscpmapOutput) Maps ¶
func (o IpdscpmapOutput) Maps() IpdscpmapMapTypeArrayOutput
Maps between IP-DSCP value to COS queue. The structure of `map` block is documented below.
func (IpdscpmapOutput) ToIpdscpmapOutput ¶
func (o IpdscpmapOutput) ToIpdscpmapOutput() IpdscpmapOutput
func (IpdscpmapOutput) ToIpdscpmapOutputWithContext ¶
func (o IpdscpmapOutput) ToIpdscpmapOutputWithContext(ctx context.Context) IpdscpmapOutput
func (IpdscpmapOutput) Vdomparam ¶
func (o IpdscpmapOutput) Vdomparam() pulumi.StringOutput
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 IpdscpmapState ¶
type IpdscpmapState struct { // Description of the ip-dscp map name. Description pulumi.StringPtrInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // Maps between IP-DSCP value to COS queue. The structure of `map` block is documented below. Maps IpdscpmapMapTypeArrayInput // Dscp map 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 (IpdscpmapState) ElementType ¶
func (IpdscpmapState) ElementType() reflect.Type
type Qospolicy ¶
type Qospolicy struct { pulumi.CustomResourceState // Default cos queue for untagged packets. DefaultCos pulumi.IntOutput `pulumi:"defaultCos"` // QoS policy name. Name pulumi.StringOutput `pulumi:"name"` // QoS egress queue policy. QueuePolicy pulumi.StringOutput `pulumi:"queuePolicy"` // QoS trust 802.1p map. TrustDot1pMap pulumi.StringOutput `pulumi:"trustDot1pMap"` // QoS trust ip dscp map. TrustIpDscpMap pulumi.StringOutput `pulumi:"trustIpDscpMap"` // 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.StringOutput `pulumi:"vdomparam"` }
Configure FortiSwitch QoS policy.
## Import
SwitchControllerQos QosPolicy can be imported using any of these accepted formats:
```sh $ pulumi import fortios:switchcontroller/qos/qospolicy:Qospolicy labelname {{name}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:switchcontroller/qos/qospolicy:Qospolicy labelname {{name}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetQospolicy ¶
func GetQospolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QospolicyState, opts ...pulumi.ResourceOption) (*Qospolicy, error)
GetQospolicy gets an existing Qospolicy 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 NewQospolicy ¶
func NewQospolicy(ctx *pulumi.Context, name string, args *QospolicyArgs, opts ...pulumi.ResourceOption) (*Qospolicy, error)
NewQospolicy registers a new resource with the given unique name, arguments, and options.
func (*Qospolicy) ElementType ¶
func (*Qospolicy) ToQospolicyOutput ¶
func (i *Qospolicy) ToQospolicyOutput() QospolicyOutput
func (*Qospolicy) ToQospolicyOutputWithContext ¶
func (i *Qospolicy) ToQospolicyOutputWithContext(ctx context.Context) QospolicyOutput
type QospolicyArgs ¶
type QospolicyArgs struct { // Default cos queue for untagged packets. DefaultCos pulumi.IntInput // QoS policy name. Name pulumi.StringPtrInput // QoS egress queue policy. QueuePolicy pulumi.StringPtrInput // QoS trust 802.1p map. TrustDot1pMap pulumi.StringPtrInput // QoS trust ip dscp map. TrustIpDscpMap 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 Qospolicy resource.
func (QospolicyArgs) ElementType ¶
func (QospolicyArgs) ElementType() reflect.Type
type QospolicyArray ¶
type QospolicyArray []QospolicyInput
func (QospolicyArray) ElementType ¶
func (QospolicyArray) ElementType() reflect.Type
func (QospolicyArray) ToQospolicyArrayOutput ¶
func (i QospolicyArray) ToQospolicyArrayOutput() QospolicyArrayOutput
func (QospolicyArray) ToQospolicyArrayOutputWithContext ¶
func (i QospolicyArray) ToQospolicyArrayOutputWithContext(ctx context.Context) QospolicyArrayOutput
type QospolicyArrayInput ¶
type QospolicyArrayInput interface { pulumi.Input ToQospolicyArrayOutput() QospolicyArrayOutput ToQospolicyArrayOutputWithContext(context.Context) QospolicyArrayOutput }
QospolicyArrayInput is an input type that accepts QospolicyArray and QospolicyArrayOutput values. You can construct a concrete instance of `QospolicyArrayInput` via:
QospolicyArray{ QospolicyArgs{...} }
type QospolicyArrayOutput ¶
type QospolicyArrayOutput struct{ *pulumi.OutputState }
func (QospolicyArrayOutput) ElementType ¶
func (QospolicyArrayOutput) ElementType() reflect.Type
func (QospolicyArrayOutput) Index ¶
func (o QospolicyArrayOutput) Index(i pulumi.IntInput) QospolicyOutput
func (QospolicyArrayOutput) ToQospolicyArrayOutput ¶
func (o QospolicyArrayOutput) ToQospolicyArrayOutput() QospolicyArrayOutput
func (QospolicyArrayOutput) ToQospolicyArrayOutputWithContext ¶
func (o QospolicyArrayOutput) ToQospolicyArrayOutputWithContext(ctx context.Context) QospolicyArrayOutput
type QospolicyInput ¶
type QospolicyInput interface { pulumi.Input ToQospolicyOutput() QospolicyOutput ToQospolicyOutputWithContext(ctx context.Context) QospolicyOutput }
type QospolicyMap ¶
type QospolicyMap map[string]QospolicyInput
func (QospolicyMap) ElementType ¶
func (QospolicyMap) ElementType() reflect.Type
func (QospolicyMap) ToQospolicyMapOutput ¶
func (i QospolicyMap) ToQospolicyMapOutput() QospolicyMapOutput
func (QospolicyMap) ToQospolicyMapOutputWithContext ¶
func (i QospolicyMap) ToQospolicyMapOutputWithContext(ctx context.Context) QospolicyMapOutput
type QospolicyMapInput ¶
type QospolicyMapInput interface { pulumi.Input ToQospolicyMapOutput() QospolicyMapOutput ToQospolicyMapOutputWithContext(context.Context) QospolicyMapOutput }
QospolicyMapInput is an input type that accepts QospolicyMap and QospolicyMapOutput values. You can construct a concrete instance of `QospolicyMapInput` via:
QospolicyMap{ "key": QospolicyArgs{...} }
type QospolicyMapOutput ¶
type QospolicyMapOutput struct{ *pulumi.OutputState }
func (QospolicyMapOutput) ElementType ¶
func (QospolicyMapOutput) ElementType() reflect.Type
func (QospolicyMapOutput) MapIndex ¶
func (o QospolicyMapOutput) MapIndex(k pulumi.StringInput) QospolicyOutput
func (QospolicyMapOutput) ToQospolicyMapOutput ¶
func (o QospolicyMapOutput) ToQospolicyMapOutput() QospolicyMapOutput
func (QospolicyMapOutput) ToQospolicyMapOutputWithContext ¶
func (o QospolicyMapOutput) ToQospolicyMapOutputWithContext(ctx context.Context) QospolicyMapOutput
type QospolicyOutput ¶
type QospolicyOutput struct{ *pulumi.OutputState }
func (QospolicyOutput) DefaultCos ¶
func (o QospolicyOutput) DefaultCos() pulumi.IntOutput
Default cos queue for untagged packets.
func (QospolicyOutput) ElementType ¶
func (QospolicyOutput) ElementType() reflect.Type
func (QospolicyOutput) QueuePolicy ¶
func (o QospolicyOutput) QueuePolicy() pulumi.StringOutput
QoS egress queue policy.
func (QospolicyOutput) ToQospolicyOutput ¶
func (o QospolicyOutput) ToQospolicyOutput() QospolicyOutput
func (QospolicyOutput) ToQospolicyOutputWithContext ¶
func (o QospolicyOutput) ToQospolicyOutputWithContext(ctx context.Context) QospolicyOutput
func (QospolicyOutput) TrustDot1pMap ¶
func (o QospolicyOutput) TrustDot1pMap() pulumi.StringOutput
QoS trust 802.1p map.
func (QospolicyOutput) TrustIpDscpMap ¶
func (o QospolicyOutput) TrustIpDscpMap() pulumi.StringOutput
QoS trust ip dscp map.
func (QospolicyOutput) Vdomparam ¶
func (o QospolicyOutput) Vdomparam() pulumi.StringOutput
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 QospolicyState ¶
type QospolicyState struct { // Default cos queue for untagged packets. DefaultCos pulumi.IntPtrInput // QoS policy name. Name pulumi.StringPtrInput // QoS egress queue policy. QueuePolicy pulumi.StringPtrInput // QoS trust 802.1p map. TrustDot1pMap pulumi.StringPtrInput // QoS trust ip dscp map. TrustIpDscpMap 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 (QospolicyState) ElementType ¶
func (QospolicyState) ElementType() reflect.Type
type Queuepolicy ¶
type Queuepolicy struct { pulumi.CustomResourceState // COS queue configuration. The structure of `cosQueue` block is documented below. CosQueues QueuepolicyCosQueueArrayOutput `pulumi:"cosQueues"` // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"` // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"` // QoS policy name Name pulumi.StringOutput `pulumi:"name"` // COS queue rate by kbps or percent. Valid values: `kbps`, `percent`. RateBy pulumi.StringOutput `pulumi:"rateBy"` // COS queue scheduling. Valid values: `strict`, `round-robin`, `weighted`. Schedule pulumi.StringOutput `pulumi:"schedule"` // 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.StringOutput `pulumi:"vdomparam"` }
Configure FortiSwitch QoS egress queue policy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/switchcontroller"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := switchcontroller.NewQueuepolicy(ctx, "trname", &switchcontroller.QueuepolicyArgs{ RateBy: pulumi.String("kbps"), Schedule: pulumi.String("round-robin"), }) if err != nil { return err } return nil }) }
```
## Import
SwitchControllerQos QueuePolicy can be imported using any of these accepted formats:
```sh $ pulumi import fortios:switchcontroller/qos/queuepolicy:Queuepolicy labelname {{name}} ```
If you do not want to import arguments of block:
$ export "FORTIOS_IMPORT_TABLE"="false"
```sh $ pulumi import fortios:switchcontroller/qos/queuepolicy:Queuepolicy labelname {{name}} ```
$ unset "FORTIOS_IMPORT_TABLE"
func GetQueuepolicy ¶
func GetQueuepolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QueuepolicyState, opts ...pulumi.ResourceOption) (*Queuepolicy, error)
GetQueuepolicy gets an existing Queuepolicy 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 NewQueuepolicy ¶
func NewQueuepolicy(ctx *pulumi.Context, name string, args *QueuepolicyArgs, opts ...pulumi.ResourceOption) (*Queuepolicy, error)
NewQueuepolicy registers a new resource with the given unique name, arguments, and options.
func (*Queuepolicy) ElementType ¶
func (*Queuepolicy) ElementType() reflect.Type
func (*Queuepolicy) ToQueuepolicyOutput ¶
func (i *Queuepolicy) ToQueuepolicyOutput() QueuepolicyOutput
func (*Queuepolicy) ToQueuepolicyOutputWithContext ¶
func (i *Queuepolicy) ToQueuepolicyOutputWithContext(ctx context.Context) QueuepolicyOutput
type QueuepolicyArgs ¶
type QueuepolicyArgs struct { // COS queue configuration. The structure of `cosQueue` block is documented below. CosQueues QueuepolicyCosQueueArrayInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // QoS policy name Name pulumi.StringPtrInput // COS queue rate by kbps or percent. Valid values: `kbps`, `percent`. RateBy pulumi.StringInput // COS queue scheduling. Valid values: `strict`, `round-robin`, `weighted`. Schedule pulumi.StringInput // 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 Queuepolicy resource.
func (QueuepolicyArgs) ElementType ¶
func (QueuepolicyArgs) ElementType() reflect.Type
type QueuepolicyArray ¶
type QueuepolicyArray []QueuepolicyInput
func (QueuepolicyArray) ElementType ¶
func (QueuepolicyArray) ElementType() reflect.Type
func (QueuepolicyArray) ToQueuepolicyArrayOutput ¶
func (i QueuepolicyArray) ToQueuepolicyArrayOutput() QueuepolicyArrayOutput
func (QueuepolicyArray) ToQueuepolicyArrayOutputWithContext ¶
func (i QueuepolicyArray) ToQueuepolicyArrayOutputWithContext(ctx context.Context) QueuepolicyArrayOutput
type QueuepolicyArrayInput ¶
type QueuepolicyArrayInput interface { pulumi.Input ToQueuepolicyArrayOutput() QueuepolicyArrayOutput ToQueuepolicyArrayOutputWithContext(context.Context) QueuepolicyArrayOutput }
QueuepolicyArrayInput is an input type that accepts QueuepolicyArray and QueuepolicyArrayOutput values. You can construct a concrete instance of `QueuepolicyArrayInput` via:
QueuepolicyArray{ QueuepolicyArgs{...} }
type QueuepolicyArrayOutput ¶
type QueuepolicyArrayOutput struct{ *pulumi.OutputState }
func (QueuepolicyArrayOutput) ElementType ¶
func (QueuepolicyArrayOutput) ElementType() reflect.Type
func (QueuepolicyArrayOutput) Index ¶
func (o QueuepolicyArrayOutput) Index(i pulumi.IntInput) QueuepolicyOutput
func (QueuepolicyArrayOutput) ToQueuepolicyArrayOutput ¶
func (o QueuepolicyArrayOutput) ToQueuepolicyArrayOutput() QueuepolicyArrayOutput
func (QueuepolicyArrayOutput) ToQueuepolicyArrayOutputWithContext ¶
func (o QueuepolicyArrayOutput) ToQueuepolicyArrayOutputWithContext(ctx context.Context) QueuepolicyArrayOutput
type QueuepolicyCosQueue ¶
type QueuepolicyCosQueue struct { // Description of the COS queue. Description *string `pulumi:"description"` // COS queue drop policy. Valid values: `taildrop`, `weighted-random-early-detection`. DropPolicy *string `pulumi:"dropPolicy"` // Enable/disable ECN packet marking to drop eligible packets. Valid values: `disable`, `enable`. Ecn *string `pulumi:"ecn"` // Maximum rate (0 - 4294967295 kbps, 0 to disable). MaxRate *int `pulumi:"maxRate"` // Maximum rate (% of link speed). MaxRatePercent *int `pulumi:"maxRatePercent"` // Minimum rate (0 - 4294967295 kbps, 0 to disable). MinRate *int `pulumi:"minRate"` // Minimum rate (% of link speed). MinRatePercent *int `pulumi:"minRatePercent"` // Cos queue ID. Name *string `pulumi:"name"` // Weight of weighted round robin scheduling. Weight *int `pulumi:"weight"` }
type QueuepolicyCosQueueArgs ¶
type QueuepolicyCosQueueArgs struct { // Description of the COS queue. Description pulumi.StringPtrInput `pulumi:"description"` // COS queue drop policy. Valid values: `taildrop`, `weighted-random-early-detection`. DropPolicy pulumi.StringPtrInput `pulumi:"dropPolicy"` // Enable/disable ECN packet marking to drop eligible packets. Valid values: `disable`, `enable`. Ecn pulumi.StringPtrInput `pulumi:"ecn"` // Maximum rate (0 - 4294967295 kbps, 0 to disable). MaxRate pulumi.IntPtrInput `pulumi:"maxRate"` // Maximum rate (% of link speed). MaxRatePercent pulumi.IntPtrInput `pulumi:"maxRatePercent"` // Minimum rate (0 - 4294967295 kbps, 0 to disable). MinRate pulumi.IntPtrInput `pulumi:"minRate"` // Minimum rate (% of link speed). MinRatePercent pulumi.IntPtrInput `pulumi:"minRatePercent"` // Cos queue ID. Name pulumi.StringPtrInput `pulumi:"name"` // Weight of weighted round robin scheduling. Weight pulumi.IntPtrInput `pulumi:"weight"` }
func (QueuepolicyCosQueueArgs) ElementType ¶
func (QueuepolicyCosQueueArgs) ElementType() reflect.Type
func (QueuepolicyCosQueueArgs) ToQueuepolicyCosQueueOutput ¶
func (i QueuepolicyCosQueueArgs) ToQueuepolicyCosQueueOutput() QueuepolicyCosQueueOutput
func (QueuepolicyCosQueueArgs) ToQueuepolicyCosQueueOutputWithContext ¶
func (i QueuepolicyCosQueueArgs) ToQueuepolicyCosQueueOutputWithContext(ctx context.Context) QueuepolicyCosQueueOutput
type QueuepolicyCosQueueArray ¶
type QueuepolicyCosQueueArray []QueuepolicyCosQueueInput
func (QueuepolicyCosQueueArray) ElementType ¶
func (QueuepolicyCosQueueArray) ElementType() reflect.Type
func (QueuepolicyCosQueueArray) ToQueuepolicyCosQueueArrayOutput ¶
func (i QueuepolicyCosQueueArray) ToQueuepolicyCosQueueArrayOutput() QueuepolicyCosQueueArrayOutput
func (QueuepolicyCosQueueArray) ToQueuepolicyCosQueueArrayOutputWithContext ¶
func (i QueuepolicyCosQueueArray) ToQueuepolicyCosQueueArrayOutputWithContext(ctx context.Context) QueuepolicyCosQueueArrayOutput
type QueuepolicyCosQueueArrayInput ¶
type QueuepolicyCosQueueArrayInput interface { pulumi.Input ToQueuepolicyCosQueueArrayOutput() QueuepolicyCosQueueArrayOutput ToQueuepolicyCosQueueArrayOutputWithContext(context.Context) QueuepolicyCosQueueArrayOutput }
QueuepolicyCosQueueArrayInput is an input type that accepts QueuepolicyCosQueueArray and QueuepolicyCosQueueArrayOutput values. You can construct a concrete instance of `QueuepolicyCosQueueArrayInput` via:
QueuepolicyCosQueueArray{ QueuepolicyCosQueueArgs{...} }
type QueuepolicyCosQueueArrayOutput ¶
type QueuepolicyCosQueueArrayOutput struct{ *pulumi.OutputState }
func (QueuepolicyCosQueueArrayOutput) ElementType ¶
func (QueuepolicyCosQueueArrayOutput) ElementType() reflect.Type
func (QueuepolicyCosQueueArrayOutput) Index ¶
func (o QueuepolicyCosQueueArrayOutput) Index(i pulumi.IntInput) QueuepolicyCosQueueOutput
func (QueuepolicyCosQueueArrayOutput) ToQueuepolicyCosQueueArrayOutput ¶
func (o QueuepolicyCosQueueArrayOutput) ToQueuepolicyCosQueueArrayOutput() QueuepolicyCosQueueArrayOutput
func (QueuepolicyCosQueueArrayOutput) ToQueuepolicyCosQueueArrayOutputWithContext ¶
func (o QueuepolicyCosQueueArrayOutput) ToQueuepolicyCosQueueArrayOutputWithContext(ctx context.Context) QueuepolicyCosQueueArrayOutput
type QueuepolicyCosQueueInput ¶
type QueuepolicyCosQueueInput interface { pulumi.Input ToQueuepolicyCosQueueOutput() QueuepolicyCosQueueOutput ToQueuepolicyCosQueueOutputWithContext(context.Context) QueuepolicyCosQueueOutput }
QueuepolicyCosQueueInput is an input type that accepts QueuepolicyCosQueueArgs and QueuepolicyCosQueueOutput values. You can construct a concrete instance of `QueuepolicyCosQueueInput` via:
QueuepolicyCosQueueArgs{...}
type QueuepolicyCosQueueOutput ¶
type QueuepolicyCosQueueOutput struct{ *pulumi.OutputState }
func (QueuepolicyCosQueueOutput) Description ¶
func (o QueuepolicyCosQueueOutput) Description() pulumi.StringPtrOutput
Description of the COS queue.
func (QueuepolicyCosQueueOutput) DropPolicy ¶
func (o QueuepolicyCosQueueOutput) DropPolicy() pulumi.StringPtrOutput
COS queue drop policy. Valid values: `taildrop`, `weighted-random-early-detection`.
func (QueuepolicyCosQueueOutput) Ecn ¶
func (o QueuepolicyCosQueueOutput) Ecn() pulumi.StringPtrOutput
Enable/disable ECN packet marking to drop eligible packets. Valid values: `disable`, `enable`.
func (QueuepolicyCosQueueOutput) ElementType ¶
func (QueuepolicyCosQueueOutput) ElementType() reflect.Type
func (QueuepolicyCosQueueOutput) MaxRate ¶
func (o QueuepolicyCosQueueOutput) MaxRate() pulumi.IntPtrOutput
Maximum rate (0 - 4294967295 kbps, 0 to disable).
func (QueuepolicyCosQueueOutput) MaxRatePercent ¶
func (o QueuepolicyCosQueueOutput) MaxRatePercent() pulumi.IntPtrOutput
Maximum rate (% of link speed).
func (QueuepolicyCosQueueOutput) MinRate ¶
func (o QueuepolicyCosQueueOutput) MinRate() pulumi.IntPtrOutput
Minimum rate (0 - 4294967295 kbps, 0 to disable).
func (QueuepolicyCosQueueOutput) MinRatePercent ¶
func (o QueuepolicyCosQueueOutput) MinRatePercent() pulumi.IntPtrOutput
Minimum rate (% of link speed).
func (QueuepolicyCosQueueOutput) Name ¶
func (o QueuepolicyCosQueueOutput) Name() pulumi.StringPtrOutput
Cos queue ID.
func (QueuepolicyCosQueueOutput) ToQueuepolicyCosQueueOutput ¶
func (o QueuepolicyCosQueueOutput) ToQueuepolicyCosQueueOutput() QueuepolicyCosQueueOutput
func (QueuepolicyCosQueueOutput) ToQueuepolicyCosQueueOutputWithContext ¶
func (o QueuepolicyCosQueueOutput) ToQueuepolicyCosQueueOutputWithContext(ctx context.Context) QueuepolicyCosQueueOutput
func (QueuepolicyCosQueueOutput) Weight ¶
func (o QueuepolicyCosQueueOutput) Weight() pulumi.IntPtrOutput
Weight of weighted round robin scheduling.
type QueuepolicyInput ¶
type QueuepolicyInput interface { pulumi.Input ToQueuepolicyOutput() QueuepolicyOutput ToQueuepolicyOutputWithContext(ctx context.Context) QueuepolicyOutput }
type QueuepolicyMap ¶
type QueuepolicyMap map[string]QueuepolicyInput
func (QueuepolicyMap) ElementType ¶
func (QueuepolicyMap) ElementType() reflect.Type
func (QueuepolicyMap) ToQueuepolicyMapOutput ¶
func (i QueuepolicyMap) ToQueuepolicyMapOutput() QueuepolicyMapOutput
func (QueuepolicyMap) ToQueuepolicyMapOutputWithContext ¶
func (i QueuepolicyMap) ToQueuepolicyMapOutputWithContext(ctx context.Context) QueuepolicyMapOutput
type QueuepolicyMapInput ¶
type QueuepolicyMapInput interface { pulumi.Input ToQueuepolicyMapOutput() QueuepolicyMapOutput ToQueuepolicyMapOutputWithContext(context.Context) QueuepolicyMapOutput }
QueuepolicyMapInput is an input type that accepts QueuepolicyMap and QueuepolicyMapOutput values. You can construct a concrete instance of `QueuepolicyMapInput` via:
QueuepolicyMap{ "key": QueuepolicyArgs{...} }
type QueuepolicyMapOutput ¶
type QueuepolicyMapOutput struct{ *pulumi.OutputState }
func (QueuepolicyMapOutput) ElementType ¶
func (QueuepolicyMapOutput) ElementType() reflect.Type
func (QueuepolicyMapOutput) MapIndex ¶
func (o QueuepolicyMapOutput) MapIndex(k pulumi.StringInput) QueuepolicyOutput
func (QueuepolicyMapOutput) ToQueuepolicyMapOutput ¶
func (o QueuepolicyMapOutput) ToQueuepolicyMapOutput() QueuepolicyMapOutput
func (QueuepolicyMapOutput) ToQueuepolicyMapOutputWithContext ¶
func (o QueuepolicyMapOutput) ToQueuepolicyMapOutputWithContext(ctx context.Context) QueuepolicyMapOutput
type QueuepolicyOutput ¶
type QueuepolicyOutput struct{ *pulumi.OutputState }
func (QueuepolicyOutput) CosQueues ¶
func (o QueuepolicyOutput) CosQueues() QueuepolicyCosQueueArrayOutput
COS queue configuration. The structure of `cosQueue` block is documented below.
func (QueuepolicyOutput) DynamicSortSubtable ¶
func (o QueuepolicyOutput) DynamicSortSubtable() pulumi.StringPtrOutput
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
func (QueuepolicyOutput) ElementType ¶
func (QueuepolicyOutput) ElementType() reflect.Type
func (QueuepolicyOutput) GetAllTables ¶
func (o QueuepolicyOutput) GetAllTables() pulumi.StringPtrOutput
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
func (QueuepolicyOutput) Name ¶
func (o QueuepolicyOutput) Name() pulumi.StringOutput
QoS policy name
func (QueuepolicyOutput) RateBy ¶
func (o QueuepolicyOutput) RateBy() pulumi.StringOutput
COS queue rate by kbps or percent. Valid values: `kbps`, `percent`.
func (QueuepolicyOutput) Schedule ¶
func (o QueuepolicyOutput) Schedule() pulumi.StringOutput
COS queue scheduling. Valid values: `strict`, `round-robin`, `weighted`.
func (QueuepolicyOutput) ToQueuepolicyOutput ¶
func (o QueuepolicyOutput) ToQueuepolicyOutput() QueuepolicyOutput
func (QueuepolicyOutput) ToQueuepolicyOutputWithContext ¶
func (o QueuepolicyOutput) ToQueuepolicyOutputWithContext(ctx context.Context) QueuepolicyOutput
func (QueuepolicyOutput) Vdomparam ¶
func (o QueuepolicyOutput) Vdomparam() pulumi.StringOutput
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 QueuepolicyState ¶
type QueuepolicyState struct { // COS queue configuration. The structure of `cosQueue` block is documented below. CosQueues QueuepolicyCosQueueArrayInput // Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ]. DynamicSortSubtable pulumi.StringPtrInput // Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables. GetAllTables pulumi.StringPtrInput // QoS policy name Name pulumi.StringPtrInput // COS queue rate by kbps or percent. Valid values: `kbps`, `percent`. RateBy pulumi.StringPtrInput // COS queue scheduling. Valid values: `strict`, `round-robin`, `weighted`. Schedule 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 (QueuepolicyState) ElementType ¶
func (QueuepolicyState) ElementType() reflect.Type