UNPKG

@lbrlabs/pulumi-grafana

Version:

A Pulumi package for creating and managing grafana.

67 lines (66 loc) 1.83 kB
import * as pulumi from "@pulumi/pulumi"; /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const exampleSlackChannel = grafana.getOnCallSlackChannel({ * name: "example_slack_channel", * }); * ``` */ export declare function getOnCallSlackChannel(args: GetOnCallSlackChannelArgs, opts?: pulumi.InvokeOptions): Promise<GetOnCallSlackChannelResult>; /** * A collection of arguments for invoking getOnCallSlackChannel. */ export interface GetOnCallSlackChannelArgs { /** * The Slack channel name. */ name: string; } /** * A collection of values returned by getOnCallSlackChannel. */ export interface GetOnCallSlackChannelResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Slack channel name. */ readonly name: string; /** * The Slack ID of the channel. */ readonly slackId: string; } /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const exampleSlackChannel = grafana.getOnCallSlackChannel({ * name: "example_slack_channel", * }); * ``` */ export declare function getOnCallSlackChannelOutput(args: GetOnCallSlackChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOnCallSlackChannelResult>; /** * A collection of arguments for invoking getOnCallSlackChannel. */ export interface GetOnCallSlackChannelOutputArgs { /** * The Slack channel name. */ name: pulumi.Input<string>; }