UNPKG

@lbrlabs/pulumi-grafana

Version:

A Pulumi package for creating and managing grafana.

63 lines (62 loc) 1.82 kB
import * as pulumi from "@pulumi/pulumi"; /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({ * name: "example_outgoing_webhook", * }); * ``` */ export declare function getOncallOutgoingWebhook(args: GetOncallOutgoingWebhookArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallOutgoingWebhookResult>; /** * A collection of arguments for invoking getOncallOutgoingWebhook. */ export interface GetOncallOutgoingWebhookArgs { /** * The outgoing webhook name. */ name: string; } /** * A collection of values returned by getOncallOutgoingWebhook. */ export interface GetOncallOutgoingWebhookResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The outgoing webhook name. */ readonly name: string; } /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({ * name: "example_outgoing_webhook", * }); * ``` */ export declare function getOncallOutgoingWebhookOutput(args: GetOncallOutgoingWebhookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallOutgoingWebhookResult>; /** * A collection of arguments for invoking getOncallOutgoingWebhook. */ export interface GetOncallOutgoingWebhookOutputArgs { /** * The outgoing webhook name. */ name: pulumi.Input<string>; }