UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

63 lines (62 loc) 1.7 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const exampleTeam = grafana.onCall.getTeam({ * name: "example_team", * }); * ``` */ /** @deprecated grafana.index/getoncallteam.getOncallTeam has been deprecated in favor of grafana.oncall/getteam.getTeam */ export declare function getOncallTeam(args: GetOncallTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallTeamResult>; /** * A collection of arguments for invoking getOncallTeam. */ export interface GetOncallTeamArgs { /** * The team name. */ name: string; } /** * A collection of values returned by getOncallTeam. */ export interface GetOncallTeamResult { 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 "@pulumi/grafana"; * * const exampleTeam = grafana.onCall.getTeam({ * name: "example_team", * }); * ``` */ /** @deprecated grafana.index/getoncallteam.getOncallTeam has been deprecated in favor of grafana.oncall/getteam.getTeam */ export declare function getOncallTeamOutput(args: GetOncallTeamOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOncallTeamResult>; /** * A collection of arguments for invoking getOncallTeam. */ export interface GetOncallTeamOutputArgs { /** * The team name. */ name: pulumi.Input<string>; }