UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

71 lines (70 loc) 2.19 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", * }); * ``` */ /** @deprecated grafana.index/getoncallschedule.getOncallSchedule has been deprecated in favor of grafana.oncall/getschedule.getSchedule */ export declare function getOncallSchedule(args: GetOncallScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallScheduleResult>; /** * A collection of arguments for invoking getOncallSchedule. */ export interface GetOncallScheduleArgs { /** * The schedule name. */ name: string; } /** * A collection of values returned by getOncallSchedule. */ export interface GetOncallScheduleResult { /** * 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", * }); * ``` */ /** @deprecated grafana.index/getoncallschedule.getOncallSchedule has been deprecated in favor of grafana.oncall/getschedule.getSchedule */ export declare function getOncallScheduleOutput(args: GetOncallScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOncallScheduleResult>; /** * A collection of arguments for invoking getOncallSchedule. */ export interface GetOncallScheduleOutputArgs { /** * The schedule name. */ name: pulumi.Input<string>; }