1. Packages
  2. Chronosphere
  3. API Docs
  4. Dashboard
Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere

chronosphere.Dashboard

Explore with Pulumi AI

chronosphere logo
Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere

    Create Dashboard Resource

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

    Constructor syntax

    new Dashboard(name: string, args: DashboardArgs, opts?: CustomResourceOptions);
    @overload
    def Dashboard(resource_name: str,
                  args: DashboardArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Dashboard(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  dashboard_json: Optional[str] = None,
                  collection_id: Optional[str] = None,
                  name: Optional[str] = None,
                  slug: Optional[str] = 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: chronosphere:Dashboard
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    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.

    Constructor example

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

    var dashboardResource = new Pulumi.Dashboard("dashboardResource", new()
    {
        DashboardJson = "string",
        CollectionId = "string",
        Name = "string",
        Slug = "string",
    });
    
    example, err := chronosphere.NewDashboard(ctx, "dashboardResource", &chronosphere.DashboardArgs{
    	DashboardJson: pulumi.String("string"),
    	CollectionId:  pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	Slug:          pulumi.String("string"),
    })
    
    var dashboardResource = new Dashboard("dashboardResource", DashboardArgs.builder()
        .dashboardJson("string")
        .collectionId("string")
        .name("string")
        .slug("string")
        .build());
    
    dashboard_resource = chronosphere.Dashboard("dashboardResource",
        dashboard_json="string",
        collection_id="string",
        name="string",
        slug="string")
    
    const dashboardResource = new chronosphere.Dashboard("dashboardResource", {
        dashboardJson: "string",
        collectionId: "string",
        name: "string",
        slug: "string",
    });
    
    type: chronosphere:Dashboard
    properties:
        collectionId: string
        dashboardJson: string
        name: string
        slug: string
    

    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:

    DashboardJson string
    CollectionId string
    Name string
    Slug string
    DashboardJson string
    CollectionId string
    Name string
    Slug string
    dashboardJson String
    collectionId String
    name String
    slug String
    dashboardJson string
    collectionId string
    name string
    slug string
    dashboardJson String
    collectionId String
    name String
    slug String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Dashboard 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 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,
            collection_id: Optional[str] = None,
            dashboard_json: Optional[str] = None,
            name: Optional[str] = None,
            slug: Optional[str] = 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.
    The following state arguments are supported:
    CollectionId string
    DashboardJson string
    Name string
    Slug string
    CollectionId string
    DashboardJson string
    Name string
    Slug string
    collectionId String
    dashboardJson String
    name String
    slug String
    collectionId string
    dashboardJson string
    name string
    slug string
    collectionId String
    dashboardJson String
    name String
    slug String

    Package Details

    Repository
    chronosphere chronosphereio/pulumi-chronosphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the chronosphere Terraform Provider.
    chronosphere logo
    Chronosphere v0.9.2 published on Monday, Sep 9, 2024 by Chronosphere