New Relic v5.12.0, May 30 23
New Relic v5.12.0, May 30 23
newrelic.OneDashboardJson
Explore with Pulumi AI
Import
New Relic dashboards can be imported using their GUID, e.g. bash
$ pulumi import newrelic:index/oneDashboardJson:OneDashboardJson my_dashboard <dashboard GUID>
Create OneDashboardJson Resource
new OneDashboardJson(name: string, args: OneDashboardJsonArgs, opts?: CustomResourceOptions);
@overload
def OneDashboardJson(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
json: Optional[str] = None)
@overload
def OneDashboardJson(resource_name: str,
args: OneDashboardJsonArgs,
opts: Optional[ResourceOptions] = None)
func NewOneDashboardJson(ctx *Context, name string, args OneDashboardJsonArgs, opts ...ResourceOption) (*OneDashboardJson, error)
public OneDashboardJson(string name, OneDashboardJsonArgs args, CustomResourceOptions? opts = null)
public OneDashboardJson(String name, OneDashboardJsonArgs args)
public OneDashboardJson(String name, OneDashboardJsonArgs args, CustomResourceOptions options)
type: newrelic:OneDashboardJson
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OneDashboardJsonArgs
- 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 OneDashboardJsonArgs
- 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 OneDashboardJsonArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OneDashboardJsonArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OneDashboardJsonArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
OneDashboardJson 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 OneDashboardJson resource accepts the following input properties:
- Json string
The JSON export of a dashboard. The JSON can be exported from the UI
- Account
Id int The New Relic account ID where you want to create the dashboard.
- Json string
The JSON export of a dashboard. The JSON can be exported from the UI
- Account
Id int The New Relic account ID where you want to create the dashboard.
- json String
The JSON export of a dashboard. The JSON can be exported from the UI
- account
Id Integer The New Relic account ID where you want to create the dashboard.
- json string
The JSON export of a dashboard. The JSON can be exported from the UI
- account
Id number The New Relic account ID where you want to create the dashboard.
- json str
The JSON export of a dashboard. The JSON can be exported from the UI
- account_
id int The New Relic account ID where you want to create the dashboard.
- json String
The JSON export of a dashboard. The JSON can be exported from the UI
- account
Id Number The New Relic account ID where you want to create the dashboard.
Outputs
All input properties are implicitly available as output properties. Additionally, the OneDashboardJson resource produces the following output properties:
- guid str
The unique entity identifier of the dashboard in New Relic.
- id str
The provider-assigned unique ID for this managed resource.
- permalink str
The URL for viewing the dashboard.
- updated_
at str The date and time when the dashboard was last updated.
Look up Existing OneDashboardJson Resource
Get an existing OneDashboardJson 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?: OneDashboardJsonState, opts?: CustomResourceOptions): OneDashboardJson
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[int] = None,
guid: Optional[str] = None,
json: Optional[str] = None,
permalink: Optional[str] = None,
updated_at: Optional[str] = None) -> OneDashboardJson
func GetOneDashboardJson(ctx *Context, name string, id IDInput, state *OneDashboardJsonState, opts ...ResourceOption) (*OneDashboardJson, error)
public static OneDashboardJson Get(string name, Input<string> id, OneDashboardJsonState? state, CustomResourceOptions? opts = null)
public static OneDashboardJson get(String name, Output<String> id, OneDashboardJsonState 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 The New Relic account ID where you want to create the dashboard.
- Guid string
The unique entity identifier of the dashboard in New Relic.
- Json string
The JSON export of a dashboard. The JSON can be exported from the UI
- Permalink string
The URL for viewing the dashboard.
- Updated
At string The date and time when the dashboard was last updated.
- Account
Id int The New Relic account ID where you want to create the dashboard.
- Guid string
The unique entity identifier of the dashboard in New Relic.
- Json string
The JSON export of a dashboard. The JSON can be exported from the UI
- Permalink string
The URL for viewing the dashboard.
- Updated
At string The date and time when the dashboard was last updated.
- account
Id Integer The New Relic account ID where you want to create the dashboard.
- guid String
The unique entity identifier of the dashboard in New Relic.
- json String
The JSON export of a dashboard. The JSON can be exported from the UI
- permalink String
The URL for viewing the dashboard.
- updated
At String The date and time when the dashboard was last updated.
- account
Id number The New Relic account ID where you want to create the dashboard.
- guid string
The unique entity identifier of the dashboard in New Relic.
- json string
The JSON export of a dashboard. The JSON can be exported from the UI
- permalink string
The URL for viewing the dashboard.
- updated
At string The date and time when the dashboard was last updated.
- account_
id int The New Relic account ID where you want to create the dashboard.
- guid str
The unique entity identifier of the dashboard in New Relic.
- json str
The JSON export of a dashboard. The JSON can be exported from the UI
- permalink str
The URL for viewing the dashboard.
- updated_
at str The date and time when the dashboard was last updated.
- account
Id Number The New Relic account ID where you want to create the dashboard.
- guid String
The unique entity identifier of the dashboard in New Relic.
- json String
The JSON export of a dashboard. The JSON can be exported from the UI
- permalink String
The URL for viewing the dashboard.
- updated
At String The date and time when the dashboard was last updated.
Package Details
- Repository
- New Relic pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
newrelic
Terraform Provider.