@lbrlabs/pulumi-grafana
Version:
A Pulumi package for creating and managing grafana.
69 lines (68 loc) • 1.89 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* * [Official documentation](https://grafana.com/docs/oncall/latest/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.getOncallSchedule({
* name: "example_schedule",
* });
* ```
*/
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/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.getOncallSchedule({
* name: "example_schedule",
* });
* ```
*/
export declare function getOncallScheduleOutput(args: GetOncallScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallScheduleResult>;
/**
* A collection of arguments for invoking getOncallSchedule.
*/
export interface GetOncallScheduleOutputArgs {
/**
* The schedule name.
*/
name: pulumi.Input<string>;
}