UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

81 lines (80 loc) 2.05 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieves a k6 project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumiverse/grafana"; * * const test = new grafana.k6.Project("test", {name: "Terraform Test Project"}); * const fromId = grafana.k6.getProjectOutput({ * id: test.id, * }); * ``` */ export declare function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>; /** * A collection of arguments for invoking getProject. */ export interface GetProjectArgs { /** * Numeric identifier of the project. */ id: string; } /** * A collection of values returned by getProject. */ export interface GetProjectResult { /** * The date when the project was created. */ readonly created: string; /** * The Grafana folder uid. */ readonly grafanaFolderUid: string; /** * Numeric identifier of the project. */ readonly id: string; /** * Whether this project is the default for running tests when no explicit project identifier is provided. */ readonly isDefault: boolean; /** * Human-friendly identifier of the project. */ readonly name: string; /** * The date when the project was last updated. */ readonly updated: string; } /** * Retrieves a k6 project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumiverse/grafana"; * * const test = new grafana.k6.Project("test", {name: "Terraform Test Project"}); * const fromId = grafana.k6.getProjectOutput({ * id: test.id, * }); * ``` */ export declare function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult>; /** * A collection of arguments for invoking getProject. */ export interface GetProjectOutputArgs { /** * Numeric identifier of the project. */ id: pulumi.Input<string>; }