UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

69 lines (68 loc) 1.83 kB
import * as pulumi from "@pulumi/pulumi"; /** * * [Official documentation](https://grafana.com/docs/oncall/latest/manage/on-call-schedules/) * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const schedule = grafana.onCall.getSchedule({ * name: "example_schedule", * }); * ``` */ export declare function getSchedule(args: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduleResult>; /** * A collection of arguments for invoking getSchedule. */ export interface GetScheduleArgs { /** * The schedule name. */ name: string; } /** * A collection of values returned by getSchedule. */ export interface GetScheduleResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The schedule name. */ readonly name: string; /** * The schedule type. */ readonly type: string; } /** * * [Official documentation](https://grafana.com/docs/oncall/latest/manage/on-call-schedules/) * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const schedule = grafana.onCall.getSchedule({ * name: "example_schedule", * }); * ``` */ export declare function getScheduleOutput(args: GetScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduleResult>; /** * A collection of arguments for invoking getSchedule. */ export interface GetScheduleOutputArgs { /** * The schedule name. */ name: pulumi.Input<string>; }