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

fortimanager.ObjectSystemObjecttagging

Explore with Pulumi AI

Configure object tagging.

Example Usage

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

const labelname = new fortimanager.ObjectSystemObjecttagging("labelname", {
    address: "mandatory",
    category: "ss",
    color: 0,
    device: "mandatory",
    "interface": "mandatory",
    multiple: "enable",
    tags: ["11"],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

labelname = fortimanager.ObjectSystemObjecttagging("labelname",
    address="mandatory",
    category="ss",
    color=0,
    device="mandatory",
    interface="mandatory",
    multiple="enable",
    tags=["11"])
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.NewObjectSystemObjecttagging(ctx, "labelname", &fortimanager.ObjectSystemObjecttaggingArgs{
			Address:   pulumi.String("mandatory"),
			Category:  pulumi.String("ss"),
			Color:     pulumi.Float64(0),
			Device:    pulumi.String("mandatory"),
			Interface: pulumi.String("mandatory"),
			Multiple:  pulumi.String("enable"),
			Tags: pulumi.StringArray{
				pulumi.String("11"),
			},
		})
		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 labelname = new Fortimanager.ObjectSystemObjecttagging("labelname", new()
    {
        Address = "mandatory",
        Category = "ss",
        Color = 0,
        Device = "mandatory",
        Interface = "mandatory",
        Multiple = "enable",
        Tags = new[]
        {
            "11",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectSystemObjecttagging;
import com.pulumi.fortimanager.ObjectSystemObjecttaggingArgs;
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 labelname = new ObjectSystemObjecttagging("labelname", ObjectSystemObjecttaggingArgs.builder()
            .address("mandatory")
            .category("ss")
            .color(0)
            .device("mandatory")
            .interface_("mandatory")
            .multiple("enable")
            .tags("11")
            .build());

    }
}
Copy
resources:
  labelname:
    type: fortimanager:ObjectSystemObjecttagging
    properties:
      address: mandatory
      category: ss
      color: 0
      device: mandatory
      interface: mandatory
      multiple: enable
      tags:
        - '11'
Copy

Create ObjectSystemObjecttagging Resource

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

Constructor syntax

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

@overload
def ObjectSystemObjecttagging(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              address: Optional[str] = None,
                              adom: Optional[str] = None,
                              category: Optional[str] = None,
                              color: Optional[float] = None,
                              device: Optional[str] = None,
                              interface: Optional[str] = None,
                              multiple: Optional[str] = None,
                              object_system_objecttagging_id: Optional[str] = None,
                              scopetype: Optional[str] = None,
                              tags: Optional[Sequence[str]] = None)
func NewObjectSystemObjecttagging(ctx *Context, name string, args *ObjectSystemObjecttaggingArgs, opts ...ResourceOption) (*ObjectSystemObjecttagging, error)
public ObjectSystemObjecttagging(string name, ObjectSystemObjecttaggingArgs? args = null, CustomResourceOptions? opts = null)
public ObjectSystemObjecttagging(String name, ObjectSystemObjecttaggingArgs args)
public ObjectSystemObjecttagging(String name, ObjectSystemObjecttaggingArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemObjecttagging
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 ObjectSystemObjecttaggingArgs
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 ObjectSystemObjecttaggingArgs
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 ObjectSystemObjecttaggingArgs
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 ObjectSystemObjecttaggingArgs
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. ObjectSystemObjecttaggingArgs
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 objectSystemObjecttaggingResource = new Fortimanager.ObjectSystemObjecttagging("objectSystemObjecttaggingResource", new()
{
    Address = "string",
    Adom = "string",
    Category = "string",
    Color = 0,
    Device = "string",
    Interface = "string",
    Multiple = "string",
    ObjectSystemObjecttaggingId = "string",
    Scopetype = "string",
    Tags = new[]
    {
        "string",
    },
});
Copy
example, err := fortimanager.NewObjectSystemObjecttagging(ctx, "objectSystemObjecttaggingResource", &fortimanager.ObjectSystemObjecttaggingArgs{
Address: pulumi.String("string"),
Adom: pulumi.String("string"),
Category: pulumi.String("string"),
Color: pulumi.Float64(0),
Device: pulumi.String("string"),
Interface: pulumi.String("string"),
Multiple: pulumi.String("string"),
ObjectSystemObjecttaggingId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
Copy
var objectSystemObjecttaggingResource = new ObjectSystemObjecttagging("objectSystemObjecttaggingResource", ObjectSystemObjecttaggingArgs.builder()
    .address("string")
    .adom("string")
    .category("string")
    .color(0)
    .device("string")
    .interface_("string")
    .multiple("string")
    .objectSystemObjecttaggingId("string")
    .scopetype("string")
    .tags("string")
    .build());
Copy
object_system_objecttagging_resource = fortimanager.ObjectSystemObjecttagging("objectSystemObjecttaggingResource",
    address="string",
    adom="string",
    category="string",
    color=0,
    device="string",
    interface="string",
    multiple="string",
    object_system_objecttagging_id="string",
    scopetype="string",
    tags=["string"])
Copy
const objectSystemObjecttaggingResource = new fortimanager.ObjectSystemObjecttagging("objectSystemObjecttaggingResource", {
    address: "string",
    adom: "string",
    category: "string",
    color: 0,
    device: "string",
    "interface": "string",
    multiple: "string",
    objectSystemObjecttaggingId: "string",
    scopetype: "string",
    tags: ["string"],
});
Copy
type: fortimanager:ObjectSystemObjecttagging
properties:
    address: string
    adom: string
    category: string
    color: 0
    device: string
    interface: string
    multiple: string
    objectSystemObjecttaggingId: string
    scopetype: string
    tags:
        - string
Copy

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

Address string
Address. Valid values: optional, mandatory, disable.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Category string
Tag Category.
Color double
Color of icon on the GUI.
Device string
Device. Valid values: optional, mandatory, disable.
Interface string
Interface. Valid values: optional, mandatory, disable.
Multiple string
Allow multiple tag selection. Valid values: disable, enable.
ObjectSystemObjecttaggingId string
an identifier for the resource with format {{category}}.
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.
Tags List<string>
Tags.
Address string
Address. Valid values: optional, mandatory, disable.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Category string
Tag Category.
Color float64
Color of icon on the GUI.
Device string
Device. Valid values: optional, mandatory, disable.
Interface string
Interface. Valid values: optional, mandatory, disable.
Multiple string
Allow multiple tag selection. Valid values: disable, enable.
ObjectSystemObjecttaggingId string
an identifier for the resource with format {{category}}.
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.
Tags []string
Tags.
address String
Address. Valid values: optional, mandatory, disable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
category String
Tag Category.
color Double
Color of icon on the GUI.
device String
Device. Valid values: optional, mandatory, disable.
interface_ String
Interface. Valid values: optional, mandatory, disable.
multiple String
Allow multiple tag selection. Valid values: disable, enable.
objectSystemObjecttaggingId String
an identifier for the resource with format {{category}}.
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.
tags List<String>
Tags.
address string
Address. Valid values: optional, mandatory, disable.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
category string
Tag Category.
color number
Color of icon on the GUI.
device string
Device. Valid values: optional, mandatory, disable.
interface string
Interface. Valid values: optional, mandatory, disable.
multiple string
Allow multiple tag selection. Valid values: disable, enable.
objectSystemObjecttaggingId string
an identifier for the resource with format {{category}}.
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.
tags string[]
Tags.
address str
Address. Valid values: optional, mandatory, disable.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
category str
Tag Category.
color float
Color of icon on the GUI.
device str
Device. Valid values: optional, mandatory, disable.
interface str
Interface. Valid values: optional, mandatory, disable.
multiple str
Allow multiple tag selection. Valid values: disable, enable.
object_system_objecttagging_id str
an identifier for the resource with format {{category}}.
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.
tags Sequence[str]
Tags.
address String
Address. Valid values: optional, mandatory, disable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
category String
Tag Category.
color Number
Color of icon on the GUI.
device String
Device. Valid values: optional, mandatory, disable.
interface String
Interface. Valid values: optional, mandatory, disable.
multiple String
Allow multiple tag selection. Valid values: disable, enable.
objectSystemObjecttaggingId String
an identifier for the resource with format {{category}}.
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.
tags List<String>
Tags.

Outputs

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

Get an existing ObjectSystemObjecttagging 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?: ObjectSystemObjecttaggingState, opts?: CustomResourceOptions): ObjectSystemObjecttagging
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        address: Optional[str] = None,
        adom: Optional[str] = None,
        category: Optional[str] = None,
        color: Optional[float] = None,
        device: Optional[str] = None,
        interface: Optional[str] = None,
        multiple: Optional[str] = None,
        object_system_objecttagging_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        tags: Optional[Sequence[str]] = None) -> ObjectSystemObjecttagging
func GetObjectSystemObjecttagging(ctx *Context, name string, id IDInput, state *ObjectSystemObjecttaggingState, opts ...ResourceOption) (*ObjectSystemObjecttagging, error)
public static ObjectSystemObjecttagging Get(string name, Input<string> id, ObjectSystemObjecttaggingState? state, CustomResourceOptions? opts = null)
public static ObjectSystemObjecttagging get(String name, Output<String> id, ObjectSystemObjecttaggingState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemObjecttagging    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:
Address string
Address. Valid values: optional, mandatory, disable.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Category string
Tag Category.
Color double
Color of icon on the GUI.
Device string
Device. Valid values: optional, mandatory, disable.
Interface string
Interface. Valid values: optional, mandatory, disable.
Multiple string
Allow multiple tag selection. Valid values: disable, enable.
ObjectSystemObjecttaggingId string
an identifier for the resource with format {{category}}.
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.
Tags List<string>
Tags.
Address string
Address. Valid values: optional, mandatory, disable.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Category string
Tag Category.
Color float64
Color of icon on the GUI.
Device string
Device. Valid values: optional, mandatory, disable.
Interface string
Interface. Valid values: optional, mandatory, disable.
Multiple string
Allow multiple tag selection. Valid values: disable, enable.
ObjectSystemObjecttaggingId string
an identifier for the resource with format {{category}}.
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.
Tags []string
Tags.
address String
Address. Valid values: optional, mandatory, disable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
category String
Tag Category.
color Double
Color of icon on the GUI.
device String
Device. Valid values: optional, mandatory, disable.
interface_ String
Interface. Valid values: optional, mandatory, disable.
multiple String
Allow multiple tag selection. Valid values: disable, enable.
objectSystemObjecttaggingId String
an identifier for the resource with format {{category}}.
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.
tags List<String>
Tags.
address string
Address. Valid values: optional, mandatory, disable.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
category string
Tag Category.
color number
Color of icon on the GUI.
device string
Device. Valid values: optional, mandatory, disable.
interface string
Interface. Valid values: optional, mandatory, disable.
multiple string
Allow multiple tag selection. Valid values: disable, enable.
objectSystemObjecttaggingId string
an identifier for the resource with format {{category}}.
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.
tags string[]
Tags.
address str
Address. Valid values: optional, mandatory, disable.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
category str
Tag Category.
color float
Color of icon on the GUI.
device str
Device. Valid values: optional, mandatory, disable.
interface str
Interface. Valid values: optional, mandatory, disable.
multiple str
Allow multiple tag selection. Valid values: disable, enable.
object_system_objecttagging_id str
an identifier for the resource with format {{category}}.
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.
tags Sequence[str]
Tags.
address String
Address. Valid values: optional, mandatory, disable.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
category String
Tag Category.
color Number
Color of icon on the GUI.
device String
Device. Valid values: optional, mandatory, disable.
interface String
Interface. Valid values: optional, mandatory, disable.
multiple String
Allow multiple tag selection. Valid values: disable, enable.
objectSystemObjecttaggingId String
an identifier for the resource with format {{category}}.
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.
tags List<String>
Tags.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSystemObjecttagging:ObjectSystemObjecttagging labelname {{category}}
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.