UNPKG

@lbrlabs/pulumi-grafana

Version:

A Pulumi package for creating and managing grafana.

109 lines (108 loc) 2.97 kB
import * as pulumi from "@pulumi/pulumi"; /** * Data source for retrieving a single library panel by name or uid. */ export declare function getLibraryPanel(args?: GetLibraryPanelArgs, opts?: pulumi.InvokeOptions): Promise<GetLibraryPanelResult>; /** * A collection of arguments for invoking getLibraryPanel. */ export interface GetLibraryPanelArgs { /** * Name of the library panel. */ name?: string; /** * The Organization ID. If not set, the Org ID defined in the provider block will be used. */ orgId?: string; /** * The unique identifier (UID) of the library panel. */ uid?: string; } /** * A collection of values returned by getLibraryPanel. */ export interface GetLibraryPanelResult { /** * Timestamp when the library panel was created. */ readonly created: string; /** * Numerical IDs of Grafana dashboards containing the library panel. */ readonly dashboardIds: number[]; /** * Description of the library panel. */ readonly description: string; /** * ID of the folder where the library panel is stored. */ readonly folderId: string; /** * Name of the folder containing the library panel. */ readonly folderName: string; /** * Unique ID (UID) of the folder containing the library panel. */ readonly folderUid: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The JSON model for the library panel. */ readonly modelJson: string; /** * Name of the library panel. */ readonly name?: string; /** * The Organization ID. If not set, the Org ID defined in the provider block will be used. */ readonly orgId?: string; /** * The numeric ID of the library panel computed by Grafana. */ readonly panelId: number; /** * Type of the library panel (eg. text). */ readonly type: string; /** * The unique identifier (UID) of the library panel. */ readonly uid?: string; /** * Timestamp when the library panel was last modified. */ readonly updated: string; /** * Version of the library panel. */ readonly version: number; } /** * Data source for retrieving a single library panel by name or uid. */ export declare function getLibraryPanelOutput(args?: GetLibraryPanelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLibraryPanelResult>; /** * A collection of arguments for invoking getLibraryPanel. */ export interface GetLibraryPanelOutputArgs { /** * Name of the library panel. */ name?: pulumi.Input<string>; /** * The Organization ID. If not set, the Org ID defined in the provider block will be used. */ orgId?: pulumi.Input<string>; /** * The unique identifier (UID) of the library panel. */ uid?: pulumi.Input<string>; }