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.
New Relic. Inputs. Get Entity Tag Args - 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
Get
Entity Tag - 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
Get
Entity Tag - 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[Get
Entity Tag] - type str
The entity’s type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORRKLOAD.
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
- Type string
- 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
- Type string
- 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
- type string
- tag
Get
Entity Tag
- 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[Get
Entity Tag]
Supporting Types
GetEntityTag
Package Details
- Repository
- https://github.com/pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
newrelicTerraform Provider.