@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
52 lines • 2.1 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.getNgwafAlertOpsgenieIntegrationOutput = exports.getNgwafAlertOpsgenieIntegration = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to get a Fastly Next-Gen WAF Alert Opsgenie integration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const ngwafOpsgenieAlerts = fastly.getNgwafAlertOpsgenieIntegration({
* workspaceId: testRedactionsWorkspace.id,
* });
* export const ngwafOpsgenieAlertsAll = opsgenieAlerts;
* ```
*/
function getNgwafAlertOpsgenieIntegration(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("fastly:index/getNgwafAlertOpsgenieIntegration:getNgwafAlertOpsgenieIntegration", {
"workspaceId": args.workspaceId,
}, opts);
}
exports.getNgwafAlertOpsgenieIntegration = getNgwafAlertOpsgenieIntegration;
/**
* Use this data source to get a Fastly Next-Gen WAF Alert Opsgenie integration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const ngwafOpsgenieAlerts = fastly.getNgwafAlertOpsgenieIntegration({
* workspaceId: testRedactionsWorkspace.id,
* });
* export const ngwafOpsgenieAlertsAll = opsgenieAlerts;
* ```
*/
function getNgwafAlertOpsgenieIntegrationOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("fastly:index/getNgwafAlertOpsgenieIntegration:getNgwafAlertOpsgenieIntegration", {
"workspaceId": args.workspaceId,
}, opts);
}
exports.getNgwafAlertOpsgenieIntegrationOutput = getNgwafAlertOpsgenieIntegrationOutput;
//# sourceMappingURL=getNgwafAlertOpsgenieIntegration.js.map