UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

202 lines (201 loc) 5.79 kB
import * as pulumi from "@pulumi/pulumi"; /** * Resource for a Harness Custom Dashboard. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const dashboard = new harness.platform.Dashboards("dashboard", { * dashboardId: "111", * description: "dashboard_tag", * resourceIdentifier: "999", * title: "Dashboard Title", * }); * ``` */ export declare class Dashboards extends pulumi.CustomResource { /** * Get an existing Dashboards 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<pulumi.ID>, state?: DashboardsState, opts?: pulumi.CustomResourceOptions): Dashboards; /** * Returns true if the given object is an instance of Dashboards. 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 Dashboards; /** * Created at timestamp of the Dashboard. */ readonly createdAt: pulumi.Output<string>; /** * Unique identifier of the Template Dashboard to create from. */ readonly dashboardId: pulumi.Output<string>; /** * Data Sources within the Dashboard. */ readonly dataSources: pulumi.Output<string[]>; /** * Description of the Dashboard. */ readonly description: pulumi.Output<string | undefined>; /** * Favorite count of the dashboard. */ readonly favoriteCount: pulumi.Output<number>; /** * The Folder ID that the Dashboard belongs to. */ readonly folderId: pulumi.Output<string | undefined>; /** * Last accessed at timestamp of the Dashboard. */ readonly lastAccessedAt: pulumi.Output<string>; /** * Data Models within the Dashboard. */ readonly models: pulumi.Output<string[]>; /** * Name of the Dashboard. */ readonly name: pulumi.Output<string>; /** * The Folder ID that the Dashboard belongs to. */ readonly resourceIdentifier: pulumi.Output<string>; /** * Title of the Dashboard. */ readonly title: pulumi.Output<string | undefined>; /** * Type of the dashboard. */ readonly type: pulumi.Output<string>; /** * View count of the dashboard. */ readonly viewCount: pulumi.Output<number>; /** * Create a Dashboards 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: DashboardsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Dashboards resources. */ export interface DashboardsState { /** * Created at timestamp of the Dashboard. */ createdAt?: pulumi.Input<string>; /** * Unique identifier of the Template Dashboard to create from. */ dashboardId?: pulumi.Input<string>; /** * Data Sources within the Dashboard. */ dataSources?: pulumi.Input<pulumi.Input<string>[]>; /** * Description of the Dashboard. */ description?: pulumi.Input<string>; /** * Favorite count of the dashboard. */ favoriteCount?: pulumi.Input<number>; /** * The Folder ID that the Dashboard belongs to. */ folderId?: pulumi.Input<string>; /** * Last accessed at timestamp of the Dashboard. */ lastAccessedAt?: pulumi.Input<string>; /** * Data Models within the Dashboard. */ models?: pulumi.Input<pulumi.Input<string>[]>; /** * Name of the Dashboard. */ name?: pulumi.Input<string>; /** * The Folder ID that the Dashboard belongs to. */ resourceIdentifier?: pulumi.Input<string>; /** * Title of the Dashboard. */ title?: pulumi.Input<string>; /** * Type of the dashboard. */ type?: pulumi.Input<string>; /** * View count of the dashboard. */ viewCount?: pulumi.Input<number>; } /** * The set of arguments for constructing a Dashboards resource. */ export interface DashboardsArgs { /** * Created at timestamp of the Dashboard. */ createdAt?: pulumi.Input<string>; /** * Unique identifier of the Template Dashboard to create from. */ dashboardId: pulumi.Input<string>; /** * Data Sources within the Dashboard. */ dataSources?: pulumi.Input<pulumi.Input<string>[]>; /** * Description of the Dashboard. */ description?: pulumi.Input<string>; /** * The Folder ID that the Dashboard belongs to. */ folderId?: pulumi.Input<string>; /** * Data Models within the Dashboard. */ models?: pulumi.Input<pulumi.Input<string>[]>; /** * Name of the Dashboard. */ name?: pulumi.Input<string>; /** * The Folder ID that the Dashboard belongs to. */ resourceIdentifier: pulumi.Input<string>; /** * Title of the Dashboard. */ title?: pulumi.Input<string>; /** * Type of the dashboard. */ type?: pulumi.Input<string>; /** * View count of the dashboard. */ viewCount?: pulumi.Input<number>; }