fortimanager.ObjectFirewallAddrgrpTagging
Explore with Pulumi AI
Config object tagging.
This resource is a sub resource for variable
tagging
of resourcefortimanager.ObjectFirewallAddrgrp
. Conflict and overwrite may occur if use both of them.
Create ObjectFirewallAddrgrpTagging Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectFirewallAddrgrpTagging(name: string, args: ObjectFirewallAddrgrpTaggingArgs, opts?: CustomResourceOptions);
@overload
def ObjectFirewallAddrgrpTagging(resource_name: str,
args: ObjectFirewallAddrgrpTaggingInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectFirewallAddrgrpTagging(resource_name: str,
opts: Optional[ResourceOptions] = None,
addrgrp: Optional[str] = None,
adom: Optional[str] = None,
category: Optional[str] = None,
name: Optional[str] = None,
object_firewall_addrgrp_tagging_id: Optional[str] = None,
scopetype: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewObjectFirewallAddrgrpTagging(ctx *Context, name string, args ObjectFirewallAddrgrpTaggingArgs, opts ...ResourceOption) (*ObjectFirewallAddrgrpTagging, error)
public ObjectFirewallAddrgrpTagging(string name, ObjectFirewallAddrgrpTaggingArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallAddrgrpTagging(String name, ObjectFirewallAddrgrpTaggingArgs args)
public ObjectFirewallAddrgrpTagging(String name, ObjectFirewallAddrgrpTaggingArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallAddrgrpTagging
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ObjectFirewallAddrgrpTaggingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ObjectFirewallAddrgrpTaggingInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ObjectFirewallAddrgrpTaggingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectFirewallAddrgrpTaggingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectFirewallAddrgrpTaggingArgs
- 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 objectFirewallAddrgrpTaggingResource = new Fortimanager.ObjectFirewallAddrgrpTagging("objectFirewallAddrgrpTaggingResource", new()
{
Addrgrp = "string",
Adom = "string",
Category = "string",
Name = "string",
ObjectFirewallAddrgrpTaggingId = "string",
Scopetype = "string",
Tags = new[]
{
"string",
},
});
example, err := fortimanager.NewObjectFirewallAddrgrpTagging(ctx, "objectFirewallAddrgrpTaggingResource", &fortimanager.ObjectFirewallAddrgrpTaggingArgs{
Addrgrp: pulumi.String("string"),
Adom: pulumi.String("string"),
Category: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectFirewallAddrgrpTaggingId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var objectFirewallAddrgrpTaggingResource = new ObjectFirewallAddrgrpTagging("objectFirewallAddrgrpTaggingResource", ObjectFirewallAddrgrpTaggingArgs.builder()
.addrgrp("string")
.adom("string")
.category("string")
.name("string")
.objectFirewallAddrgrpTaggingId("string")
.scopetype("string")
.tags("string")
.build());
object_firewall_addrgrp_tagging_resource = fortimanager.ObjectFirewallAddrgrpTagging("objectFirewallAddrgrpTaggingResource",
addrgrp="string",
adom="string",
category="string",
name="string",
object_firewall_addrgrp_tagging_id="string",
scopetype="string",
tags=["string"])
const objectFirewallAddrgrpTaggingResource = new fortimanager.ObjectFirewallAddrgrpTagging("objectFirewallAddrgrpTaggingResource", {
addrgrp: "string",
adom: "string",
category: "string",
name: "string",
objectFirewallAddrgrpTaggingId: "string",
scopetype: "string",
tags: ["string"],
});
type: fortimanager:ObjectFirewallAddrgrpTagging
properties:
addrgrp: string
adom: string
category: string
name: string
objectFirewallAddrgrpTaggingId: string
scopetype: string
tags:
- string
ObjectFirewallAddrgrpTagging 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 ObjectFirewallAddrgrpTagging resource accepts the following input properties:
- Addrgrp string
- Addrgrp.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Category string
- Tag category.
- Name string
- Tagging entry name.
- Object
Firewall stringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - List<string>
- Tags.
- Addrgrp string
- Addrgrp.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Category string
- Tag category.
- Name string
- Tagging entry name.
- Object
Firewall stringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - []string
- Tags.
- addrgrp String
- Addrgrp.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - category String
- Tag category.
- name String
- Tagging entry name.
- object
Firewall StringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - List<String>
- Tags.
- addrgrp string
- Addrgrp.
- adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - category string
- Tag category.
- name string
- Tagging entry name.
- object
Firewall stringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - string[]
- Tags.
- addrgrp str
- Addrgrp.
- adom str
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - category str
- Tag category.
- name str
- Tagging entry name.
- object_
firewall_ straddrgrp_ tagging_ id - an identifier for the resource with format {{name}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Sequence[str]
- Tags.
- addrgrp String
- Addrgrp.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - category String
- Tag category.
- name String
- Tagging entry name.
- object
Firewall StringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - List<String>
- Tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectFirewallAddrgrpTagging 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 ObjectFirewallAddrgrpTagging Resource
Get an existing ObjectFirewallAddrgrpTagging 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?: ObjectFirewallAddrgrpTaggingState, opts?: CustomResourceOptions): ObjectFirewallAddrgrpTagging
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addrgrp: Optional[str] = None,
adom: Optional[str] = None,
category: Optional[str] = None,
name: Optional[str] = None,
object_firewall_addrgrp_tagging_id: Optional[str] = None,
scopetype: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> ObjectFirewallAddrgrpTagging
func GetObjectFirewallAddrgrpTagging(ctx *Context, name string, id IDInput, state *ObjectFirewallAddrgrpTaggingState, opts ...ResourceOption) (*ObjectFirewallAddrgrpTagging, error)
public static ObjectFirewallAddrgrpTagging Get(string name, Input<string> id, ObjectFirewallAddrgrpTaggingState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallAddrgrpTagging get(String name, Output<String> id, ObjectFirewallAddrgrpTaggingState state, CustomResourceOptions options)
resources: _: type: fortimanager:ObjectFirewallAddrgrpTagging get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Addrgrp string
- Addrgrp.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Category string
- Tag category.
- Name string
- Tagging entry name.
- Object
Firewall stringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - List<string>
- Tags.
- Addrgrp string
- Addrgrp.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Category string
- Tag category.
- Name string
- Tagging entry name.
- Object
Firewall stringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - []string
- Tags.
- addrgrp String
- Addrgrp.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - category String
- Tag category.
- name String
- Tagging entry name.
- object
Firewall StringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - List<String>
- Tags.
- addrgrp string
- Addrgrp.
- adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - category string
- Tag category.
- name string
- Tagging entry name.
- object
Firewall stringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - string[]
- Tags.
- addrgrp str
- Addrgrp.
- adom str
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - category str
- Tag category.
- name str
- Tagging entry name.
- object_
firewall_ straddrgrp_ tagging_ id - an identifier for the resource with format {{name}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Sequence[str]
- Tags.
- addrgrp String
- Addrgrp.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - category String
- Tag category.
- name String
- Tagging entry name.
- object
Firewall StringAddrgrp Tagging Id - an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - List<String>
- Tags.
Import
ObjectFirewall AddrgrpTagging can be imported using any of these accepted formats:
Set import_options = [“addrgrp=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectFirewallAddrgrpTagging:ObjectFirewallAddrgrpTagging labelname {{name}}
$ 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.