import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see Managing dashboards by API (https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the monitoring.dashboards.create permission on the specified project. For more information about permissions, see Cloud Identity and Access Management (https://cloud.google.com/iam). */ export declare class Dashboard extends pulumi.CustomResource { /** * Get an existing Dashboard 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Dashboard; /** * Returns true if the given object is an instance of Dashboard. 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 Dashboard; /** * The content is divided into equally spaced columns and the widgets are arranged vertically. */ readonly columnLayout: pulumi.Output; /** * Filters to reduce the amount of data charted based on the filter criteria. */ readonly dashboardFilters: pulumi.Output; /** * The mutable, human-readable name. */ readonly displayName: pulumi.Output; /** * etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An etag is returned in the response to GetDashboard, and users are expected to put that etag in the request to UpdateDashboard to ensure that their change will be applied to the same version of the Dashboard configuration. The field should not be passed during dashboard creation. */ readonly etag: pulumi.Output; /** * Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles. */ readonly gridLayout: pulumi.Output; /** * Labels applied to the dashboard */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks. */ readonly mosaicLayout: pulumi.Output; /** * Immutable. The resource name of the dashboard. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The content is divided into equally spaced rows and the widgets are arranged horizontally. */ readonly rowLayout: pulumi.Output; /** * Create a Dashboard 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: DashboardArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Dashboard resource. */ export interface DashboardArgs { /** * The content is divided into equally spaced columns and the widgets are arranged vertically. */ columnLayout?: pulumi.Input; /** * Filters to reduce the amount of data charted based on the filter criteria. */ dashboardFilters?: pulumi.Input[]>; /** * The mutable, human-readable name. */ displayName: pulumi.Input; /** * etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An etag is returned in the response to GetDashboard, and users are expected to put that etag in the request to UpdateDashboard to ensure that their change will be applied to the same version of the Dashboard configuration. The field should not be passed during dashboard creation. */ etag?: pulumi.Input; /** * Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles. */ gridLayout?: pulumi.Input; /** * Labels applied to the dashboard */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks. */ mosaicLayout?: pulumi.Input; /** * Immutable. The resource name of the dashboard. */ name?: pulumi.Input; project?: pulumi.Input; /** * The content is divided into equally spaced rows and the widgets are arranged horizontally. */ rowLayout?: pulumi.Input; }