UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

63 lines (62 loc) 1.77 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 "@pulumiverse/grafana"; * * const exampleOutgoingWebhook = grafana.onCall.getOutgoingWebhook({ * name: "example_outgoing_webhook", * }); * ``` */ export declare function getOutgoingWebhook(args: GetOutgoingWebhookArgs, opts?: pulumi.InvokeOptions): Promise<GetOutgoingWebhookResult>; /** * A collection of arguments for invoking getOutgoingWebhook. */ export interface GetOutgoingWebhookArgs { /** * The outgoing webhook name. */ name: string; } /** * A collection of values returned by getOutgoingWebhook. */ export interface GetOutgoingWebhookResult { /** * 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 "@pulumiverse/grafana"; * * const exampleOutgoingWebhook = grafana.onCall.getOutgoingWebhook({ * name: "example_outgoing_webhook", * }); * ``` */ export declare function getOutgoingWebhookOutput(args: GetOutgoingWebhookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOutgoingWebhookResult>; /** * A collection of arguments for invoking getOutgoingWebhook. */ export interface GetOutgoingWebhookOutputArgs { /** * The outgoing webhook name. */ name: pulumi.Input<string>; }