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>
def get_entity(domain: Optional[str] = None,
               ignore_case: Optional[bool] = None,
               name: Optional[str] = None,
               tag: Optional[GetEntityTag] = None,
               type: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetEntityResult
func GetEntity(ctx *Context, args *GetEntityArgs, opts ...InvokeOption) (*GetEntityResult, error)

Note: This function is named GetEntity in the Go SDK.

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, SYNTH, and VIZ. If not specified, all domains are searched.
IgnoreCase bool
Ignore case of the name when searching for the entity. Defaults to false.
Tag Pulumi.NewRelic.Inputs.GetEntityTag
Type string
The entity’s type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORKLOAD.
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, SYNTH, and VIZ. If not specified, all domains are searched.
IgnoreCase bool
Ignore case of the name when searching for the entity. Defaults to false.
Tag GetEntityTag
Type string
The entity’s type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORKLOAD.
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, SYNTH, and VIZ. If not specified, all domains are searched.
ignoreCase boolean
Ignore case of the name when searching for the entity. Defaults to false.
tag GetEntityTag
type string
The entity’s type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORKLOAD.
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, SYNTH, and VIZ. If not specified, all domains are searched.
ignore_case bool
Ignore case of the name when searching for the entity. Defaults to false.
tag GetEntityTag
type str
The entity’s type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORKLOAD.

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
ServingApmApplicationId int
Type string
IgnoreCase bool
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
ServingApmApplicationId int
Type string
IgnoreCase bool
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
servingApmApplicationId number
type string
ignoreCase boolean
tag GetEntityTag
account_id int
The New Relic account ID associated with this entity.
application_id int
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
serving_apm_application_id int
type str
ignore_case bool
tag GetEntityTag

Supporting Types

GetEntityTag

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.