Viewing docs for New Relic v4.20.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for New Relic v4.20.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Use this data source to get information about a specific entity in New Relic One that already exists.
Using getEntity
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEntity(args: GetEntityArgs, opts?: InvokeOptions): Promise<GetEntityResult>
function getEntityOutput(args: GetEntityOutputArgs, opts?: InvokeOptions): Output<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
def get_entity_output(domain: Optional[pulumi.Input[str]] = None,
ignore_case: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
tag: Optional[pulumi.Input[GetEntityTagArgs]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEntityResult]func GetEntity(ctx *Context, args *GetEntityArgs, opts ...InvokeOption) (*GetEntityResult, error)
func GetEntityOutput(ctx *Context, args *GetEntityOutputArgs, opts ...InvokeOption) GetEntityResultOutput> Note: This function is named GetEntity in the Go SDK.
public static class GetEntity
{
public static Task<GetEntityResult> InvokeAsync(GetEntityArgs args, InvokeOptions? opts = null)
public static Output<GetEntityResult> Invoke(GetEntityInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEntityResult> getEntity(GetEntityArgs args, InvokeOptions options)
public static Output<GetEntityResult> getEntity(GetEntityArgs args, InvokeOptions options)
fn::invoke:
function: newrelic:index/getEntity:getEntity
arguments:
# arguments dictionaryThe 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.
- Ignore
Case bool - Ignore case of the
namewhen searching for the entity. Defaults to false. - Tag
Pulumi.
New Relic. Inputs. Get Entity Tag - 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.
- Ignore
Case bool - Ignore case of the
namewhen searching for the entity. Defaults to false. - Tag
Get
Entity Tag - 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.
- ignore
Case Boolean - Ignore case of the
namewhen searching for the entity. Defaults to false. - tag
Get
Entity Tag - 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.
- ignore
Case boolean - Ignore case of the
namewhen searching for the entity. Defaults to false. - tag
Get
Entity Tag - 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
namewhen searching for the entity. Defaults to false. - tag
Get
Entity Tag - type str
- 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.
- ignore
Case Boolean - Ignore case of the
namewhen searching for the entity. Defaults to false. - tag Property Map
- type String
- The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORKLOAD.
getEntity Result
The following output properties are available:
- 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 string
- Guid string
- The unique GUID of the entity.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Serving
Apm intApplication Id - Type string
- Ignore
Case bool - Tag
Pulumi.
New Relic. Outputs. Get Entity Tag
- 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 string
- Guid string
- The unique GUID of the entity.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Serving
Apm intApplication Id - Type string
- Ignore
Case bool - Tag
Get
Entity Tag
- account
Id Integer - The New Relic account ID associated with this entity.
- application
Id Integer - 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
- serving
Apm IntegerApplication Id - type String
- ignore
Case Boolean - tag
Get
Entity Tag
- account
Id number - The New Relic account ID associated with this entity.
- application
Id 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
- serving
Apm numberApplication Id - type string
- ignore
Case boolean - tag
Get
Entity Tag
- 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_ intapplication_ id - type str
- ignore_
case bool - tag
Get
Entity Tag
- account
Id Number - The New Relic account ID associated with this entity.
- application
Id 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
- serving
Apm NumberApplication Id - type String
- ignore
Case Boolean - tag Property Map
Supporting Types
GetEntityTag
Package Details
- Repository
- New Relic pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
newrelicTerraform Provider.
Viewing docs for New Relic v4.20.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
