import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const test = datadog.getDashboardList({ * name: "My super list", * }); * // Create a dashboard and register it in the list above. * const time = new datadog.Dashboard("time", { * title: "TF Test Layout Dashboard", * description: "Created using the Datadog provider in Pulumi", * dashboardLists: [test.then(test => test.id)], * layoutType: "ordered", * isReadOnly: true, * widgets: [{ * alertGraphDefinition: { * alertId: "1234", * vizType: "timeseries", * title: "Widget Title", * liveSpan: "1h", * }, * }], * }); * ``` */ export declare function getDashboardList(args: GetDashboardListArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDashboardList. */ export interface GetDashboardListArgs { /** * A dashboard list name to limit the search. String length must be at least 1. */ name: string; } /** * A collection of values returned by getDashboardList. */ export interface GetDashboardListResult { /** * The ID of this resource. */ readonly id: string; /** * A dashboard list name to limit the search. String length must be at least 1. */ readonly name: string; } /** * Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const test = datadog.getDashboardList({ * name: "My super list", * }); * // Create a dashboard and register it in the list above. * const time = new datadog.Dashboard("time", { * title: "TF Test Layout Dashboard", * description: "Created using the Datadog provider in Pulumi", * dashboardLists: [test.then(test => test.id)], * layoutType: "ordered", * isReadOnly: true, * widgets: [{ * alertGraphDefinition: { * alertId: "1234", * vizType: "timeseries", * title: "Widget Title", * liveSpan: "1h", * }, * }], * }); * ``` */ export declare function getDashboardListOutput(args: GetDashboardListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDashboardList. */ export interface GetDashboardListOutputArgs { /** * A dashboard list name to limit the search. String length must be at least 1. */ name: pulumi.Input; }