1. Packages
  2. New Relic
  3. API Docs
  4. OneDashboardJson
New Relic v5.22.0 published on Wednesday, Mar 27, 2024 by Pulumi

newrelic.OneDashboardJson

Explore with Pulumi AI

newrelic logo
New Relic v5.22.0 published on Wednesday, Mar 27, 2024 by Pulumi

    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
    AccountId int
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    Json string
    The JSON export of a dashboard. The JSON can be exported from the UI
    AccountId int
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    json String
    The JSON export of a dashboard. The JSON can be exported from the UI
    accountId Integer
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    json string
    The JSON export of a dashboard. The JSON can be exported from the UI
    accountId number
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    json str
    The JSON export of a dashboard. The JSON can be exported from the UI
    account_id int
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    json String
    The JSON export of a dashboard. The JSON can be exported from the UI
    accountId Number
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.

    Outputs

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

    Guid string
    The unique entity identifier of the dashboard in New Relic.
    Id string
    The provider-assigned unique ID for this managed resource.
    Permalink string
    The URL for viewing the dashboard.
    UpdatedAt string
    The date and time when the dashboard was last updated.
    Guid string
    The unique entity identifier of the dashboard in New Relic.
    Id string
    The provider-assigned unique ID for this managed resource.
    Permalink string
    The URL for viewing the dashboard.
    UpdatedAt string
    The date and time when the dashboard was last updated.
    guid String
    The unique entity identifier of the dashboard in New Relic.
    id String
    The provider-assigned unique ID for this managed resource.
    permalink String
    The URL for viewing the dashboard.
    updatedAt String
    The date and time when the dashboard was last updated.
    guid string
    The unique entity identifier of the dashboard in New Relic.
    id string
    The provider-assigned unique ID for this managed resource.
    permalink string
    The URL for viewing the dashboard.
    updatedAt string
    The date and time when the dashboard was last updated.
    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.
    guid String
    The unique entity identifier of the dashboard in New Relic.
    id String
    The provider-assigned unique ID for this managed resource.
    permalink String
    The URL for viewing the dashboard.
    updatedAt String
    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.
    The following state arguments are supported:
    AccountId int
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    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.
    UpdatedAt string
    The date and time when the dashboard was last updated.
    AccountId int
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    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.
    UpdatedAt string
    The date and time when the dashboard was last updated.
    accountId Integer
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    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.
    updatedAt String
    The date and time when the dashboard was last updated.
    accountId number
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    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.
    updatedAt string
    The date and time when the dashboard was last updated.
    account_id int
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    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.
    accountId Number
    Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
    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.
    updatedAt 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.
    newrelic logo
    New Relic v5.22.0 published on Wednesday, Mar 27, 2024 by Pulumi