1. Packages
  2. Packages
  3. Newrelic Provider
  4. API Docs
  5. plugins
  6. getPluginComponent
Viewing docs for New Relic v4.20.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
newrelic logo
Viewing docs for New Relic v4.20.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    New Relic Plugins reached end of life Wednesday June 16, 2021.

    This data source has been removed.

    For more information, click here

    Using getPluginComponent

    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 getPluginComponent(args: GetPluginComponentArgs, opts?: InvokeOptions): Promise<GetPluginComponentResult>
    function getPluginComponentOutput(args: GetPluginComponentOutputArgs, opts?: InvokeOptions): Output<GetPluginComponentResult>
    def get_plugin_component(name: Optional[str] = None,
                             plugin_id: Optional[int] = None,
                             opts: Optional[InvokeOptions] = None) -> GetPluginComponentResult
    def get_plugin_component_output(name: Optional[pulumi.Input[str]] = None,
                             plugin_id: Optional[pulumi.Input[int]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetPluginComponentResult]
    func GetPluginComponent(ctx *Context, args *GetPluginComponentArgs, opts ...InvokeOption) (*GetPluginComponentResult, error)
    func GetPluginComponentOutput(ctx *Context, args *GetPluginComponentOutputArgs, opts ...InvokeOption) GetPluginComponentResultOutput

    > Note: This function is named GetPluginComponent in the Go SDK.

    public static class GetPluginComponent 
    {
        public static Task<GetPluginComponentResult> InvokeAsync(GetPluginComponentArgs args, InvokeOptions? opts = null)
        public static Output<GetPluginComponentResult> Invoke(GetPluginComponentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPluginComponentResult> getPluginComponent(GetPluginComponentArgs args, InvokeOptions options)
    public static Output<GetPluginComponentResult> getPluginComponent(GetPluginComponentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: newrelic:plugins/getPluginComponent:getPluginComponent
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    PluginId int
    Name string
    PluginId int
    name String
    pluginId Integer
    name string
    pluginId number
    name String
    pluginId Number

    getPluginComponent Result

    The following output properties are available:

    HealthStatus string
    Id string
    Name string
    PluginId int
    HealthStatus string
    Id string
    Name string
    PluginId int
    healthStatus String
    id String
    name String
    pluginId Integer
    healthStatus string
    id string
    name string
    pluginId number
    healthStatus String
    id String
    name String
    pluginId Number

    Package Details

    Repository
    New Relic pulumi/pulumi-newrelic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the newrelic Terraform Provider.
    newrelic logo
    Viewing docs for New Relic v4.20.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.