New Relic
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.
New Relic. Inputs. Dashboard Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- Grid
Column intCount 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.
New Relic. Inputs. Dashboard Widget Args> 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
Dashboard
Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- Grid
Column intCount 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
[]Dashboard
Widget Args 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
Dashboard
Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- grid
Column IntegerCount 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
Widget Args> 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
Dashboard
Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- grid
Column numberCount 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
Dashboard
Widget Args[] 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
Dashboard
Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- grid_
column_ intcount 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[Dashboard
Widget Args] 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.
- grid
Column NumberCount 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:
- Dashboard
Url string The URL for viewing the dashboard.
- Id string
The provider-assigned unique ID for this managed resource.
- Dashboard
Url string The URL for viewing the dashboard.
- Id string
The provider-assigned unique ID for this managed resource.
- dashboard
Url String The URL for viewing the dashboard.
- id String
The provider-assigned unique ID for this managed resource.
- dashboard
Url 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.
- dashboard
Url 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.
- Dashboard
Url 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.
New Relic. Inputs. Dashboard Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- Grid
Column intCount 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.
New Relic. Inputs. Dashboard Widget Args> A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.
- Dashboard
Url 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
Dashboard
Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- Grid
Column intCount 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
[]Dashboard
Widget Args A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.
- dashboard
Url 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
Dashboard
Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- grid
Column IntegerCount 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
Widget Args> A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.
- dashboard
Url 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
Dashboard
Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- grid
Column numberCount 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
Dashboard
Widget Args[] 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
Dashboard
Filter Args A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
- grid_
column_ intcount 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[Dashboard
Widget Args] A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.
- dashboard
Url 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.
- grid
Column NumberCount 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
- Event
Types List<string> - Attributes List<string>
- Event
Types []string - Attributes []string
- event
Types List - attributes
List
- event
Types string[] - attributes string[]
- event_
types Sequence[str] - attributes Sequence[str]
- event
Types List - attributes
List
DashboardWidget
- Column int
- Row int
- Title string
- Visualization string
- Account
Id int - Compare
Withs List<Pulumi.New Relic. Inputs. Dashboard Widget Compare With> - Drilldown
Dashboard intId - Duration int
- End
Time int - Entity
Ids List<int> - Facet string
- Height int
- Limit int
- Metrics
List<Pulumi.
New Relic. Inputs. Dashboard Widget Metric> - Notes string
- Nrql string
- Order
By string - Raw
Metric stringName - Source string
- Threshold
Red double - Threshold
Yellow double - Widget
Id int - Width int
- Column int
- Row int
- Title string
- Visualization string
- Account
Id int - Compare
Withs []DashboardWidget Compare With - Drilldown
Dashboard intId - Duration int
- End
Time int - Entity
Ids []int - Facet string
- Height int
- Limit int
- Metrics
[]Dashboard
Widget Metric - Notes string
- Nrql string
- Order
By string - Raw
Metric stringName - Source string
- Threshold
Red float64 - Threshold
Yellow float64 - Widget
Id int - Width int
- column Integer
- row Integer
- title String
- visualization String
- account
Id Integer - compare
Withs ListWidget Compare With> - drilldown
Dashboard IntegerId - duration Integer
- end
Time Integer - entity
Ids List - facet String
- height Integer
- limit Integer
- metrics
List
Widget Metric> - notes String
- nrql String
- order
By String - raw
Metric StringName - source String
- threshold
Red Double - threshold
Yellow Double - widget
Id Integer - width Integer
- column number
- row number
- title string
- visualization string
- account
Id number - compare
Withs DashboardWidget Compare With[] - drilldown
Dashboard numberId - duration number
- end
Time number - entity
Ids number[] - facet string
- height number
- limit number
- metrics
Dashboard
Widget Metric[] - notes string
- nrql string
- order
By string - raw
Metric stringName - source string
- threshold
Red number - threshold
Yellow number - widget
Id number - width number
- column int
- row int
- title str
- visualization str
- account_
id int - compare_
withs Sequence[DashboardWidget Compare With] - drilldown_
dashboard_ intid - duration int
- end_
time int - entity_
ids Sequence[int] - facet str
- height int
- limit int
- metrics
Sequence[Dashboard
Widget Metric] - notes str
- nrql str
- order_
by str - raw_
metric_ strname - source str
- threshold_
red float - threshold_
yellow float - widget_
id int - width int
- column Number
- row Number
- title String
- visualization String
- account
Id Number - compare
Withs List - drilldown
Dashboard NumberId - duration Number
- end
Time Number - entity
Ids List - facet String
- height Number
- limit Number
- metrics
List
- notes String
- nrql String
- order
By String - raw
Metric StringName - source String
- threshold
Red Number - threshold
Yellow Number - widget
Id Number - width Number
DashboardWidgetCompareWith
DashboardWidgetCompareWithPresentation
DashboardWidgetMetric
Package Details
- Repository
- https://github.com/pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
newrelic
Terraform Provider.