import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog dashboardList resource. This can be used to create and manage Datadog Dashboard Lists and the individual dashboards within them. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const time = new datadog.Dashboard("time", { * title: "TF Test Layout Dashboard", * description: "Created using the Datadog provider in Pulumi", * layoutType: "ordered", * isReadOnly: true, * widgets: [{ * alertGraphDefinition: { * alertId: "1234", * vizType: "timeseries", * title: "Widget Title", * liveSpan: "1h", * }, * }], * }); * const screen = new datadog.Dashboard("screen", { * title: "TF Test Free Layout Dashboard", * description: "Created using the Datadog provider in Pulumi", * layoutType: "free", * isReadOnly: false, * widgets: [{ * eventStreamDefinition: { * query: "*", * eventSize: "l", * title: "Widget Title", * titleSize: "16", * titleAlign: "left", * liveSpan: "1h", * }, * widgetLayout: { * height: 43, * width: 32, * x: 5, * y: 5, * }, * }], * }); * // Create a new Dashboard List with two Dashboards * const newList = new datadog.DashboardList("new_list", { * name: "Terraform Created List", * dashItems: [ * { * type: "custom_timeboard", * dashId: time.id, * }, * { * type: "custom_screenboard", * dashId: screen.id, * }, * ], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/dashboardList:DashboardList new_list 123456 * ``` */ export declare class DashboardList extends pulumi.CustomResource { /** * Get an existing DashboardList resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DashboardListState, opts?: pulumi.CustomResourceOptions): DashboardList; /** * Returns true if the given object is an instance of DashboardList. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DashboardList; /** * A set of dashboard items that belong to this list */ readonly dashItems: pulumi.Output; /** * The name of the Dashboard List */ readonly name: pulumi.Output; /** * Create a DashboardList resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DashboardListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DashboardList resources. */ export interface DashboardListState { /** * A set of dashboard items that belong to this list */ dashItems?: pulumi.Input[]>; /** * The name of the Dashboard List */ name?: pulumi.Input; } /** * The set of arguments for constructing a DashboardList resource. */ export interface DashboardListArgs { /** * A set of dashboard items that belong to this list */ dashItems?: pulumi.Input[]>; /** * The name of the Dashboard List */ name: pulumi.Input; }