1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectSwitchcontrollerQosIpdscpmapMap
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectSwitchcontrollerQosIpdscpmapMap

Explore with Pulumi AI

Maps between IP-DSCP value to COS queue.

This resource is a sub resource for variable map of resource fortimanager.ObjectSwitchcontrollerQosIpdscpmap. 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 trnameObjectSwitchcontrollerQosIpdscpmap = new fortimanager.ObjectSwitchcontrollerQosIpdscpmap("trnameObjectSwitchcontrollerQosIpdscpmap", {});
const trnameObjectSwitchcontrollerQosIpdscpmapMap = new fortimanager.ObjectSwitchcontrollerQosIpdscpmapMap("trnameObjectSwitchcontrollerQosIpdscpmapMap", {
    ipDscpMap: trnameObjectSwitchcontrollerQosIpdscpmap.name,
    diffservs: ["CS0"],
    ipPrecedences: ["value"],
    value: "21",
}, {
    dependsOn: [trnameObjectSwitchcontrollerQosIpdscpmap],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_switchcontroller_qos_ipdscpmap = fortimanager.ObjectSwitchcontrollerQosIpdscpmap("trnameObjectSwitchcontrollerQosIpdscpmap")
trname_object_switchcontroller_qos_ipdscpmap_map = fortimanager.ObjectSwitchcontrollerQosIpdscpmapMap("trnameObjectSwitchcontrollerQosIpdscpmapMap",
    ip_dscp_map=trname_object_switchcontroller_qos_ipdscpmap.name,
    diffservs=["CS0"],
    ip_precedences=["value"],
    value="21",
    opts = pulumi.ResourceOptions(depends_on=[trname_object_switchcontroller_qos_ipdscpmap]))
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 {
		trnameObjectSwitchcontrollerQosIpdscpmap, err := fortimanager.NewObjectSwitchcontrollerQosIpdscpmap(ctx, "trnameObjectSwitchcontrollerQosIpdscpmap", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectSwitchcontrollerQosIpdscpmapMap(ctx, "trnameObjectSwitchcontrollerQosIpdscpmapMap", &fortimanager.ObjectSwitchcontrollerQosIpdscpmapMapArgs{
			IpDscpMap: trnameObjectSwitchcontrollerQosIpdscpmap.Name,
			Diffservs: pulumi.StringArray{
				pulumi.String("CS0"),
			},
			IpPrecedences: pulumi.StringArray{
				pulumi.String("value"),
			},
			Value: pulumi.String("21"),
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectSwitchcontrollerQosIpdscpmap,
		}))
		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 trnameObjectSwitchcontrollerQosIpdscpmap = new Fortimanager.ObjectSwitchcontrollerQosIpdscpmap("trnameObjectSwitchcontrollerQosIpdscpmap");

    var trnameObjectSwitchcontrollerQosIpdscpmapMap = new Fortimanager.ObjectSwitchcontrollerQosIpdscpmapMap("trnameObjectSwitchcontrollerQosIpdscpmapMap", new()
    {
        IpDscpMap = trnameObjectSwitchcontrollerQosIpdscpmap.Name,
        Diffservs = new[]
        {
            "CS0",
        },
        IpPrecedences = new[]
        {
            "value",
        },
        Value = "21",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectSwitchcontrollerQosIpdscpmap,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectSwitchcontrollerQosIpdscpmap;
import com.pulumi.fortimanager.ObjectSwitchcontrollerQosIpdscpmapMap;
import com.pulumi.fortimanager.ObjectSwitchcontrollerQosIpdscpmapMapArgs;
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 trnameObjectSwitchcontrollerQosIpdscpmap = new ObjectSwitchcontrollerQosIpdscpmap("trnameObjectSwitchcontrollerQosIpdscpmap");

        var trnameObjectSwitchcontrollerQosIpdscpmapMap = new ObjectSwitchcontrollerQosIpdscpmapMap("trnameObjectSwitchcontrollerQosIpdscpmapMap", ObjectSwitchcontrollerQosIpdscpmapMapArgs.builder()
            .ipDscpMap(trnameObjectSwitchcontrollerQosIpdscpmap.name())
            .diffservs("CS0")
            .ipPrecedences("value")
            .value(21)
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectSwitchcontrollerQosIpdscpmap)
                .build());

    }
}
Copy
resources:
  trnameObjectSwitchcontrollerQosIpdscpmapMap:
    type: fortimanager:ObjectSwitchcontrollerQosIpdscpmapMap
    properties:
      ipDscpMap: ${trnameObjectSwitchcontrollerQosIpdscpmap.name}
      diffservs:
        - CS0
      ipPrecedences:
        - value
      value: 21
    options:
      dependsOn:
        - ${trnameObjectSwitchcontrollerQosIpdscpmap}
  trnameObjectSwitchcontrollerQosIpdscpmap:
    type: fortimanager:ObjectSwitchcontrollerQosIpdscpmap
Copy

Create ObjectSwitchcontrollerQosIpdscpmapMap Resource

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

Constructor syntax

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

@overload
def ObjectSwitchcontrollerQosIpdscpmapMap(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          ip_dscp_map: Optional[str] = None,
                                          adom: Optional[str] = None,
                                          cos_queue: Optional[float] = None,
                                          diffservs: Optional[Sequence[str]] = None,
                                          ip_precedences: Optional[Sequence[str]] = None,
                                          name: Optional[str] = None,
                                          object_switchcontroller_qos_ipdscpmap_map_id: Optional[str] = None,
                                          scopetype: Optional[str] = None,
                                          value: Optional[str] = None)
func NewObjectSwitchcontrollerQosIpdscpmapMap(ctx *Context, name string, args ObjectSwitchcontrollerQosIpdscpmapMapArgs, opts ...ResourceOption) (*ObjectSwitchcontrollerQosIpdscpmapMap, error)
public ObjectSwitchcontrollerQosIpdscpmapMap(string name, ObjectSwitchcontrollerQosIpdscpmapMapArgs args, CustomResourceOptions? opts = null)
public ObjectSwitchcontrollerQosIpdscpmapMap(String name, ObjectSwitchcontrollerQosIpdscpmapMapArgs args)
public ObjectSwitchcontrollerQosIpdscpmapMap(String name, ObjectSwitchcontrollerQosIpdscpmapMapArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSwitchcontrollerQosIpdscpmapMap
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. ObjectSwitchcontrollerQosIpdscpmapMapArgs
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. ObjectSwitchcontrollerQosIpdscpmapMapInitArgs
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. ObjectSwitchcontrollerQosIpdscpmapMapArgs
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. ObjectSwitchcontrollerQosIpdscpmapMapArgs
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. ObjectSwitchcontrollerQosIpdscpmapMapArgs
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 objectSwitchcontrollerQosIpdscpmapMapResource = new Fortimanager.ObjectSwitchcontrollerQosIpdscpmapMap("objectSwitchcontrollerQosIpdscpmapMapResource", new()
{
    IpDscpMap = "string",
    Adom = "string",
    CosQueue = 0,
    Diffservs = new[]
    {
        "string",
    },
    IpPrecedences = new[]
    {
        "string",
    },
    Name = "string",
    ObjectSwitchcontrollerQosIpdscpmapMapId = "string",
    Scopetype = "string",
    Value = "string",
});
Copy
example, err := fortimanager.NewObjectSwitchcontrollerQosIpdscpmapMap(ctx, "objectSwitchcontrollerQosIpdscpmapMapResource", &fortimanager.ObjectSwitchcontrollerQosIpdscpmapMapArgs{
IpDscpMap: pulumi.String("string"),
Adom: pulumi.String("string"),
CosQueue: pulumi.Float64(0),
Diffservs: pulumi.StringArray{
pulumi.String("string"),
},
IpPrecedences: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
ObjectSwitchcontrollerQosIpdscpmapMapId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Value: pulumi.String("string"),
})
Copy
var objectSwitchcontrollerQosIpdscpmapMapResource = new ObjectSwitchcontrollerQosIpdscpmapMap("objectSwitchcontrollerQosIpdscpmapMapResource", ObjectSwitchcontrollerQosIpdscpmapMapArgs.builder()
    .ipDscpMap("string")
    .adom("string")
    .cosQueue(0)
    .diffservs("string")
    .ipPrecedences("string")
    .name("string")
    .objectSwitchcontrollerQosIpdscpmapMapId("string")
    .scopetype("string")
    .value("string")
    .build());
Copy
object_switchcontroller_qos_ipdscpmap_map_resource = fortimanager.ObjectSwitchcontrollerQosIpdscpmapMap("objectSwitchcontrollerQosIpdscpmapMapResource",
    ip_dscp_map="string",
    adom="string",
    cos_queue=0,
    diffservs=["string"],
    ip_precedences=["string"],
    name="string",
    object_switchcontroller_qos_ipdscpmap_map_id="string",
    scopetype="string",
    value="string")
Copy
const objectSwitchcontrollerQosIpdscpmapMapResource = new fortimanager.ObjectSwitchcontrollerQosIpdscpmapMap("objectSwitchcontrollerQosIpdscpmapMapResource", {
    ipDscpMap: "string",
    adom: "string",
    cosQueue: 0,
    diffservs: ["string"],
    ipPrecedences: ["string"],
    name: "string",
    objectSwitchcontrollerQosIpdscpmapMapId: "string",
    scopetype: "string",
    value: "string",
});
Copy
type: fortimanager:ObjectSwitchcontrollerQosIpdscpmapMap
properties:
    adom: string
    cosQueue: 0
    diffservs:
        - string
    ipDscpMap: string
    ipPrecedences:
        - string
    name: string
    objectSwitchcontrollerQosIpdscpmapMapId: string
    scopetype: string
    value: string
Copy

ObjectSwitchcontrollerQosIpdscpmapMap 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 ObjectSwitchcontrollerQosIpdscpmapMap resource accepts the following input properties:

IpDscpMap This property is required. string
Ip Dscp 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.
CosQueue double
COS queue number.
Diffservs List<string>
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.
IpPrecedences List<string>
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
Name string
Dscp mapping entry name.
ObjectSwitchcontrollerQosIpdscpmapMapId string
an identifier for the resource with format {{name}}.
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.
Value string
Raw values of DSCP (0 - 63).
IpDscpMap This property is required. string
Ip Dscp 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.
CosQueue float64
COS queue number.
Diffservs []string
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.
IpPrecedences []string
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
Name string
Dscp mapping entry name.
ObjectSwitchcontrollerQosIpdscpmapMapId string
an identifier for the resource with format {{name}}.
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.
Value string
Raw values of DSCP (0 - 63).
ipDscpMap This property is required. String
Ip Dscp 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.
cosQueue Double
COS queue number.
diffservs List<String>
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.
ipPrecedences List<String>
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
name String
Dscp mapping entry name.
objectSwitchcontrollerQosIpdscpmapMapId String
an identifier for the resource with format {{name}}.
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.
value String
Raw values of DSCP (0 - 63).
ipDscpMap This property is required. string
Ip Dscp 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.
cosQueue number
COS queue number.
diffservs string[]
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.
ipPrecedences string[]
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
name string
Dscp mapping entry name.
objectSwitchcontrollerQosIpdscpmapMapId string
an identifier for the resource with format {{name}}.
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.
value string
Raw values of DSCP (0 - 63).
ip_dscp_map This property is required. str
Ip Dscp 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.
cos_queue float
COS queue number.
diffservs Sequence[str]
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.
ip_precedences Sequence[str]
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
name str
Dscp mapping entry name.
object_switchcontroller_qos_ipdscpmap_map_id str
an identifier for the resource with format {{name}}.
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.
value str
Raw values of DSCP (0 - 63).
ipDscpMap This property is required. String
Ip Dscp 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.
cosQueue Number
COS queue number.
diffservs List<String>
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.
ipPrecedences List<String>
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
name String
Dscp mapping entry name.
objectSwitchcontrollerQosIpdscpmapMapId String
an identifier for the resource with format {{name}}.
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.
value String
Raw values of DSCP (0 - 63).

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectSwitchcontrollerQosIpdscpmapMap 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 ObjectSwitchcontrollerQosIpdscpmapMap Resource

Get an existing ObjectSwitchcontrollerQosIpdscpmapMap 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?: ObjectSwitchcontrollerQosIpdscpmapMapState, opts?: CustomResourceOptions): ObjectSwitchcontrollerQosIpdscpmapMap
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        cos_queue: Optional[float] = None,
        diffservs: Optional[Sequence[str]] = None,
        ip_dscp_map: Optional[str] = None,
        ip_precedences: Optional[Sequence[str]] = None,
        name: Optional[str] = None,
        object_switchcontroller_qos_ipdscpmap_map_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        value: Optional[str] = None) -> ObjectSwitchcontrollerQosIpdscpmapMap
func GetObjectSwitchcontrollerQosIpdscpmapMap(ctx *Context, name string, id IDInput, state *ObjectSwitchcontrollerQosIpdscpmapMapState, opts ...ResourceOption) (*ObjectSwitchcontrollerQosIpdscpmapMap, error)
public static ObjectSwitchcontrollerQosIpdscpmapMap Get(string name, Input<string> id, ObjectSwitchcontrollerQosIpdscpmapMapState? state, CustomResourceOptions? opts = null)
public static ObjectSwitchcontrollerQosIpdscpmapMap get(String name, Output<String> id, ObjectSwitchcontrollerQosIpdscpmapMapState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSwitchcontrollerQosIpdscpmapMap    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.
CosQueue double
COS queue number.
Diffservs List<string>
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.
IpDscpMap string
Ip Dscp Map.
IpPrecedences List<string>
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
Name string
Dscp mapping entry name.
ObjectSwitchcontrollerQosIpdscpmapMapId string
an identifier for the resource with format {{name}}.
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.
Value string
Raw values of DSCP (0 - 63).
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CosQueue float64
COS queue number.
Diffservs []string
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.
IpDscpMap string
Ip Dscp Map.
IpPrecedences []string
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
Name string
Dscp mapping entry name.
ObjectSwitchcontrollerQosIpdscpmapMapId string
an identifier for the resource with format {{name}}.
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.
Value string
Raw values of DSCP (0 - 63).
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
cosQueue Double
COS queue number.
diffservs List<String>
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.
ipDscpMap String
Ip Dscp Map.
ipPrecedences List<String>
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
name String
Dscp mapping entry name.
objectSwitchcontrollerQosIpdscpmapMapId String
an identifier for the resource with format {{name}}.
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.
value String
Raw values of DSCP (0 - 63).
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
cosQueue number
COS queue number.
diffservs string[]
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.
ipDscpMap string
Ip Dscp Map.
ipPrecedences string[]
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
name string
Dscp mapping entry name.
objectSwitchcontrollerQosIpdscpmapMapId string
an identifier for the resource with format {{name}}.
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.
value string
Raw values of DSCP (0 - 63).
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
cos_queue float
COS queue number.
diffservs Sequence[str]
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.
ip_dscp_map str
Ip Dscp Map.
ip_precedences Sequence[str]
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
name str
Dscp mapping entry name.
object_switchcontroller_qos_ipdscpmap_map_id str
an identifier for the resource with format {{name}}.
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.
value str
Raw values of DSCP (0 - 63).
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
cosQueue Number
COS queue number.
diffservs List<String>
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.
ipDscpMap String
Ip Dscp Map.
ipPrecedences List<String>
IP Precedence. Valid values: network-control, internetwork-control, critic-ecp, flashoverride, flash, immediate, priority, routine.
name String
Dscp mapping entry name.
objectSwitchcontrollerQosIpdscpmapMapId String
an identifier for the resource with format {{name}}.
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.
value String
Raw values of DSCP (0 - 63).

Import

ObjectSwitchController QosIpDscpMapMap can be imported using any of these accepted formats:

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSwitchcontrollerQosIpdscpmapMap:ObjectSwitchcontrollerQosIpdscpmapMap labelname {{name}}
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.