@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
67 lines (66 loc) • 1.77 kB
TypeScript
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.onCall.getSlackChannel({
* name: "example_slack_channel",
* });
* ```
*/
export declare function getSlackChannel(args: GetSlackChannelArgs, opts?: pulumi.InvokeOptions): Promise<GetSlackChannelResult>;
/**
* A collection of arguments for invoking getSlackChannel.
*/
export interface GetSlackChannelArgs {
/**
* The Slack channel name.
*/
name: string;
}
/**
* A collection of values returned by getSlackChannel.
*/
export interface GetSlackChannelResult {
/**
* 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.onCall.getSlackChannel({
* name: "example_slack_channel",
* });
* ```
*/
export declare function getSlackChannelOutput(args: GetSlackChannelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSlackChannelResult>;
/**
* A collection of arguments for invoking getSlackChannel.
*/
export interface GetSlackChannelOutputArgs {
/**
* The Slack channel name.
*/
name: pulumi.Input<string>;
}