GetPluginComponent

Use this data source to get information about a single plugin component in New Relic that already exists.

Each plugin component reporting into to New Relic is assigned a unique ID. Once you have a plugin component reporting data into your account, its component ID can be used to create Plugins alert conditions.

Using GetPluginComponent

function getPluginComponent(args: GetPluginComponentArgs, opts?: InvokeOptions): Promise<GetPluginComponentResult>
function  get_plugin_component(name=None, plugin_id=None, opts=None)
func GetPluginComponent(ctx *Context, args *GetPluginComponentArgs, opts ...InvokeOption) (*GetPluginComponentResult, error)
public static class GetPluginComponent {
    public static Task<GetPluginComponentResult> InvokeAsync(GetPluginComponentArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The name of the plugin component.

PluginId int

The ID of the plugin instance this component belongs to.

Name string

The name of the plugin component.

PluginId int

The ID of the plugin instance this component belongs to.

name string

The name of the plugin component.

pluginId number

The ID of the plugin instance this component belongs to.

name str

The name of the plugin component.

plugin_id float

The ID of the plugin instance this component belongs to.

GetPluginComponent Result

The following output properties are available:

HealthStatus string

The health status of the plugin component.

Id string

The ID of the plugin component.

Name string
PluginId int
HealthStatus string

The health status of the plugin component.

Id string

The ID of the plugin component.

Name string
PluginId int
healthStatus string

The health status of the plugin component.

id string

The ID of the plugin component.

name string
pluginId number
health_status str

The health status of the plugin component.

id str

The ID of the plugin component.

name str
plugin_id float

Package Details

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