UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

65 lines (64 loc) 2.1 kB
import * as pulumi from "@pulumi/pulumi"; /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const _default = grafana.onCall.getEscalationChain({ * name: "default", * }); * ``` */ /** @deprecated grafana.index/getoncallescalationchain.getOncallEscalationChain has been deprecated in favor of grafana.oncall/getescalationchain.getEscalationChain */ export declare function getOncallEscalationChain(args: GetOncallEscalationChainArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallEscalationChainResult>; /** * A collection of arguments for invoking getOncallEscalationChain. */ export interface GetOncallEscalationChainArgs { /** * The escalation chain name. */ name: string; } /** * A collection of values returned by getOncallEscalationChain. */ export interface GetOncallEscalationChainResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The escalation chain name. */ readonly name: string; } /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const _default = grafana.onCall.getEscalationChain({ * name: "default", * }); * ``` */ /** @deprecated grafana.index/getoncallescalationchain.getOncallEscalationChain has been deprecated in favor of grafana.oncall/getescalationchain.getEscalationChain */ export declare function getOncallEscalationChainOutput(args: GetOncallEscalationChainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOncallEscalationChainResult>; /** * A collection of arguments for invoking getOncallEscalationChain. */ export interface GetOncallEscalationChainOutputArgs { /** * The escalation chain name. */ name: pulumi.Input<string>; }