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

fortimanager.ObjectSystemNpuNputcamPriact

Explore with Pulumi AI

Priority action of TCAM.

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

Create ObjectSystemNpuNputcamPriact Resource

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

Constructor syntax

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

@overload
def ObjectSystemNpuNputcamPriact(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 npu_tcam: Optional[str] = None,
                                 adom: Optional[str] = None,
                                 object_system_npu_nputcam_priact_id: Optional[str] = None,
                                 priority: Optional[float] = None,
                                 scopetype: Optional[str] = None,
                                 weight: Optional[float] = None)
func NewObjectSystemNpuNputcamPriact(ctx *Context, name string, args ObjectSystemNpuNputcamPriactArgs, opts ...ResourceOption) (*ObjectSystemNpuNputcamPriact, error)
public ObjectSystemNpuNputcamPriact(string name, ObjectSystemNpuNputcamPriactArgs args, CustomResourceOptions? opts = null)
public ObjectSystemNpuNputcamPriact(String name, ObjectSystemNpuNputcamPriactArgs args)
public ObjectSystemNpuNputcamPriact(String name, ObjectSystemNpuNputcamPriactArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemNpuNputcamPriact
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. ObjectSystemNpuNputcamPriactArgs
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. ObjectSystemNpuNputcamPriactArgs
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. ObjectSystemNpuNputcamPriactArgs
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. ObjectSystemNpuNputcamPriactArgs
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. ObjectSystemNpuNputcamPriactArgs
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 objectSystemNpuNputcamPriactResource = new Fortimanager.ObjectSystemNpuNputcamPriact("objectSystemNpuNputcamPriactResource", new()
{
    NpuTcam = "string",
    Adom = "string",
    ObjectSystemNpuNputcamPriactId = "string",
    Priority = 0,
    Scopetype = "string",
    Weight = 0,
});
Copy
example, err := fortimanager.NewObjectSystemNpuNputcamPriact(ctx, "objectSystemNpuNputcamPriactResource", &fortimanager.ObjectSystemNpuNputcamPriactArgs{
NpuTcam: pulumi.String("string"),
Adom: pulumi.String("string"),
ObjectSystemNpuNputcamPriactId: pulumi.String("string"),
Priority: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
Weight: pulumi.Float64(0),
})
Copy
var objectSystemNpuNputcamPriactResource = new ObjectSystemNpuNputcamPriact("objectSystemNpuNputcamPriactResource", ObjectSystemNpuNputcamPriactArgs.builder()
    .npuTcam("string")
    .adom("string")
    .objectSystemNpuNputcamPriactId("string")
    .priority(0)
    .scopetype("string")
    .weight(0)
    .build());
Copy
object_system_npu_nputcam_priact_resource = fortimanager.ObjectSystemNpuNputcamPriact("objectSystemNpuNputcamPriactResource",
    npu_tcam="string",
    adom="string",
    object_system_npu_nputcam_priact_id="string",
    priority=0,
    scopetype="string",
    weight=0)
Copy
const objectSystemNpuNputcamPriactResource = new fortimanager.ObjectSystemNpuNputcamPriact("objectSystemNpuNputcamPriactResource", {
    npuTcam: "string",
    adom: "string",
    objectSystemNpuNputcamPriactId: "string",
    priority: 0,
    scopetype: "string",
    weight: 0,
});
Copy
type: fortimanager:ObjectSystemNpuNputcamPriact
properties:
    adom: string
    npuTcam: string
    objectSystemNpuNputcamPriactId: string
    priority: 0
    scopetype: string
    weight: 0
Copy

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

NpuTcam This property is required. string
Npu Tcam.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ObjectSystemNpuNputcamPriactId string
an identifier for the resource.
Priority double
tcam priority action priority.
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.
Weight double
tcam priority action weight.
NpuTcam This property is required. string
Npu Tcam.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ObjectSystemNpuNputcamPriactId string
an identifier for the resource.
Priority float64
tcam priority action priority.
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.
Weight float64
tcam priority action weight.
npuTcam This property is required. String
Npu Tcam.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
objectSystemNpuNputcamPriactId String
an identifier for the resource.
priority Double
tcam priority action priority.
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.
weight Double
tcam priority action weight.
npuTcam This property is required. string
Npu Tcam.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
objectSystemNpuNputcamPriactId string
an identifier for the resource.
priority number
tcam priority action priority.
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.
weight number
tcam priority action weight.
npu_tcam This property is required. str
Npu Tcam.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
object_system_npu_nputcam_priact_id str
an identifier for the resource.
priority float
tcam priority action priority.
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.
weight float
tcam priority action weight.
npuTcam This property is required. String
Npu Tcam.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
objectSystemNpuNputcamPriactId String
an identifier for the resource.
priority Number
tcam priority action priority.
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.
weight Number
tcam priority action weight.

Outputs

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

Get an existing ObjectSystemNpuNputcamPriact 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?: ObjectSystemNpuNputcamPriactState, opts?: CustomResourceOptions): ObjectSystemNpuNputcamPriact
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        npu_tcam: Optional[str] = None,
        object_system_npu_nputcam_priact_id: Optional[str] = None,
        priority: Optional[float] = None,
        scopetype: Optional[str] = None,
        weight: Optional[float] = None) -> ObjectSystemNpuNputcamPriact
func GetObjectSystemNpuNputcamPriact(ctx *Context, name string, id IDInput, state *ObjectSystemNpuNputcamPriactState, opts ...ResourceOption) (*ObjectSystemNpuNputcamPriact, error)
public static ObjectSystemNpuNputcamPriact Get(string name, Input<string> id, ObjectSystemNpuNputcamPriactState? state, CustomResourceOptions? opts = null)
public static ObjectSystemNpuNputcamPriact get(String name, Output<String> id, ObjectSystemNpuNputcamPriactState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemNpuNputcamPriact    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.
NpuTcam string
Npu Tcam.
ObjectSystemNpuNputcamPriactId string
an identifier for the resource.
Priority double
tcam priority action priority.
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.
Weight double
tcam priority action weight.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
NpuTcam string
Npu Tcam.
ObjectSystemNpuNputcamPriactId string
an identifier for the resource.
Priority float64
tcam priority action priority.
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.
Weight float64
tcam priority action weight.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
npuTcam String
Npu Tcam.
objectSystemNpuNputcamPriactId String
an identifier for the resource.
priority Double
tcam priority action priority.
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.
weight Double
tcam priority action weight.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
npuTcam string
Npu Tcam.
objectSystemNpuNputcamPriactId string
an identifier for the resource.
priority number
tcam priority action priority.
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.
weight number
tcam priority action weight.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
npu_tcam str
Npu Tcam.
object_system_npu_nputcam_priact_id str
an identifier for the resource.
priority float
tcam priority action priority.
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.
weight float
tcam priority action weight.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
npuTcam String
Npu Tcam.
objectSystemNpuNputcamPriactId String
an identifier for the resource.
priority Number
tcam priority action priority.
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.
weight Number
tcam priority action weight.

Import

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

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSystemNpuNputcamPriact:ObjectSystemNpuNputcamPriact labelname ObjectSystemNpuNpuTcamPriAct
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.