newrelic logo
New Relic v5.7.0, Mar 23 23

newrelic.EntityTags

Import

New Relic One entity tags can be imported using a concatenated string of the format

<guid>, e.g. bash

 $ pulumi import newrelic:index/entityTags:EntityTags foo MjUyMDUyOHxBUE18QVBRTElDQVRJT058MjE1MDM3Nzk1

Create EntityTags Resource

new EntityTags(name: string, args: EntityTagsArgs, opts?: CustomResourceOptions);
@overload
def EntityTags(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               guid: Optional[str] = None,
               tags: Optional[Sequence[EntityTagsTagArgs]] = None)
@overload
def EntityTags(resource_name: str,
               args: EntityTagsArgs,
               opts: Optional[ResourceOptions] = None)
func NewEntityTags(ctx *Context, name string, args EntityTagsArgs, opts ...ResourceOption) (*EntityTags, error)
public EntityTags(string name, EntityTagsArgs args, CustomResourceOptions? opts = null)
public EntityTags(String name, EntityTagsArgs args)
public EntityTags(String name, EntityTagsArgs args, CustomResourceOptions options)
type: newrelic:EntityTags
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args EntityTagsArgs
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 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.
name String
The unique name of the resource.
args EntityTagsArgs
The arguments to resource properties.
options 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 Architecture and Concepts docs.

Inputs

The EntityTags resource accepts the following input properties:

Guid string

The guid of the entity to tag.

Tags List<Pulumi.NewRelic.Inputs.EntityTagsTagArgs>

A nested block that describes an entity tag. See Nested tag blocks below for details.

Guid string

The guid of the entity to tag.

Tags []EntityTagsTagArgs

A nested block that describes an entity tag. See Nested tag blocks below for details.

guid String

The guid of the entity to tag.

tags List<EntityTagsTagArgs>

A nested block that describes an entity tag. See Nested tag blocks below for details.

guid string

The guid of the entity to tag.

tags EntityTagsTagArgs[]

A nested block that describes an entity tag. See Nested tag blocks below for details.

guid str

The guid of the entity to tag.

tags Sequence[EntityTagsTagArgs]

A nested block that describes an entity tag. See Nested tag blocks below for details.

guid String

The guid of the entity to tag.

tags List<Property Map>

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:

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 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): EntityTags
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        guid: Optional[str] = None,
        tags: Optional[Sequence[EntityTagsTagArgs]] = None) -> EntityTags
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)
public static EntityTags get(String name, Output<String> id, EntityTagsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
Guid string

The guid of the entity to tag.

Tags List<Pulumi.NewRelic.Inputs.EntityTagsTagArgs>

A nested block that describes an entity tag. See Nested tag blocks below for details.

Guid string

The guid of the entity to tag.

Tags []EntityTagsTagArgs

A nested block that describes an entity tag. See Nested tag blocks below for details.

guid String

The guid of the entity to tag.

tags List<EntityTagsTagArgs>

A nested block that describes an entity tag. See Nested tag blocks below for details.

guid string

The guid of the entity to tag.

tags EntityTagsTagArgs[]

A nested block that describes an entity tag. See Nested tag blocks below for details.

guid str

The guid of the entity to tag.

tags Sequence[EntityTagsTagArgs]

A nested block that describes an entity tag. See Nested tag blocks below for details.

guid String

The guid of the entity to tag.

tags List<Property Map>

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.

Key string

The tag key.

Values []string

The tag values.

key String

The tag key.

values List<String>

The tag values.

key string

The tag key.

values string[]

The tag values.

key str

The tag key.

values Sequence[str]

The tag values.

key String

The tag key.

values List<String>

The tag values.

Package Details

Repository
New Relic pulumi/pulumi-newrelic
License
Apache-2.0
Notes

This Pulumi package is based on the newrelic Terraform Provider.