New Relic

Pulumi Official
Package maintained by Pulumi
v4.15.0 published on Monday, May 16, 2022 by Pulumi

Dashboard

New Relic legacy Dashboards reached end of life Wednesday July 28, 2021.

This resource has been removed.

For more information, click here

Create a Dashboard Resource

new Dashboard(name: string, args: DashboardArgs, opts?: CustomResourceOptions);
@overload
def Dashboard(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              editable: Optional[str] = None,
              filter: Optional[DashboardFilterArgs] = None,
              grid_column_count: Optional[int] = None,
              icon: Optional[str] = None,
              title: Optional[str] = None,
              visibility: Optional[str] = None,
              widgets: Optional[Sequence[DashboardWidgetArgs]] = None)
@overload
def Dashboard(resource_name: str,
              args: DashboardArgs,
              opts: Optional[ResourceOptions] = None)
func NewDashboard(ctx *Context, name string, args DashboardArgs, opts ...ResourceOption) (*Dashboard, error)
public Dashboard(string name, DashboardArgs args, CustomResourceOptions? opts = null)
public Dashboard(String name, DashboardArgs args)
public Dashboard(String name, DashboardArgs args, CustomResourceOptions options)
type: newrelic:Dashboard
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DashboardArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DashboardArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DashboardArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DashboardArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DashboardArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Dashboard Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Dashboard resource accepts the following input properties:

Title string

The title of the dashboard.

Editable string

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

Filter Pulumi.NewRelic.Inputs.DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

GridColumnCount int

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

Icon string

The icon for the dashboard.

Visibility string

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

Widgets List<Pulumi.NewRelic.Inputs.DashboardWidgetArgs>

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

Title string

The title of the dashboard.

Editable string

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

Filter DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

GridColumnCount int

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

Icon string

The icon for the dashboard.

Visibility string

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

Widgets []DashboardWidgetArgs

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

title String

The title of the dashboard.

editable String

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

filter DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

gridColumnCount Integer

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

icon String

The icon for the dashboard.

visibility String

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

widgets ListWidgetArgs>

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

title string

The title of the dashboard.

editable string

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

filter DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

gridColumnCount number

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

icon string

The icon for the dashboard.

visibility string

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

widgets DashboardWidgetArgs[]

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

title str

The title of the dashboard.

editable str

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

filter DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

grid_column_count int

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

icon str

The icon for the dashboard.

visibility str

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

widgets Sequence[DashboardWidgetArgs]

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

title String

The title of the dashboard.

editable String

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

filter Property Map

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

gridColumnCount Number

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

icon String

The icon for the dashboard.

visibility String

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

widgets List

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

Outputs

All input properties are implicitly available as output properties. Additionally, the Dashboard resource produces the following output properties:

DashboardUrl string

The URL for viewing the dashboard.

Id string

The provider-assigned unique ID for this managed resource.

DashboardUrl string

The URL for viewing the dashboard.

Id string

The provider-assigned unique ID for this managed resource.

dashboardUrl String

The URL for viewing the dashboard.

id String

The provider-assigned unique ID for this managed resource.

dashboardUrl string

The URL for viewing the dashboard.

id string

The provider-assigned unique ID for this managed resource.

dashboard_url str

The URL for viewing the dashboard.

id str

The provider-assigned unique ID for this managed resource.

dashboardUrl String

The URL for viewing the dashboard.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing Dashboard Resource

Get an existing Dashboard resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DashboardState, opts?: CustomResourceOptions): Dashboard
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dashboard_url: Optional[str] = None,
        editable: Optional[str] = None,
        filter: Optional[DashboardFilterArgs] = None,
        grid_column_count: Optional[int] = None,
        icon: Optional[str] = None,
        title: Optional[str] = None,
        visibility: Optional[str] = None,
        widgets: Optional[Sequence[DashboardWidgetArgs]] = None) -> Dashboard
func GetDashboard(ctx *Context, name string, id IDInput, state *DashboardState, opts ...ResourceOption) (*Dashboard, error)
public static Dashboard Get(string name, Input<string> id, DashboardState? state, CustomResourceOptions? opts = null)
public static Dashboard get(String name, Output<String> id, DashboardState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
DashboardUrl string

The URL for viewing the dashboard.

Editable string

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

Filter Pulumi.NewRelic.Inputs.DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

GridColumnCount int

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

Icon string

The icon for the dashboard.

Title string

The title of the dashboard.

Visibility string

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

Widgets List<Pulumi.NewRelic.Inputs.DashboardWidgetArgs>

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

DashboardUrl string

The URL for viewing the dashboard.

Editable string

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

Filter DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

GridColumnCount int

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

Icon string

The icon for the dashboard.

Title string

The title of the dashboard.

Visibility string

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

Widgets []DashboardWidgetArgs

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

dashboardUrl String

The URL for viewing the dashboard.

editable String

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

filter DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

gridColumnCount Integer

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

icon String

The icon for the dashboard.

title String

The title of the dashboard.

visibility String

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

widgets ListWidgetArgs>

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

dashboardUrl string

The URL for viewing the dashboard.

editable string

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

filter DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

gridColumnCount number

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

icon string

The icon for the dashboard.

title string

The title of the dashboard.

visibility string

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

widgets DashboardWidgetArgs[]

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

dashboard_url str

The URL for viewing the dashboard.

editable str

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

filter DashboardFilterArgs

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

grid_column_count int

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

icon str

The icon for the dashboard.

title str

The title of the dashboard.

visibility str

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

widgets Sequence[DashboardWidgetArgs]

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

dashboardUrl String

The URL for viewing the dashboard.

editable String

Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.

filter Property Map

A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.

gridColumnCount Number

New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.

icon String

The icon for the dashboard.

title String

The title of the dashboard.

visibility String

Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.

widgets List

A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.

Supporting Types

DashboardFilter

EventTypes List<string>
Attributes List<string>
EventTypes []string
Attributes []string
eventTypes string[]
attributes string[]
event_types Sequence[str]
attributes Sequence[str]

DashboardWidget

column Integer
row Integer
title String
visualization String
accountId Integer
compareWiths ListWidgetCompareWith>
drilldownDashboardId Integer
duration Integer
endTime Integer
entityIds List
facet String
height Integer
limit Integer
metrics ListWidgetMetric>
notes String
nrql String
orderBy String
rawMetricName String
source String
thresholdRed Double
thresholdYellow Double
widgetId Integer
width Integer
column Number
row Number
title String
visualization String
accountId Number
compareWiths List
drilldownDashboardId Number
duration Number
endTime Number
entityIds List
facet String
height Number
limit Number
metrics List
notes String
nrql String
orderBy String
rawMetricName String
source String
thresholdRed Number
thresholdYellow Number
widgetId Number
width Number

DashboardWidgetCompareWith

DashboardWidgetCompareWithPresentation

Color string
Name string
Color string
Name string
color String
name String
color string
name string
color str
name str
color String
name String

DashboardWidgetMetric

Name string
Scope string
Units string
Values List<string>
Name string
Scope string
Units string
Values []string
name String
scope String
units String
values List
name string
scope string
units string
values string[]
name str
scope str
units str
values Sequence[str]
name String
scope String
units String
values List

Package Details

Repository
https://github.com/pulumi/pulumi-newrelic
License
Apache-2.0
Notes

This Pulumi package is based on the newrelic Terraform Provider.