@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
127 lines (126 loc) • 2.89 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a Harness Dashboard.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const dashboard = harness.platform.getDashboards({
* id: "id",
* });
* ```
*/
export declare function getDashboards(args: GetDashboardsArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardsResult>;
/**
* A collection of arguments for invoking getDashboards.
*/
export interface GetDashboardsArgs {
/**
* Identifier of the dashboard.
*/
id: string;
/**
* Unique identifier of the resource.
*/
identifier?: string;
/**
* Name of the resource.
*/
name?: string;
}
/**
* A collection of values returned by getDashboards.
*/
export interface GetDashboardsResult {
/**
* Created at timestamp of the Dashboard.
*/
readonly createdAt: string;
/**
* Unique identifier of the Dashboard.
*/
readonly dashboardId: string;
/**
* Data Sources within the Dashboard.
*/
readonly dataSources: string[];
/**
* Description of the resource.
*/
readonly description: string;
/**
* Unique identifier of the Folder.
*/
readonly folderId: string;
/**
* Identifier of the dashboard.
*/
readonly id: string;
/**
* Unique identifier of the resource.
*/
readonly identifier?: string;
/**
* Data Models within the Dashboard.
*/
readonly models: string[];
/**
* Name of the resource.
*/
readonly name?: string;
/**
* Resource identifier of the dashboard.
*/
readonly resourceIdentifier: string;
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
/**
* Title of the Dashboard.
*/
readonly title: string;
/**
* Resource identifier of the dashboard.
*/
readonly type: string;
/**
* View count of the dashboard.
*/
readonly viewCount: number;
}
/**
* Data source for retrieving a Harness Dashboard.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const dashboard = harness.platform.getDashboards({
* id: "id",
* });
* ```
*/
export declare function getDashboardsOutput(args: GetDashboardsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDashboardsResult>;
/**
* A collection of arguments for invoking getDashboards.
*/
export interface GetDashboardsOutputArgs {
/**
* Identifier of the dashboard.
*/
id: pulumi.Input<string>;
/**
* Unique identifier of the resource.
*/
identifier?: pulumi.Input<string>;
/**
* Name of the resource.
*/
name?: pulumi.Input<string>;
}