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

fortimanager.ObjectSystemNpuDswdtsprofile

Explore with Pulumi AI

Configure NPU DSW DTS profile.

This resource is a sub resource for variable dsw_dts_profile of resource fortimanager.ObjectSystemNpu. 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 trname = new fortimanager.ObjectSystemNpuDswdtsprofile("trname", {
    action: "drop",
    minLimit: 40,
    profileId: 2,
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectSystemNpuDswdtsprofile("trname",
    action="drop",
    min_limit=40,
    profile_id=2)
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 {
		_, err := fortimanager.NewObjectSystemNpuDswdtsprofile(ctx, "trname", &fortimanager.ObjectSystemNpuDswdtsprofileArgs{
			Action:    pulumi.String("drop"),
			MinLimit:  pulumi.Float64(40),
			ProfileId: pulumi.Float64(2),
		})
		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 trname = new Fortimanager.ObjectSystemNpuDswdtsprofile("trname", new()
    {
        Action = "drop",
        MinLimit = 40,
        ProfileId = 2,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectSystemNpuDswdtsprofile;
import com.pulumi.fortimanager.ObjectSystemNpuDswdtsprofileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

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

    public static void stack(Context ctx) {
        var trname = new ObjectSystemNpuDswdtsprofile("trname", ObjectSystemNpuDswdtsprofileArgs.builder()
            .action("drop")
            .minLimit(40)
            .profileId(2)
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectSystemNpuDswdtsprofile
    properties:
      action: drop
      minLimit: 40
      profileId: 2
Copy

Create ObjectSystemNpuDswdtsprofile Resource

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

Constructor syntax

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

@overload
def ObjectSystemNpuDswdtsprofile(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 action: Optional[str] = None,
                                 adom: Optional[str] = None,
                                 min_limit: Optional[float] = None,
                                 object_system_npu_dswdtsprofile_id: Optional[str] = None,
                                 profile_id: Optional[float] = None,
                                 scopetype: Optional[str] = None,
                                 step: Optional[float] = None)
func NewObjectSystemNpuDswdtsprofile(ctx *Context, name string, args *ObjectSystemNpuDswdtsprofileArgs, opts ...ResourceOption) (*ObjectSystemNpuDswdtsprofile, error)
public ObjectSystemNpuDswdtsprofile(string name, ObjectSystemNpuDswdtsprofileArgs? args = null, CustomResourceOptions? opts = null)
public ObjectSystemNpuDswdtsprofile(String name, ObjectSystemNpuDswdtsprofileArgs args)
public ObjectSystemNpuDswdtsprofile(String name, ObjectSystemNpuDswdtsprofileArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemNpuDswdtsprofile
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 ObjectSystemNpuDswdtsprofileArgs
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 ObjectSystemNpuDswdtsprofileArgs
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 ObjectSystemNpuDswdtsprofileArgs
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 ObjectSystemNpuDswdtsprofileArgs
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. ObjectSystemNpuDswdtsprofileArgs
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 objectSystemNpuDswdtsprofileResource = new Fortimanager.ObjectSystemNpuDswdtsprofile("objectSystemNpuDswdtsprofileResource", new()
{
    Action = "string",
    Adom = "string",
    MinLimit = 0,
    ObjectSystemNpuDswdtsprofileId = "string",
    ProfileId = 0,
    Scopetype = "string",
    Step = 0,
});
Copy
example, err := fortimanager.NewObjectSystemNpuDswdtsprofile(ctx, "objectSystemNpuDswdtsprofileResource", &fortimanager.ObjectSystemNpuDswdtsprofileArgs{
Action: pulumi.String("string"),
Adom: pulumi.String("string"),
MinLimit: pulumi.Float64(0),
ObjectSystemNpuDswdtsprofileId: pulumi.String("string"),
ProfileId: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
Step: pulumi.Float64(0),
})
Copy
var objectSystemNpuDswdtsprofileResource = new ObjectSystemNpuDswdtsprofile("objectSystemNpuDswdtsprofileResource", ObjectSystemNpuDswdtsprofileArgs.builder()
    .action("string")
    .adom("string")
    .minLimit(0)
    .objectSystemNpuDswdtsprofileId("string")
    .profileId(0)
    .scopetype("string")
    .step(0)
    .build());
Copy
object_system_npu_dswdtsprofile_resource = fortimanager.ObjectSystemNpuDswdtsprofile("objectSystemNpuDswdtsprofileResource",
    action="string",
    adom="string",
    min_limit=0,
    object_system_npu_dswdtsprofile_id="string",
    profile_id=0,
    scopetype="string",
    step=0)
Copy
const objectSystemNpuDswdtsprofileResource = new fortimanager.ObjectSystemNpuDswdtsprofile("objectSystemNpuDswdtsprofileResource", {
    action: "string",
    adom: "string",
    minLimit: 0,
    objectSystemNpuDswdtsprofileId: "string",
    profileId: 0,
    scopetype: "string",
    step: 0,
});
Copy
type: fortimanager:ObjectSystemNpuDswdtsprofile
properties:
    action: string
    adom: string
    minLimit: 0
    objectSystemNpuDswdtsprofileId: string
    profileId: 0
    scopetype: string
    step: 0
Copy

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

Action string
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
MinLimit double
Set NPU DSW DTS profile min-limt.
ObjectSystemNpuDswdtsprofileId string
an identifier for the resource with format {{profile_id}}.
ProfileId double
Set NPU DSW DTS profile profile id.
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.
Step double
Set NPU DSW DTS profile step.
Action string
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
MinLimit float64
Set NPU DSW DTS profile min-limt.
ObjectSystemNpuDswdtsprofileId string
an identifier for the resource with format {{profile_id}}.
ProfileId float64
Set NPU DSW DTS profile profile id.
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.
Step float64
Set NPU DSW DTS profile step.
action String
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
minLimit Double
Set NPU DSW DTS profile min-limt.
objectSystemNpuDswdtsprofileId String
an identifier for the resource with format {{profile_id}}.
profileId Double
Set NPU DSW DTS profile profile id.
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.
step Double
Set NPU DSW DTS profile step.
action string
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
minLimit number
Set NPU DSW DTS profile min-limt.
objectSystemNpuDswdtsprofileId string
an identifier for the resource with format {{profile_id}}.
profileId number
Set NPU DSW DTS profile profile id.
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.
step number
Set NPU DSW DTS profile step.
action str
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
min_limit float
Set NPU DSW DTS profile min-limt.
object_system_npu_dswdtsprofile_id str
an identifier for the resource with format {{profile_id}}.
profile_id float
Set NPU DSW DTS profile profile id.
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.
step float
Set NPU DSW DTS profile step.
action String
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
minLimit Number
Set NPU DSW DTS profile min-limt.
objectSystemNpuDswdtsprofileId String
an identifier for the resource with format {{profile_id}}.
profileId Number
Set NPU DSW DTS profile profile id.
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.
step Number
Set NPU DSW DTS profile step.

Outputs

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

Get an existing ObjectSystemNpuDswdtsprofile 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?: ObjectSystemNpuDswdtsprofileState, opts?: CustomResourceOptions): ObjectSystemNpuDswdtsprofile
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[str] = None,
        adom: Optional[str] = None,
        min_limit: Optional[float] = None,
        object_system_npu_dswdtsprofile_id: Optional[str] = None,
        profile_id: Optional[float] = None,
        scopetype: Optional[str] = None,
        step: Optional[float] = None) -> ObjectSystemNpuDswdtsprofile
func GetObjectSystemNpuDswdtsprofile(ctx *Context, name string, id IDInput, state *ObjectSystemNpuDswdtsprofileState, opts ...ResourceOption) (*ObjectSystemNpuDswdtsprofile, error)
public static ObjectSystemNpuDswdtsprofile Get(string name, Input<string> id, ObjectSystemNpuDswdtsprofileState? state, CustomResourceOptions? opts = null)
public static ObjectSystemNpuDswdtsprofile get(String name, Output<String> id, ObjectSystemNpuDswdtsprofileState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemNpuDswdtsprofile    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:
Action string
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
MinLimit double
Set NPU DSW DTS profile min-limt.
ObjectSystemNpuDswdtsprofileId string
an identifier for the resource with format {{profile_id}}.
ProfileId double
Set NPU DSW DTS profile profile id.
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.
Step double
Set NPU DSW DTS profile step.
Action string
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
MinLimit float64
Set NPU DSW DTS profile min-limt.
ObjectSystemNpuDswdtsprofileId string
an identifier for the resource with format {{profile_id}}.
ProfileId float64
Set NPU DSW DTS profile profile id.
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.
Step float64
Set NPU DSW DTS profile step.
action String
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
minLimit Double
Set NPU DSW DTS profile min-limt.
objectSystemNpuDswdtsprofileId String
an identifier for the resource with format {{profile_id}}.
profileId Double
Set NPU DSW DTS profile profile id.
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.
step Double
Set NPU DSW DTS profile step.
action string
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
minLimit number
Set NPU DSW DTS profile min-limt.
objectSystemNpuDswdtsprofileId string
an identifier for the resource with format {{profile_id}}.
profileId number
Set NPU DSW DTS profile profile id.
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.
step number
Set NPU DSW DTS profile step.
action str
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
min_limit float
Set NPU DSW DTS profile min-limt.
object_system_npu_dswdtsprofile_id str
an identifier for the resource with format {{profile_id}}.
profile_id float
Set NPU DSW DTS profile profile id.
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.
step float
Set NPU DSW DTS profile step.
action String
Set NPU DSW DTS profile action. Valid values: wait, drop, drop_tmr_0, drop_tmr_1, enque, enque_0, enque_1.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
minLimit Number
Set NPU DSW DTS profile min-limt.
objectSystemNpuDswdtsprofileId String
an identifier for the resource with format {{profile_id}}.
profileId Number
Set NPU DSW DTS profile profile id.
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.
step Number
Set NPU DSW DTS profile step.

Import

ObjectSystem NpuDswDtsProfile can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSystemNpuDswdtsprofile:ObjectSystemNpuDswdtsprofile labelname {{profile_id}}
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.