UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

67 lines (66 loc) 1.58 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumiverse/grafana"; * * const myTeam = grafana.oss.getTeam({ * name: "my team", * }); * const myTeamGetTeam = myTeam.then(myTeam => grafana.onCall.getTeam({ * name: myTeam.name, * })); * ``` */ export declare function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamResult>; /** * A collection of arguments for invoking getTeam. */ export interface GetTeamArgs { /** * The team name. */ name: string; } /** * A collection of values returned by getTeam. */ export interface GetTeamResult { readonly avatarUrl: string; readonly email: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The team name. */ readonly name: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumiverse/grafana"; * * const myTeam = grafana.oss.getTeam({ * name: "my team", * }); * const myTeamGetTeam = myTeam.then(myTeam => grafana.onCall.getTeam({ * name: myTeam.name, * })); * ``` */ export declare function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTeamResult>; /** * A collection of arguments for invoking getTeam. */ export interface GetTeamOutputArgs { /** * The team name. */ name: pulumi.Input<string>; }