@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
52 lines • 1.83 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getScheduleOutput = exports.getSchedule = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* * [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 "@pulumiverse/grafana";
*
* const schedule = grafana.onCall.getSchedule({
* name: "example_schedule",
* });
* ```
*/
function getSchedule(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("grafana:onCall/getSchedule:getSchedule", {
"name": args.name,
}, opts);
}
exports.getSchedule = getSchedule;
/**
* * [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 "@pulumiverse/grafana";
*
* const schedule = grafana.onCall.getSchedule({
* name: "example_schedule",
* });
* ```
*/
function getScheduleOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("grafana:onCall/getSchedule:getSchedule", {
"name": args.name,
}, opts);
}
exports.getScheduleOutput = getScheduleOutput;
//# sourceMappingURL=getSchedule.js.map