UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

99 lines (98 loc) 3.15 kB
import * as pulumi from "@pulumi/pulumi"; /** * Manages a k6 project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumiverse/grafana"; * * const testProject = new grafana.k6.Project("test_project", {name: "Terraform Test Project"}); * ``` * * ## Import * * ```sh * terraform import grafana_k6_project.name "{{ id }}" * ``` */ export declare class Project extends pulumi.CustomResource { /** * Get an existing Project 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?: ProjectState, opts?: pulumi.CustomResourceOptions): Project; /** * Returns true if the given object is an instance of Project. 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 Project; /** * The date when the project was created. */ readonly created: pulumi.Output<string>; /** * The Grafana folder uid. */ readonly grafanaFolderUid: pulumi.Output<string>; /** * Use this project as default for running tests when no explicit project identifier is provided. */ readonly isDefault: pulumi.Output<boolean>; /** * Human-friendly identifier of the project. */ readonly name: pulumi.Output<string>; /** * The date when the project was last updated. */ readonly updated: pulumi.Output<string>; /** * Create a Project 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?: ProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Project resources. */ export interface ProjectState { /** * The date when the project was created. */ created?: pulumi.Input<string>; /** * The Grafana folder uid. */ grafanaFolderUid?: pulumi.Input<string>; /** * Use this project as default for running tests when no explicit project identifier is provided. */ isDefault?: pulumi.Input<boolean>; /** * Human-friendly identifier of the project. */ name?: pulumi.Input<string>; /** * The date when the project was last updated. */ updated?: pulumi.Input<string>; } /** * The set of arguments for constructing a Project resource. */ export interface ProjectArgs { /** * Human-friendly identifier of the project. */ name?: pulumi.Input<string>; }