New Relic v5.12.0, May 30 23
New Relic v5.12.0, May 30 23
newrelic.OneDashboardRaw
Explore with Pulumi AI
NOTE: The newrelic.OneDashboardJson resource is preferred for configuring dashboards in New Relic. This resource does not support the latest dashboard features and will receive less investment compared to newrelic_one_dashboard_json.
Example Usage
Create A New Relic One Dashboard With RawConfiguration
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using NewRelic = Pulumi.NewRelic;
return await Deployment.RunAsync(() =>
{
var exampledash = new NewRelic.OneDashboardRaw("exampledash", new()
{
Pages = new[]
{
new NewRelic.Inputs.OneDashboardRawPageArgs
{
Name = "Page Name",
Widgets = new[]
{
new NewRelic.Inputs.OneDashboardRawPageWidgetArgs
{
Title = "Custom widget",
Row = 1,
Column = 1,
Width = 1,
Height = 1,
VisualizationId = "viz.custom",
Configuration = @" {
""legend"": {
""enabled"": false
},
""nrqlQueries"": [
{
""accountId"": ` + accountID + `,
""query"": ""SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES""
}
],
""yAxisLeft"": {
""max"": 100,
""min"": 50,
""zero"": false
}
}
",
},
new NewRelic.Inputs.OneDashboardRawPageWidgetArgs
{
Title = "Server CPU",
Row = 1,
Column = 2,
Width = 1,
Height = 1,
VisualizationId = "viz.testing",
Configuration = @" {
""nrqlQueries"": [
{
""accountId"": ` + accountID + `,
""query"": ""SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400""
}
]
}
",
},
new NewRelic.Inputs.OneDashboardRawPageWidgetArgs
{
Title = "Docker Server CPU",
Row = 1,
Column = 3,
Height = 1,
Width = 1,
VisualizationId = "viz.bar",
Configuration = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["facet"] = new Dictionary<string, object?>
{
["showOtherSeries"] = false,
},
["nrqlQueries"] = new[]
{
new Dictionary<string, object?>
{
["accountId"] = local.AccountID,
["query"] = "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
},
},
}),
LinkedEntityGuids = new[]
{
"MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc",
},
},
},
},
},
});
});
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"facet": map[string]interface{}{
"showOtherSeries": false,
},
"nrqlQueries": []map[string]interface{}{
map[string]interface{}{
"accountId": local.AccountID,
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
_, err = newrelic.NewOneDashboardRaw(ctx, "exampledash", &newrelic.OneDashboardRawArgs{
Pages: newrelic.OneDashboardRawPageArray{
&newrelic.OneDashboardRawPageArgs{
Name: pulumi.String("Page Name"),
Widgets: newrelic.OneDashboardRawPageWidgetArray{
&newrelic.OneDashboardRawPageWidgetArgs{
Title: pulumi.String("Custom widget"),
Row: pulumi.Int(1),
Column: pulumi.Int(1),
Width: pulumi.Int(1),
Height: pulumi.Int(1),
VisualizationId: pulumi.String("viz.custom"),
Configuration: pulumi.String(" {\n \"legend\": {\n \"enabled\": false\n },\n \"nrqlQueries\": [\n {\n \"accountId\": ` + accountID + `,\n \"query\": \"SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES\"\n }\n ],\n \"yAxisLeft\": {\n \"max\": 100,\n \"min\": 50,\n \"zero\": false\n }\n }\n"),
},
&newrelic.OneDashboardRawPageWidgetArgs{
Title: pulumi.String("Server CPU"),
Row: pulumi.Int(1),
Column: pulumi.Int(2),
Width: pulumi.Int(1),
Height: pulumi.Int(1),
VisualizationId: pulumi.String("viz.testing"),
Configuration: pulumi.String(" {\n \"nrqlQueries\": [\n {\n \"accountId\": ` + accountID + `,\n \"query\": \"SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400\"\n }\n ]\n }\n"),
},
&newrelic.OneDashboardRawPageWidgetArgs{
Title: pulumi.String("Docker Server CPU"),
Row: pulumi.Int(1),
Column: pulumi.Int(3),
Height: pulumi.Int(1),
Width: pulumi.Int(1),
VisualizationId: pulumi.String("viz.bar"),
Configuration: pulumi.String(json0),
LinkedEntityGuids: pulumi.StringArray{
pulumi.String("MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"),
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.newrelic.OneDashboardRaw;
import com.pulumi.newrelic.OneDashboardRawArgs;
import com.pulumi.newrelic.inputs.OneDashboardRawPageArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampledash = new OneDashboardRaw("exampledash", OneDashboardRawArgs.builder()
.pages(OneDashboardRawPageArgs.builder()
.name("Page Name")
.widgets(
OneDashboardRawPageWidgetArgs.builder()
.title("Custom widget")
.row(1)
.column(1)
.width(1)
.height(1)
.visualizationId("viz.custom")
.configuration("""
{
"legend": {
"enabled": false
},
"nrqlQueries": [
{
"accountId": ` + accountID + `,
"query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
}
],
"yAxisLeft": {
"max": 100,
"min": 50,
"zero": false
}
}
""")
.build(),
OneDashboardRawPageWidgetArgs.builder()
.title("Server CPU")
.row(1)
.column(2)
.width(1)
.height(1)
.visualizationId("viz.testing")
.configuration("""
{
"nrqlQueries": [
{
"accountId": ` + accountID + `,
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
}
]
}
""")
.build(),
OneDashboardRawPageWidgetArgs.builder()
.title("Docker Server CPU")
.row(1)
.column(3)
.height(1)
.width(1)
.visualizationId("viz.bar")
.configuration(serializeJson(
jsonObject(
jsonProperty("facet", jsonObject(
jsonProperty("showOtherSeries", false)
)),
jsonProperty("nrqlQueries", jsonArray(jsonObject(
jsonProperty("accountId", local.accountID()),
jsonProperty("query", "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400")
)))
)))
.linkedEntityGuids("MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc")
.build())
.build())
.build());
}
}
import pulumi
import json
import pulumi_newrelic as newrelic
exampledash = newrelic.OneDashboardRaw("exampledash", pages=[newrelic.OneDashboardRawPageArgs(
name="Page Name",
widgets=[
newrelic.OneDashboardRawPageWidgetArgs(
title="Custom widget",
row=1,
column=1,
width=1,
height=1,
visualization_id="viz.custom",
configuration=""" {
"legend": {
"enabled": false
},
"nrqlQueries": [
{
"accountId": ` + accountID + `,
"query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
}
],
"yAxisLeft": {
"max": 100,
"min": 50,
"zero": false
}
}
""",
),
newrelic.OneDashboardRawPageWidgetArgs(
title="Server CPU",
row=1,
column=2,
width=1,
height=1,
visualization_id="viz.testing",
configuration=""" {
"nrqlQueries": [
{
"accountId": ` + accountID + `,
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
}
]
}
""",
),
newrelic.OneDashboardRawPageWidgetArgs(
title="Docker Server CPU",
row=1,
column=3,
height=1,
width=1,
visualization_id="viz.bar",
configuration=json.dumps({
"facet": {
"showOtherSeries": False,
},
"nrqlQueries": [{
"accountId": local["accountID"],
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
}],
}),
linked_entity_guids=["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
),
],
)])
import * as pulumi from "@pulumi/pulumi";
import * as newrelic from "@pulumi/newrelic";
const exampledash = new newrelic.OneDashboardRaw("exampledash", {pages: [{
name: "Page Name",
widgets: [
{
title: "Custom widget",
row: 1,
column: 1,
width: 1,
height: 1,
visualizationId: "viz.custom",
configuration: ` {
"legend": {
"enabled": false
},
"nrqlQueries": [
{
"accountId": \` + accountID + \`,
"query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
}
],
"yAxisLeft": {
"max": 100,
"min": 50,
"zero": false
}
}
`,
},
{
title: "Server CPU",
row: 1,
column: 2,
width: 1,
height: 1,
visualizationId: "viz.testing",
configuration: ` {
"nrqlQueries": [
{
"accountId": \` + accountID + \`,
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
}
]
}
`,
},
{
title: "Docker Server CPU",
row: 1,
column: 3,
height: 1,
width: 1,
visualizationId: "viz.bar",
configuration: JSON.stringify({
facet: {
showOtherSeries: false,
},
nrqlQueries: [{
accountId: local.accountID,
query: "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400",
}],
}),
linkedEntityGuids: ["MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"],
},
],
}]});
resources:
exampledash:
type: newrelic:OneDashboardRaw
properties:
pages:
- name: Page Name
widgets:
- title: Custom widget
row: 1
column: 1
width: 1
height: 1
visualizationId: viz.custom
configuration: |2
{
"legend": {
"enabled": false
},
"nrqlQueries": [
{
"accountId": ` + accountID + `,
"query": "SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES"
}
],
"yAxisLeft": {
"max": 100,
"min": 50,
"zero": false
}
}
- title: Server CPU
row: 1
column: 2
width: 1
height: 1
visualizationId: viz.testing
configuration: |2
{
"nrqlQueries": [
{
"accountId": ` + accountID + `,
"query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400"
}
]
}
- title: Docker Server CPU
row: 1
column: 3
height: 1
width: 1
visualizationId: viz.bar
configuration:
fn::toJSON:
facet:
showOtherSeries: false
nrqlQueries:
- accountId: ${local.accountID}
query: SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400
linkedEntityGuids:
- MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc
Create OneDashboardRaw Resource
new OneDashboardRaw(name: string, args: OneDashboardRawArgs, opts?: CustomResourceOptions);
@overload
def OneDashboardRaw(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
description: Optional[str] = None,
name: Optional[str] = None,
pages: Optional[Sequence[OneDashboardRawPageArgs]] = None,
permissions: Optional[str] = None)
@overload
def OneDashboardRaw(resource_name: str,
args: OneDashboardRawArgs,
opts: Optional[ResourceOptions] = None)
func NewOneDashboardRaw(ctx *Context, name string, args OneDashboardRawArgs, opts ...ResourceOption) (*OneDashboardRaw, error)
public OneDashboardRaw(string name, OneDashboardRawArgs args, CustomResourceOptions? opts = null)
public OneDashboardRaw(String name, OneDashboardRawArgs args)
public OneDashboardRaw(String name, OneDashboardRawArgs args, CustomResourceOptions options)
type: newrelic:OneDashboardRaw
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OneDashboardRawArgs
- 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 OneDashboardRawArgs
- 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 OneDashboardRawArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OneDashboardRawArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OneDashboardRawArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
OneDashboardRaw 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 OneDashboardRaw resource accepts the following input properties:
- Pages
List<Pulumi.
New Relic. Inputs. One Dashboard Raw Page Args> A nested block that describes a page. See Nested page blocks below for details.
- Account
Id int Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- Description string
Brief text describing the dashboard.
- Name string
The title of the dashboard.
- Permissions string
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- Pages
[]One
Dashboard Raw Page Args A nested block that describes a page. See Nested page blocks below for details.
- Account
Id int Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- Description string
Brief text describing the dashboard.
- Name string
The title of the dashboard.
- Permissions string
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- pages
List<One
Dashboard Raw Page Args> A nested block that describes a page. See Nested page blocks below for details.
- account
Id Integer Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- description String
Brief text describing the dashboard.
- name String
The title of the dashboard.
- permissions String
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- pages
One
Dashboard Raw Page Args[] A nested block that describes a page. See Nested page blocks below for details.
- account
Id number Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- description string
Brief text describing the dashboard.
- name string
The title of the dashboard.
- permissions string
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- pages
Sequence[One
Dashboard Raw Page Args] A nested block that describes a page. See Nested page blocks below for details.
- account_
id int Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- description str
Brief text describing the dashboard.
- name str
The title of the dashboard.
- permissions str
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- pages List<Property Map>
A nested block that describes a page. See Nested page blocks below for details.
- account
Id Number Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- description String
Brief text describing the dashboard.
- name String
The title of the dashboard.
- permissions String
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
Outputs
All input properties are implicitly available as output properties. Additionally, the OneDashboardRaw resource produces the following output properties:
Look up Existing OneDashboardRaw Resource
Get an existing OneDashboardRaw 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?: OneDashboardRawState, opts?: CustomResourceOptions): OneDashboardRaw
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
description: Optional[str] = None,
guid: Optional[str] = None,
name: Optional[str] = None,
pages: Optional[Sequence[OneDashboardRawPageArgs]] = None,
permalink: Optional[str] = None,
permissions: Optional[str] = None) -> OneDashboardRaw
func GetOneDashboardRaw(ctx *Context, name string, id IDInput, state *OneDashboardRawState, opts ...ResourceOption) (*OneDashboardRaw, error)
public static OneDashboardRaw Get(string name, Input<string> id, OneDashboardRawState? state, CustomResourceOptions? opts = null)
public static OneDashboardRaw get(String name, Output<String> id, OneDashboardRawState 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.
- Account
Id int Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- Description string
Brief text describing the dashboard.
- Guid string
The unique entity identifier of the dashboard page in New Relic.
- Name string
The title of the dashboard.
- Pages
List<Pulumi.
New Relic. Inputs. One Dashboard Raw Page Args> A nested block that describes a page. See Nested page blocks below for details.
- Permalink string
The URL for viewing the dashboard.
- Permissions string
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- Account
Id int Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- Description string
Brief text describing the dashboard.
- Guid string
The unique entity identifier of the dashboard page in New Relic.
- Name string
The title of the dashboard.
- Pages
[]One
Dashboard Raw Page Args A nested block that describes a page. See Nested page blocks below for details.
- Permalink string
The URL for viewing the dashboard.
- Permissions string
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- account
Id Integer Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- description String
Brief text describing the dashboard.
- guid String
The unique entity identifier of the dashboard page in New Relic.
- name String
The title of the dashboard.
- pages
List<One
Dashboard Raw Page Args> A nested block that describes a page. See Nested page blocks below for details.
- permalink String
The URL for viewing the dashboard.
- permissions String
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- account
Id number Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- description string
Brief text describing the dashboard.
- guid string
The unique entity identifier of the dashboard page in New Relic.
- name string
The title of the dashboard.
- pages
One
Dashboard Raw Page Args[] A nested block that describes a page. See Nested page blocks below for details.
- permalink string
The URL for viewing the dashboard.
- permissions string
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- account_
id int Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- description str
Brief text describing the dashboard.
- guid str
The unique entity identifier of the dashboard page in New Relic.
- name str
The title of the dashboard.
- pages
Sequence[One
Dashboard Raw Page Args] A nested block that describes a page. See Nested page blocks below for details.
- permalink str
The URL for viewing the dashboard.
- permissions str
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
- account
Id Number Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
- description String
Brief text describing the dashboard.
- guid String
The unique entity identifier of the dashboard page in New Relic.
- name String
The title of the dashboard.
- pages List<Property Map>
A nested block that describes a page. See Nested page blocks below for details.
- permalink String
The URL for viewing the dashboard.
- permissions String
Determines who can see the dashboard in an account. Valid values are
private
,public_read_only
, orpublic_read_write
. Defaults topublic_read_only
.
Supporting Types
OneDashboardRawPage
- Name string
The title of the dashboard.
- Description string
Brief text describing the dashboard.
- Guid string
The unique entity identifier of the dashboard page in New Relic.
- Widgets
List<Pulumi.
New Relic. Inputs. One Dashboard Raw Page Widget> (Optional) A nested block that describes a widget. See Nested widget blocks below for details.
- Name string
The title of the dashboard.
- Description string
Brief text describing the dashboard.
- Guid string
The unique entity identifier of the dashboard page in New Relic.
- Widgets
[]One
Dashboard Raw Page Widget (Optional) A nested block that describes a widget. See Nested widget blocks below for details.
- name String
The title of the dashboard.
- description String
Brief text describing the dashboard.
- guid String
The unique entity identifier of the dashboard page in New Relic.
- widgets
List<One
Dashboard Raw Page Widget> (Optional) A nested block that describes a widget. See Nested widget blocks below for details.
- name string
The title of the dashboard.
- description string
Brief text describing the dashboard.
- guid string
The unique entity identifier of the dashboard page in New Relic.
- widgets
One
Dashboard Raw Page Widget[] (Optional) A nested block that describes a widget. See Nested widget blocks below for details.
- name str
The title of the dashboard.
- description str
Brief text describing the dashboard.
- guid str
The unique entity identifier of the dashboard page in New Relic.
- widgets
Sequence[One
Dashboard Raw Page Widget] (Optional) A nested block that describes a widget. See Nested widget blocks below for details.
- name String
The title of the dashboard.
- description String
Brief text describing the dashboard.
- guid String
The unique entity identifier of the dashboard page in New Relic.
- widgets List<Property Map>
(Optional) A nested block that describes a widget. See Nested widget blocks below for details.
OneDashboardRawPageWidget
- Column int
(Required) Column position of widget from top left, starting at
1
.- Configuration string
(Required) The configuration of the widget.
- Row int
(Required) Row position of widget from top left, starting at
1
.- Title string
(Required) A title for the widget.
- Visualization
Id string (Required) The visualization ID of the widget
- Height int
(Optional) Height of the widget. Valid values are
1
to12
inclusive. Defaults to3
.- Id string
- Linked
Entity List<string>Guids (Optional) Related entity GUIDs.
- Width int
(Optional) Width of the widget. Valid values are
1
to12
inclusive. Defaults to4
.
- Column int
(Required) Column position of widget from top left, starting at
1
.- Configuration string
(Required) The configuration of the widget.
- Row int
(Required) Row position of widget from top left, starting at
1
.- Title string
(Required) A title for the widget.
- Visualization
Id string (Required) The visualization ID of the widget
- Height int
(Optional) Height of the widget. Valid values are
1
to12
inclusive. Defaults to3
.- Id string
- Linked
Entity []stringGuids (Optional) Related entity GUIDs.
- Width int
(Optional) Width of the widget. Valid values are
1
to12
inclusive. Defaults to4
.
- column Integer
(Required) Column position of widget from top left, starting at
1
.- configuration String
(Required) The configuration of the widget.
- row Integer
(Required) Row position of widget from top left, starting at
1
.- title String
(Required) A title for the widget.
- visualization
Id String (Required) The visualization ID of the widget
- height Integer
(Optional) Height of the widget. Valid values are
1
to12
inclusive. Defaults to3
.- id String
- linked
Entity List<String>Guids (Optional) Related entity GUIDs.
- width Integer
(Optional) Width of the widget. Valid values are
1
to12
inclusive. Defaults to4
.
- column number
(Required) Column position of widget from top left, starting at
1
.- configuration string
(Required) The configuration of the widget.
- row number
(Required) Row position of widget from top left, starting at
1
.- title string
(Required) A title for the widget.
- visualization
Id string (Required) The visualization ID of the widget
- height number
(Optional) Height of the widget. Valid values are
1
to12
inclusive. Defaults to3
.- id string
- linked
Entity string[]Guids (Optional) Related entity GUIDs.
- width number
(Optional) Width of the widget. Valid values are
1
to12
inclusive. Defaults to4
.
- column int
(Required) Column position of widget from top left, starting at
1
.- configuration str
(Required) The configuration of the widget.
- row int
(Required) Row position of widget from top left, starting at
1
.- title str
(Required) A title for the widget.
- visualization_
id str (Required) The visualization ID of the widget
- height int
(Optional) Height of the widget. Valid values are
1
to12
inclusive. Defaults to3
.- id str
- linked_
entity_ Sequence[str]guids (Optional) Related entity GUIDs.
- width int
(Optional) Width of the widget. Valid values are
1
to12
inclusive. Defaults to4
.
- column Number
(Required) Column position of widget from top left, starting at
1
.- configuration String
(Required) The configuration of the widget.
- row Number
(Required) Row position of widget from top left, starting at
1
.- title String
(Required) A title for the widget.
- visualization
Id String (Required) The visualization ID of the widget
- height Number
(Optional) Height of the widget. Valid values are
1
to12
inclusive. Defaults to3
.- id String
- linked
Entity List<String>Guids (Optional) Related entity GUIDs.
- width Number
(Optional) Width of the widget. Valid values are
1
to12
inclusive. Defaults to4
.
Package Details
- Repository
- New Relic pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
newrelic
Terraform Provider.