1. Packages
  2. Wavefront Provider
  3. API Docs
  4. DashboardJson
Wavefront v3.1.8 published on Tuesday, Mar 4, 2025 by Pulumi

wavefront.DashboardJson

Explore with Pulumi AI

Provides a Wavefront Dashboard JSON resource. This allows dashboards to be created, updated, and deleted.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

const testDashboardJson = new wavefront.DashboardJson("test_dashboard_json", {dashboardJson: `{
  "acl": {
    "canModify": [
      "group-uuid",
      "role-uuid"
    ],
    "canView": [
      "group-uuid",
      "role-uuid"
    ]
  },
  "name": "Terraform Test Dashboard Json",
  "description": "a",
  "eventFilterType": "BYCHART",
  "eventQuery": "",
  "defaultTimeWindow": "",
  "url": "tftestimport",
  "displayDescription": false,
  "displaySectionTableOfContents": true,
  "displayQueryParameters": false,
  "sections": [
    {
      "name": "section 1",
      "rows": [
        {
          "charts": [
            {
              "name": "chart 1",
              "sources": [
                {
                  "name": "source 1",
                  "query": "ts()",
                  "scatterPlotSource": "Y",
                  "querybuilderEnabled": false,
                  "sourceDescription": ""
                }
              ],
              "units": "someunit",
              "base": 0,
              "noDefaultEvents": false,
              "interpolatePoints": false,
              "includeObsoleteMetrics": false,
              "description": "This is chart 1, showing something",
              "chartSettings": {
                "type": "markdown-widget",
                "max": 100,
                "expectedDataSpacing": 120,
                "windowing": "full",
                "windowSize": 10,
                "autoColumnTags": false,
                "columnTags": "deprecated",
                "tagMode": "all",
                "numTags": 2,
                "customTags": [
                  "tag1",
                  "tag2"
                ],
                "groupBySource": true,
                "y1Max": 100,
                "y1Units": "units",
                "y0ScaleSIBy1024": true,
                "y1ScaleSIBy1024": true,
                "y0UnitAutoscaling": true,
                "y1UnitAutoscaling": true,
                "fixedLegendEnabled": true,
                "fixedLegendUseRawStats": true,
                "fixedLegendPosition": "RIGHT",
                "fixedLegendDisplayStats": [
                  "stat1",
                  "stat2"
                ],
                "fixedLegendFilterSort": "TOP",
                "fixedLegendFilterLimit": 1,
                "fixedLegendFilterField": "CURRENT",
                "plainMarkdownContent": "markdown content"
              },
              "chartAttributes": {
                "dashboardLinks": {
                  "*": {
                    "variables": {
                      "xxx": "xxx"
                    },
                    "destination": "/dashboards/xxxx"
                  }
                }
              },
              "summarization": "MEAN"
            }
          ],
          "heightFactor": 50
        }
      ]
    }
  ],
  "parameterDetails": {
    "param": {
      "hideFromView": false,
      "description": null,
      "allowAll": null,
      "tagKey": null,
      "queryValue": null,
      "dynamicFieldType": null,
      "reverseDynSort": null,
      "parameterType": "SIMPLE",
      "label": "test",
      "defaultValue": "Label",
      "valuesToReadableStrings": {
        "Label": "test"
      },
      "selectedLabel": "Label",
      "value": "test"
    }
  },
  "tags": {
    "customerTags": [
      "terraform"
    ]
  }
}
`});
Copy
import pulumi
import pulumi_wavefront as wavefront

test_dashboard_json = wavefront.DashboardJson("test_dashboard_json", dashboard_json="""{
  "acl": {
    "canModify": [
      "group-uuid",
      "role-uuid"
    ],
    "canView": [
      "group-uuid",
      "role-uuid"
    ]
  },
  "name": "Terraform Test Dashboard Json",
  "description": "a",
  "eventFilterType": "BYCHART",
  "eventQuery": "",
  "defaultTimeWindow": "",
  "url": "tftestimport",
  "displayDescription": false,
  "displaySectionTableOfContents": true,
  "displayQueryParameters": false,
  "sections": [
    {
      "name": "section 1",
      "rows": [
        {
          "charts": [
            {
              "name": "chart 1",
              "sources": [
                {
                  "name": "source 1",
                  "query": "ts()",
                  "scatterPlotSource": "Y",
                  "querybuilderEnabled": false,
                  "sourceDescription": ""
                }
              ],
              "units": "someunit",
              "base": 0,
              "noDefaultEvents": false,
              "interpolatePoints": false,
              "includeObsoleteMetrics": false,
              "description": "This is chart 1, showing something",
              "chartSettings": {
                "type": "markdown-widget",
                "max": 100,
                "expectedDataSpacing": 120,
                "windowing": "full",
                "windowSize": 10,
                "autoColumnTags": false,
                "columnTags": "deprecated",
                "tagMode": "all",
                "numTags": 2,
                "customTags": [
                  "tag1",
                  "tag2"
                ],
                "groupBySource": true,
                "y1Max": 100,
                "y1Units": "units",
                "y0ScaleSIBy1024": true,
                "y1ScaleSIBy1024": true,
                "y0UnitAutoscaling": true,
                "y1UnitAutoscaling": true,
                "fixedLegendEnabled": true,
                "fixedLegendUseRawStats": true,
                "fixedLegendPosition": "RIGHT",
                "fixedLegendDisplayStats": [
                  "stat1",
                  "stat2"
                ],
                "fixedLegendFilterSort": "TOP",
                "fixedLegendFilterLimit": 1,
                "fixedLegendFilterField": "CURRENT",
                "plainMarkdownContent": "markdown content"
              },
              "chartAttributes": {
                "dashboardLinks": {
                  "*": {
                    "variables": {
                      "xxx": "xxx"
                    },
                    "destination": "/dashboards/xxxx"
                  }
                }
              },
              "summarization": "MEAN"
            }
          ],
          "heightFactor": 50
        }
      ]
    }
  ],
  "parameterDetails": {
    "param": {
      "hideFromView": false,
      "description": null,
      "allowAll": null,
      "tagKey": null,
      "queryValue": null,
      "dynamicFieldType": null,
      "reverseDynSort": null,
      "parameterType": "SIMPLE",
      "label": "test",
      "defaultValue": "Label",
      "valuesToReadableStrings": {
        "Label": "test"
      },
      "selectedLabel": "Label",
      "value": "test"
    }
  },
  "tags": {
    "customerTags": [
      "terraform"
    ]
  }
}
""")
Copy
package main

import (
	"github.com/pulumi/pulumi-wavefront/sdk/v3/go/wavefront"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := wavefront.NewDashboardJson(ctx, "test_dashboard_json", &wavefront.DashboardJsonArgs{
			DashboardJson: pulumi.String(`{
  "acl": {
    "canModify": [
      "group-uuid",
      "role-uuid"
    ],
    "canView": [
      "group-uuid",
      "role-uuid"
    ]
  },
  "name": "Terraform Test Dashboard Json",
  "description": "a",
  "eventFilterType": "BYCHART",
  "eventQuery": "",
  "defaultTimeWindow": "",
  "url": "tftestimport",
  "displayDescription": false,
  "displaySectionTableOfContents": true,
  "displayQueryParameters": false,
  "sections": [
    {
      "name": "section 1",
      "rows": [
        {
          "charts": [
            {
              "name": "chart 1",
              "sources": [
                {
                  "name": "source 1",
                  "query": "ts()",
                  "scatterPlotSource": "Y",
                  "querybuilderEnabled": false,
                  "sourceDescription": ""
                }
              ],
              "units": "someunit",
              "base": 0,
              "noDefaultEvents": false,
              "interpolatePoints": false,
              "includeObsoleteMetrics": false,
              "description": "This is chart 1, showing something",
              "chartSettings": {
                "type": "markdown-widget",
                "max": 100,
                "expectedDataSpacing": 120,
                "windowing": "full",
                "windowSize": 10,
                "autoColumnTags": false,
                "columnTags": "deprecated",
                "tagMode": "all",
                "numTags": 2,
                "customTags": [
                  "tag1",
                  "tag2"
                ],
                "groupBySource": true,
                "y1Max": 100,
                "y1Units": "units",
                "y0ScaleSIBy1024": true,
                "y1ScaleSIBy1024": true,
                "y0UnitAutoscaling": true,
                "y1UnitAutoscaling": true,
                "fixedLegendEnabled": true,
                "fixedLegendUseRawStats": true,
                "fixedLegendPosition": "RIGHT",
                "fixedLegendDisplayStats": [
                  "stat1",
                  "stat2"
                ],
                "fixedLegendFilterSort": "TOP",
                "fixedLegendFilterLimit": 1,
                "fixedLegendFilterField": "CURRENT",
                "plainMarkdownContent": "markdown content"
              },
              "chartAttributes": {
                "dashboardLinks": {
                  "*": {
                    "variables": {
                      "xxx": "xxx"
                    },
                    "destination": "/dashboards/xxxx"
                  }
                }
              },
              "summarization": "MEAN"
            }
          ],
          "heightFactor": 50
        }
      ]
    }
  ],
  "parameterDetails": {
    "param": {
      "hideFromView": false,
      "description": null,
      "allowAll": null,
      "tagKey": null,
      "queryValue": null,
      "dynamicFieldType": null,
      "reverseDynSort": null,
      "parameterType": "SIMPLE",
      "label": "test",
      "defaultValue": "Label",
      "valuesToReadableStrings": {
        "Label": "test"
      },
      "selectedLabel": "Label",
      "value": "test"
    }
  },
  "tags": {
    "customerTags": [
      "terraform"
    ]
  }
}
`),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;

return await Deployment.RunAsync(() => 
{
    var testDashboardJson = new Wavefront.DashboardJson("test_dashboard_json", new()
    {
        JSON = @"{
  ""acl"": {
    ""canModify"": [
      ""group-uuid"",
      ""role-uuid""
    ],
    ""canView"": [
      ""group-uuid"",
      ""role-uuid""
    ]
  },
  ""name"": ""Terraform Test Dashboard Json"",
  ""description"": ""a"",
  ""eventFilterType"": ""BYCHART"",
  ""eventQuery"": """",
  ""defaultTimeWindow"": """",
  ""url"": ""tftestimport"",
  ""displayDescription"": false,
  ""displaySectionTableOfContents"": true,
  ""displayQueryParameters"": false,
  ""sections"": [
    {
      ""name"": ""section 1"",
      ""rows"": [
        {
          ""charts"": [
            {
              ""name"": ""chart 1"",
              ""sources"": [
                {
                  ""name"": ""source 1"",
                  ""query"": ""ts()"",
                  ""scatterPlotSource"": ""Y"",
                  ""querybuilderEnabled"": false,
                  ""sourceDescription"": """"
                }
              ],
              ""units"": ""someunit"",
              ""base"": 0,
              ""noDefaultEvents"": false,
              ""interpolatePoints"": false,
              ""includeObsoleteMetrics"": false,
              ""description"": ""This is chart 1, showing something"",
              ""chartSettings"": {
                ""type"": ""markdown-widget"",
                ""max"": 100,
                ""expectedDataSpacing"": 120,
                ""windowing"": ""full"",
                ""windowSize"": 10,
                ""autoColumnTags"": false,
                ""columnTags"": ""deprecated"",
                ""tagMode"": ""all"",
                ""numTags"": 2,
                ""customTags"": [
                  ""tag1"",
                  ""tag2""
                ],
                ""groupBySource"": true,
                ""y1Max"": 100,
                ""y1Units"": ""units"",
                ""y0ScaleSIBy1024"": true,
                ""y1ScaleSIBy1024"": true,
                ""y0UnitAutoscaling"": true,
                ""y1UnitAutoscaling"": true,
                ""fixedLegendEnabled"": true,
                ""fixedLegendUseRawStats"": true,
                ""fixedLegendPosition"": ""RIGHT"",
                ""fixedLegendDisplayStats"": [
                  ""stat1"",
                  ""stat2""
                ],
                ""fixedLegendFilterSort"": ""TOP"",
                ""fixedLegendFilterLimit"": 1,
                ""fixedLegendFilterField"": ""CURRENT"",
                ""plainMarkdownContent"": ""markdown content""
              },
              ""chartAttributes"": {
                ""dashboardLinks"": {
                  ""*"": {
                    ""variables"": {
                      ""xxx"": ""xxx""
                    },
                    ""destination"": ""/dashboards/xxxx""
                  }
                }
              },
              ""summarization"": ""MEAN""
            }
          ],
          ""heightFactor"": 50
        }
      ]
    }
  ],
  ""parameterDetails"": {
    ""param"": {
      ""hideFromView"": false,
      ""description"": null,
      ""allowAll"": null,
      ""tagKey"": null,
      ""queryValue"": null,
      ""dynamicFieldType"": null,
      ""reverseDynSort"": null,
      ""parameterType"": ""SIMPLE"",
      ""label"": ""test"",
      ""defaultValue"": ""Label"",
      ""valuesToReadableStrings"": {
        ""Label"": ""test""
      },
      ""selectedLabel"": ""Label"",
      ""value"": ""test""
    }
  },
  ""tags"": {
    ""customerTags"": [
      ""terraform""
    ]
  }
}
",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.DashboardJson;
import com.pulumi.wavefront.DashboardJsonArgs;
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 testDashboardJson = new DashboardJson("testDashboardJson", DashboardJsonArgs.builder()
            .dashboardJson("""
{
  "acl": {
    "canModify": [
      "group-uuid",
      "role-uuid"
    ],
    "canView": [
      "group-uuid",
      "role-uuid"
    ]
  },
  "name": "Terraform Test Dashboard Json",
  "description": "a",
  "eventFilterType": "BYCHART",
  "eventQuery": "",
  "defaultTimeWindow": "",
  "url": "tftestimport",
  "displayDescription": false,
  "displaySectionTableOfContents": true,
  "displayQueryParameters": false,
  "sections": [
    {
      "name": "section 1",
      "rows": [
        {
          "charts": [
            {
              "name": "chart 1",
              "sources": [
                {
                  "name": "source 1",
                  "query": "ts()",
                  "scatterPlotSource": "Y",
                  "querybuilderEnabled": false,
                  "sourceDescription": ""
                }
              ],
              "units": "someunit",
              "base": 0,
              "noDefaultEvents": false,
              "interpolatePoints": false,
              "includeObsoleteMetrics": false,
              "description": "This is chart 1, showing something",
              "chartSettings": {
                "type": "markdown-widget",
                "max": 100,
                "expectedDataSpacing": 120,
                "windowing": "full",
                "windowSize": 10,
                "autoColumnTags": false,
                "columnTags": "deprecated",
                "tagMode": "all",
                "numTags": 2,
                "customTags": [
                  "tag1",
                  "tag2"
                ],
                "groupBySource": true,
                "y1Max": 100,
                "y1Units": "units",
                "y0ScaleSIBy1024": true,
                "y1ScaleSIBy1024": true,
                "y0UnitAutoscaling": true,
                "y1UnitAutoscaling": true,
                "fixedLegendEnabled": true,
                "fixedLegendUseRawStats": true,
                "fixedLegendPosition": "RIGHT",
                "fixedLegendDisplayStats": [
                  "stat1",
                  "stat2"
                ],
                "fixedLegendFilterSort": "TOP",
                "fixedLegendFilterLimit": 1,
                "fixedLegendFilterField": "CURRENT",
                "plainMarkdownContent": "markdown content"
              },
              "chartAttributes": {
                "dashboardLinks": {
                  "*": {
                    "variables": {
                      "xxx": "xxx"
                    },
                    "destination": "/dashboards/xxxx"
                  }
                }
              },
              "summarization": "MEAN"
            }
          ],
          "heightFactor": 50
        }
      ]
    }
  ],
  "parameterDetails": {
    "param": {
      "hideFromView": false,
      "description": null,
      "allowAll": null,
      "tagKey": null,
      "queryValue": null,
      "dynamicFieldType": null,
      "reverseDynSort": null,
      "parameterType": "SIMPLE",
      "label": "test",
      "defaultValue": "Label",
      "valuesToReadableStrings": {
        "Label": "test"
      },
      "selectedLabel": "Label",
      "value": "test"
    }
  },
  "tags": {
    "customerTags": [
      "terraform"
    ]
  }
}
            """)
            .build());

    }
}
Copy
resources:
  testDashboardJson:
    type: wavefront:DashboardJson
    name: test_dashboard_json
    properties:
      dashboardJson: |
        {
          "acl": {
            "canModify": [
              "group-uuid",
              "role-uuid"
            ],
            "canView": [
              "group-uuid",
              "role-uuid"
            ]
          },
          "name": "Terraform Test Dashboard Json",
          "description": "a",
          "eventFilterType": "BYCHART",
          "eventQuery": "",
          "defaultTimeWindow": "",
          "url": "tftestimport",
          "displayDescription": false,
          "displaySectionTableOfContents": true,
          "displayQueryParameters": false,
          "sections": [
            {
              "name": "section 1",
              "rows": [
                {
                  "charts": [
                    {
                      "name": "chart 1",
                      "sources": [
                        {
                          "name": "source 1",
                          "query": "ts()",
                          "scatterPlotSource": "Y",
                          "querybuilderEnabled": false,
                          "sourceDescription": ""
                        }
                      ],
                      "units": "someunit",
                      "base": 0,
                      "noDefaultEvents": false,
                      "interpolatePoints": false,
                      "includeObsoleteMetrics": false,
                      "description": "This is chart 1, showing something",
                      "chartSettings": {
                        "type": "markdown-widget",
                        "max": 100,
                        "expectedDataSpacing": 120,
                        "windowing": "full",
                        "windowSize": 10,
                        "autoColumnTags": false,
                        "columnTags": "deprecated",
                        "tagMode": "all",
                        "numTags": 2,
                        "customTags": [
                          "tag1",
                          "tag2"
                        ],
                        "groupBySource": true,
                        "y1Max": 100,
                        "y1Units": "units",
                        "y0ScaleSIBy1024": true,
                        "y1ScaleSIBy1024": true,
                        "y0UnitAutoscaling": true,
                        "y1UnitAutoscaling": true,
                        "fixedLegendEnabled": true,
                        "fixedLegendUseRawStats": true,
                        "fixedLegendPosition": "RIGHT",
                        "fixedLegendDisplayStats": [
                          "stat1",
                          "stat2"
                        ],
                        "fixedLegendFilterSort": "TOP",
                        "fixedLegendFilterLimit": 1,
                        "fixedLegendFilterField": "CURRENT",
                        "plainMarkdownContent": "markdown content"
                      },
                      "chartAttributes": {
                        "dashboardLinks": {
                          "*": {
                            "variables": {
                              "xxx": "xxx"
                            },
                            "destination": "/dashboards/xxxx"
                          }
                        }
                      },
                      "summarization": "MEAN"
                    }
                  ],
                  "heightFactor": 50
                }
              ]
            }
          ],
          "parameterDetails": {
            "param": {
              "hideFromView": false,
              "description": null,
              "allowAll": null,
              "tagKey": null,
              "queryValue": null,
              "dynamicFieldType": null,
              "reverseDynSort": null,
              "parameterType": "SIMPLE",
              "label": "test",
              "defaultValue": "Label",
              "valuesToReadableStrings": {
                "Label": "test"
              },
              "selectedLabel": "Label",
              "value": "test"
            }
          },
          "tags": {
            "customerTags": [
              "terraform"
            ]
          }
        }        
Copy

*Note: ** If there are dynamic variables in the Wavefront dashboard json, then these variables must be present in a separate file as mentioned in the section below.

Create DashboardJson Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DashboardJson(name: string, args: DashboardJsonArgs, opts?: CustomResourceOptions);
@overload
def DashboardJson(resource_name: str,
                  args: DashboardJsonArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def DashboardJson(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  dashboard_json: Optional[str] = None)
func NewDashboardJson(ctx *Context, name string, args DashboardJsonArgs, opts ...ResourceOption) (*DashboardJson, error)
public DashboardJson(string name, DashboardJsonArgs args, CustomResourceOptions? opts = null)
public DashboardJson(String name, DashboardJsonArgs args)
public DashboardJson(String name, DashboardJsonArgs args, CustomResourceOptions options)
type: wavefront:DashboardJson
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

The following reference example uses placeholder values for all input properties.

var dashboardJsonResource = new Wavefront.DashboardJson("dashboardJsonResource", new()
{
    JSON = "string",
});
Copy
example, err := wavefront.NewDashboardJson(ctx, "dashboardJsonResource", &wavefront.DashboardJsonArgs{
	DashboardJson: pulumi.String("string"),
})
Copy
var dashboardJsonResource = new DashboardJson("dashboardJsonResource", DashboardJsonArgs.builder()
    .dashboardJson("string")
    .build());
Copy
dashboard_json_resource = wavefront.DashboardJson("dashboardJsonResource", dashboard_json="string")
Copy
const dashboardJsonResource = new wavefront.DashboardJson("dashboardJsonResource", {dashboardJson: "string"});
Copy
type: wavefront:DashboardJson
properties:
    dashboardJson: string
Copy

DashboardJson Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DashboardJson resource accepts the following input properties:

JSON This property is required. string
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
DashboardJson This property is required. string
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
dashboardJson This property is required. String
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
dashboardJson This property is required. string
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
dashboard_json This property is required. str
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
dashboardJson This property is required. String
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing DashboardJson Resource

Get an existing DashboardJson 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?: DashboardJsonState, opts?: CustomResourceOptions): DashboardJson
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dashboard_json: Optional[str] = None) -> DashboardJson
func GetDashboardJson(ctx *Context, name string, id IDInput, state *DashboardJsonState, opts ...ResourceOption) (*DashboardJson, error)
public static DashboardJson Get(string name, Input<string> id, DashboardJsonState? state, CustomResourceOptions? opts = null)
public static DashboardJson get(String name, Output<String> id, DashboardJsonState state, CustomResourceOptions options)
resources:  _:    type: wavefront:DashboardJson    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
JSON string
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
DashboardJson string
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
dashboardJson String
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
dashboardJson string
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
dashboard_json str
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.
dashboardJson String
See the Wavefront API Documentation for instructions on how to get to your API documentation for more details.

Import

Dashboard JSON can be imported by using the id, e.g.:

$ pulumi import wavefront:index/dashboardJson:DashboardJson dashboard_json tftestimport
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Wavefront pulumi/pulumi-wavefront
License
Apache-2.0
Notes
This Pulumi package is based on the wavefront Terraform Provider.