@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
54 lines • 2.47 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getOncallIntegrationOutput = exports.getOncallIntegration = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const exampleIntegration = grafana.onCall.getIntegration({
* id: "CEXAMPLEID123",
* });
* ```
*/
/** @deprecated grafana.index/getoncallintegration.getOncallIntegration has been deprecated in favor of grafana.oncall/getintegration.getIntegration */
function getOncallIntegration(args, opts) {
pulumi.log.warn("getOncallIntegration is deprecated: grafana.index/getoncallintegration.getOncallIntegration has been deprecated in favor of grafana.oncall/getintegration.getIntegration");
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("grafana:index/getOncallIntegration:getOncallIntegration", {
"id": args.id,
}, opts);
}
exports.getOncallIntegration = getOncallIntegration;
/**
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/integrations/)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const exampleIntegration = grafana.onCall.getIntegration({
* id: "CEXAMPLEID123",
* });
* ```
*/
/** @deprecated grafana.index/getoncallintegration.getOncallIntegration has been deprecated in favor of grafana.oncall/getintegration.getIntegration */
function getOncallIntegrationOutput(args, opts) {
pulumi.log.warn("getOncallIntegration is deprecated: grafana.index/getoncallintegration.getOncallIntegration has been deprecated in favor of grafana.oncall/getintegration.getIntegration");
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("grafana:index/getOncallIntegration:getOncallIntegration", {
"id": args.id,
}, opts);
}
exports.getOncallIntegrationOutput = getOncallIntegrationOutput;
//# sourceMappingURL=getOncallIntegration.js.map