GetEntity

Use this data source to get information about a specific entity in New Relic One that already exists.

Using GetEntity

function getEntity(args: GetEntityArgs, opts?: InvokeOptions): Promise<GetEntityResult>
function  get_entity(domain=None, name=None, tag=None, type=None, opts=None)
func GetEntity(ctx *Context, args *GetEntityArgs, opts ...InvokeOption) (*GetEntityResult, error)
public static class GetEntity {
    public static Task<GetEntityResult> InvokeAsync(GetEntityArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.

Domain string

The entity’s domain. Valid values are APM, BROWSER, INFRA, MOBILE, and SYNTH.

Tag Pulumi.NewRelic.Inputs.GetEntityTagArgs
Type string

The entity’s type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORRKLOAD.

Name string

The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.

Domain string

The entity’s domain. Valid values are APM, BROWSER, INFRA, MOBILE, and SYNTH.

Tag GetEntityTag
Type string

The entity’s type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORRKLOAD.

name string

The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.

domain string

The entity’s domain. Valid values are APM, BROWSER, INFRA, MOBILE, and SYNTH.

tag GetEntityTag
type string

The entity’s type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORRKLOAD.

name str

The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.

domain str

The entity’s domain. Valid values are APM, BROWSER, INFRA, MOBILE, and SYNTH.

tag Dict[GetEntityTag]
type str

The entity’s type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORRKLOAD.

GetEntity Result

The following output properties are available:

AccountId int

The New Relic account ID associated with this entity.

ApplicationId int

The domain-specific application ID of the entity. Only returned for APM and Browser applications.

Domain string
Guid string

The unique GUID of the entity.

Id string

The provider-assigned unique ID for this managed resource.

Name string
Type string
Tag Pulumi.NewRelic.Outputs.GetEntityTag
AccountId int

The New Relic account ID associated with this entity.

ApplicationId int

The domain-specific application ID of the entity. Only returned for APM and Browser applications.

Domain string
Guid string

The unique GUID of the entity.

Id string

The provider-assigned unique ID for this managed resource.

Name string
Type string
Tag GetEntityTag
accountId number

The New Relic account ID associated with this entity.

applicationId number

The domain-specific application ID of the entity. Only returned for APM and Browser applications.

domain string
guid string

The unique GUID of the entity.

id string

The provider-assigned unique ID for this managed resource.

name string
type string
tag GetEntityTag
account_id float

The New Relic account ID associated with this entity.

application_id float

The domain-specific application ID of the entity. Only returned for APM and Browser applications.

domain str
guid str

The unique GUID of the entity.

id str

The provider-assigned unique ID for this managed resource.

name str
type str
tag Dict[GetEntityTag]

Supporting Types

GetEntityTag

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Key string
Value string
Key string
Value string
key string
value string
key str
value str

Package Details

Repository
https://github.com/pulumi/pulumi-newrelic
License
Apache-2.0
Notes
This Pulumi package is based on the newrelic Terraform Provider.