@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
62 lines (61 loc) • 1.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const test = grafana.cloud.getOrganization({
* slug: "my-org",
* });
* ```
*/
export declare function getOrganization(args?: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
/**
* A collection of arguments for invoking getOrganization.
*/
export interface GetOrganizationArgs {
/**
* The ID of this resource.
*/
id?: string;
slug?: string;
}
/**
* A collection of values returned by getOrganization.
*/
export interface GetOrganizationResult {
readonly createdAt: string;
/**
* The ID of this resource.
*/
readonly id: string;
readonly name: string;
readonly slug: string;
readonly updatedAt: string;
readonly url: string;
}
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const test = grafana.cloud.getOrganization({
* slug: "my-org",
* });
* ```
*/
export declare function getOrganizationOutput(args?: GetOrganizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationResult>;
/**
* A collection of arguments for invoking getOrganization.
*/
export interface GetOrganizationOutputArgs {
/**
* The ID of this resource.
*/
id?: pulumi.Input<string>;
slug?: pulumi.Input<string>;
}