EntityTags
Use this resource to create, update, and delete tags for a New Relic One entity.
Create a EntityTags Resource
new EntityTags(name: string, args: EntityTagsArgs, opts?: CustomResourceOptions);def EntityTags(resource_name, opts=None, guid=None, tags=None, __props__=None);func NewEntityTags(ctx *Context, name string, args EntityTagsArgs, opts ...ResourceOption) (*EntityTags, error)public EntityTags(string name, EntityTagsArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args EntityTagsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EntityTagsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EntityTagsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
EntityTags Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The EntityTags resource accepts the following input properties:
- Guid string
The guid of the entity to tag.
-
List<Pulumi.
New Relic. Inputs. Entity Tags Tag Args> A nested block that describes an entity tag. See Nested tag blocks below for details.
- Guid string
The guid of the entity to tag.
-
[]Entity
Tags Tag A nested block that describes an entity tag. See Nested tag blocks below for details.
- guid string
The guid of the entity to tag.
-
Entity
Tags Tag[] A nested block that describes an entity tag. See Nested tag blocks below for details.
- guid str
The guid of the entity to tag.
-
List[Entity
Tags Tag] A nested block that describes an entity tag. See Nested tag blocks below for details.
Outputs
All input properties are implicitly available as output properties. Additionally, the EntityTags resource produces the following output properties:
Look up an Existing EntityTags Resource
Get an existing EntityTags 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?: EntityTagsState, opts?: CustomResourceOptions): EntityTagsstatic get(resource_name, id, opts=None, guid=None, tags=None, __props__=None);func GetEntityTags(ctx *Context, name string, id IDInput, state *EntityTagsState, opts ...ResourceOption) (*EntityTags, error)public static EntityTags Get(string name, Input<string> id, EntityTagsState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Guid string
The guid of the entity to tag.
-
List<Pulumi.
New Relic. Inputs. Entity Tags Tag Args> A nested block that describes an entity tag. See Nested tag blocks below for details.
- Guid string
The guid of the entity to tag.
-
[]Entity
Tags Tag A nested block that describes an entity tag. See Nested tag blocks below for details.
- guid string
The guid of the entity to tag.
-
Entity
Tags Tag[] A nested block that describes an entity tag. See Nested tag blocks below for details.
- guid str
The guid of the entity to tag.
-
List[Entity
Tags Tag] A nested block that describes an entity tag. See Nested tag blocks below for details.
Supporting Types
EntityTagsTag
- Key string
The tag key.
- Values List<string>
The tag values.
Package Details
- Repository
- https://github.com/pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
newrelicTerraform Provider.