1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWirelesscontrollerHotspot20QosmapDscpexcept
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexcept

Explore with Pulumi AI

Differentiated Services Code Point (DSCP) exceptions.

This resource is a sub resource for variable dscp_except of resource fortimanager.ObjectWirelesscontrollerHotspot20Qosmap. Conflict and overwrite may occur if use both of them.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trnameObjectWirelesscontrollerHotspot20Qosmap = new fortimanager.ObjectWirelesscontrollerHotspot20Qosmap("trnameObjectWirelesscontrollerHotspot20Qosmap", {});
const trnameObjectWirelesscontrollerHotspot20QosmapDscpexcept = new fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexcept("trnameObjectWirelesscontrollerHotspot20QosmapDscpexcept", {
    qosMap: trnameObjectWirelesscontrollerHotspot20Qosmap.name,
    index: 3,
    up: 7,
}, {
    dependsOn: [trnameObjectWirelesscontrollerHotspot20Qosmap],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_wirelesscontroller_hotspot20_qosmap = fortimanager.ObjectWirelesscontrollerHotspot20Qosmap("trnameObjectWirelesscontrollerHotspot20Qosmap")
trname_object_wirelesscontroller_hotspot20_qosmap_dscpexcept = fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexcept("trnameObjectWirelesscontrollerHotspot20QosmapDscpexcept",
    qos_map=trname_object_wirelesscontroller_hotspot20_qosmap.name,
    index=3,
    up=7,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_wirelesscontroller_hotspot20_qosmap]))
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trnameObjectWirelesscontrollerHotspot20Qosmap, err := fortimanager.NewObjectWirelesscontrollerHotspot20Qosmap(ctx, "trnameObjectWirelesscontrollerHotspot20Qosmap", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectWirelesscontrollerHotspot20QosmapDscpexcept(ctx, "trnameObjectWirelesscontrollerHotspot20QosmapDscpexcept", &fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs{
			QosMap: trnameObjectWirelesscontrollerHotspot20Qosmap.Name,
			Index:  pulumi.Float64(3),
			Up:     pulumi.Float64(7),
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectWirelesscontrollerHotspot20Qosmap,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trnameObjectWirelesscontrollerHotspot20Qosmap = new Fortimanager.ObjectWirelesscontrollerHotspot20Qosmap("trnameObjectWirelesscontrollerHotspot20Qosmap");

    var trnameObjectWirelesscontrollerHotspot20QosmapDscpexcept = new Fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexcept("trnameObjectWirelesscontrollerHotspot20QosmapDscpexcept", new()
    {
        QosMap = trnameObjectWirelesscontrollerHotspot20Qosmap.Name,
        Index = 3,
        Up = 7,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectWirelesscontrollerHotspot20Qosmap,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectWirelesscontrollerHotspot20Qosmap;
import com.pulumi.fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexcept;
import com.pulumi.fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var trnameObjectWirelesscontrollerHotspot20Qosmap = new ObjectWirelesscontrollerHotspot20Qosmap("trnameObjectWirelesscontrollerHotspot20Qosmap");

        var trnameObjectWirelesscontrollerHotspot20QosmapDscpexcept = new ObjectWirelesscontrollerHotspot20QosmapDscpexcept("trnameObjectWirelesscontrollerHotspot20QosmapDscpexcept", ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs.builder()
            .qosMap(trnameObjectWirelesscontrollerHotspot20Qosmap.name())
            .index(3)
            .up(7)
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectWirelesscontrollerHotspot20Qosmap)
                .build());

    }
}
Copy
resources:
  trnameObjectWirelesscontrollerHotspot20QosmapDscpexcept:
    type: fortimanager:ObjectWirelesscontrollerHotspot20QosmapDscpexcept
    properties:
      qosMap: ${trnameObjectWirelesscontrollerHotspot20Qosmap.name}
      index: 3
      up: 7
    options:
      dependsOn:
        - ${trnameObjectWirelesscontrollerHotspot20Qosmap}
  trnameObjectWirelesscontrollerHotspot20Qosmap:
    type: fortimanager:ObjectWirelesscontrollerHotspot20Qosmap
Copy

Create ObjectWirelesscontrollerHotspot20QosmapDscpexcept Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ObjectWirelesscontrollerHotspot20QosmapDscpexcept(name: string, args: ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs, opts?: CustomResourceOptions);
@overload
def ObjectWirelesscontrollerHotspot20QosmapDscpexcept(resource_name: str,
                                                      args: ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs,
                                                      opts: Optional[ResourceOptions] = None)

@overload
def ObjectWirelesscontrollerHotspot20QosmapDscpexcept(resource_name: str,
                                                      opts: Optional[ResourceOptions] = None,
                                                      qos_map: Optional[str] = None,
                                                      adom: Optional[str] = None,
                                                      dscp: Optional[float] = None,
                                                      index: Optional[float] = None,
                                                      object_wirelesscontroller_hotspot20_qosmap_dscpexcept_id: Optional[str] = None,
                                                      scopetype: Optional[str] = None,
                                                      up: Optional[float] = None)
func NewObjectWirelesscontrollerHotspot20QosmapDscpexcept(ctx *Context, name string, args ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs, opts ...ResourceOption) (*ObjectWirelesscontrollerHotspot20QosmapDscpexcept, error)
public ObjectWirelesscontrollerHotspot20QosmapDscpexcept(string name, ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs args, CustomResourceOptions? opts = null)
public ObjectWirelesscontrollerHotspot20QosmapDscpexcept(String name, ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs args)
public ObjectWirelesscontrollerHotspot20QosmapDscpexcept(String name, ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWirelesscontrollerHotspot20QosmapDscpexcept
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

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

var objectWirelesscontrollerHotspot20QosmapDscpexceptResource = new Fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexcept("objectWirelesscontrollerHotspot20QosmapDscpexceptResource", new()
{
    QosMap = "string",
    Adom = "string",
    Dscp = 0,
    Index = 0,
    ObjectWirelesscontrollerHotspot20QosmapDscpexceptId = "string",
    Scopetype = "string",
    Up = 0,
});
Copy
example, err := fortimanager.NewObjectWirelesscontrollerHotspot20QosmapDscpexcept(ctx, "objectWirelesscontrollerHotspot20QosmapDscpexceptResource", &fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs{
QosMap: pulumi.String("string"),
Adom: pulumi.String("string"),
Dscp: pulumi.Float64(0),
Index: pulumi.Float64(0),
ObjectWirelesscontrollerHotspot20QosmapDscpexceptId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Up: pulumi.Float64(0),
})
Copy
var objectWirelesscontrollerHotspot20QosmapDscpexceptResource = new ObjectWirelesscontrollerHotspot20QosmapDscpexcept("objectWirelesscontrollerHotspot20QosmapDscpexceptResource", ObjectWirelesscontrollerHotspot20QosmapDscpexceptArgs.builder()
    .qosMap("string")
    .adom("string")
    .dscp(0)
    .index(0)
    .objectWirelesscontrollerHotspot20QosmapDscpexceptId("string")
    .scopetype("string")
    .up(0)
    .build());
Copy
object_wirelesscontroller_hotspot20_qosmap_dscpexcept_resource = fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexcept("objectWirelesscontrollerHotspot20QosmapDscpexceptResource",
    qos_map="string",
    adom="string",
    dscp=0,
    index=0,
    object_wirelesscontroller_hotspot20_qosmap_dscpexcept_id="string",
    scopetype="string",
    up=0)
Copy
const objectWirelesscontrollerHotspot20QosmapDscpexceptResource = new fortimanager.ObjectWirelesscontrollerHotspot20QosmapDscpexcept("objectWirelesscontrollerHotspot20QosmapDscpexceptResource", {
    qosMap: "string",
    adom: "string",
    dscp: 0,
    index: 0,
    objectWirelesscontrollerHotspot20QosmapDscpexceptId: "string",
    scopetype: "string",
    up: 0,
});
Copy
type: fortimanager:ObjectWirelesscontrollerHotspot20QosmapDscpexcept
properties:
    adom: string
    dscp: 0
    index: 0
    objectWirelesscontrollerHotspot20QosmapDscpexceptId: string
    qosMap: string
    scopetype: string
    up: 0
Copy

ObjectWirelesscontrollerHotspot20QosmapDscpexcept Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ObjectWirelesscontrollerHotspot20QosmapDscpexcept resource accepts the following input properties:

QosMap This property is required. string
Qos Map.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Dscp double
DSCP value.
Index double
DSCP exception index.
ObjectWirelesscontrollerHotspot20QosmapDscpexceptId string
an identifier for the resource with format {{index}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Up double
User priority.
QosMap This property is required. string
Qos Map.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Dscp float64
DSCP value.
Index float64
DSCP exception index.
ObjectWirelesscontrollerHotspot20QosmapDscpexceptId string
an identifier for the resource with format {{index}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Up float64
User priority.
qosMap This property is required. String
Qos Map.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dscp Double
DSCP value.
index Double
DSCP exception index.
objectWirelesscontrollerHotspot20QosmapDscpexceptId String
an identifier for the resource with format {{index}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
up Double
User priority.
qosMap This property is required. string
Qos Map.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dscp number
DSCP value.
index number
DSCP exception index.
objectWirelesscontrollerHotspot20QosmapDscpexceptId string
an identifier for the resource with format {{index}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
up number
User priority.
qos_map This property is required. str
Qos Map.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dscp float
DSCP value.
index float
DSCP exception index.
object_wirelesscontroller_hotspot20_qosmap_dscpexcept_id str
an identifier for the resource with format {{index}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
up float
User priority.
qosMap This property is required. String
Qos Map.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dscp Number
DSCP value.
index Number
DSCP exception index.
objectWirelesscontrollerHotspot20QosmapDscpexceptId String
an identifier for the resource with format {{index}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
up Number
User priority.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectWirelesscontrollerHotspot20QosmapDscpexcept resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ObjectWirelesscontrollerHotspot20QosmapDscpexcept Resource

Get an existing ObjectWirelesscontrollerHotspot20QosmapDscpexcept resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ObjectWirelesscontrollerHotspot20QosmapDscpexceptState, opts?: CustomResourceOptions): ObjectWirelesscontrollerHotspot20QosmapDscpexcept
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        dscp: Optional[float] = None,
        index: Optional[float] = None,
        object_wirelesscontroller_hotspot20_qosmap_dscpexcept_id: Optional[str] = None,
        qos_map: Optional[str] = None,
        scopetype: Optional[str] = None,
        up: Optional[float] = None) -> ObjectWirelesscontrollerHotspot20QosmapDscpexcept
func GetObjectWirelesscontrollerHotspot20QosmapDscpexcept(ctx *Context, name string, id IDInput, state *ObjectWirelesscontrollerHotspot20QosmapDscpexceptState, opts ...ResourceOption) (*ObjectWirelesscontrollerHotspot20QosmapDscpexcept, error)
public static ObjectWirelesscontrollerHotspot20QosmapDscpexcept Get(string name, Input<string> id, ObjectWirelesscontrollerHotspot20QosmapDscpexceptState? state, CustomResourceOptions? opts = null)
public static ObjectWirelesscontrollerHotspot20QosmapDscpexcept get(String name, Output<String> id, ObjectWirelesscontrollerHotspot20QosmapDscpexceptState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectWirelesscontrollerHotspot20QosmapDscpexcept    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Dscp double
DSCP value.
Index double
DSCP exception index.
ObjectWirelesscontrollerHotspot20QosmapDscpexceptId string
an identifier for the resource with format {{index}}.
QosMap string
Qos Map.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Up double
User priority.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Dscp float64
DSCP value.
Index float64
DSCP exception index.
ObjectWirelesscontrollerHotspot20QosmapDscpexceptId string
an identifier for the resource with format {{index}}.
QosMap string
Qos Map.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Up float64
User priority.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dscp Double
DSCP value.
index Double
DSCP exception index.
objectWirelesscontrollerHotspot20QosmapDscpexceptId String
an identifier for the resource with format {{index}}.
qosMap String
Qos Map.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
up Double
User priority.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dscp number
DSCP value.
index number
DSCP exception index.
objectWirelesscontrollerHotspot20QosmapDscpexceptId string
an identifier for the resource with format {{index}}.
qosMap string
Qos Map.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
up number
User priority.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dscp float
DSCP value.
index float
DSCP exception index.
object_wirelesscontroller_hotspot20_qosmap_dscpexcept_id str
an identifier for the resource with format {{index}}.
qos_map str
Qos Map.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
up float
User priority.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dscp Number
DSCP value.
index Number
DSCP exception index.
objectWirelesscontrollerHotspot20QosmapDscpexceptId String
an identifier for the resource with format {{index}}.
qosMap String
Qos Map.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
up Number
User priority.

Import

ObjectWirelessController Hotspot20QosMapDscpExcept can be imported using any of these accepted formats:

Set import_options = [“qos_map=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectWirelesscontrollerHotspot20QosmapDscpexcept:ObjectWirelesscontrollerHotspot20QosmapDscpexcept labelname {{index}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.