@equinix-labs/pulumi-equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
38 lines • 1.99 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.getStreamAlertRuleOutput = exports.getStreamAlertRule = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Fabric V4 API compatible data source that allows user to fetch Equinix Fabric Stream Alert Rule by Stream Id and Alert Rule Id
*
* Additional Documentation:
* * Getting Started: https://docs.equinix.com/en-us/Content/KnowledgeCenter/Fabric/GettingStarted/Integrating-with-Fabric-V4-APIs/IntegrateWithSink.htm
* * API: https://developer.equinix.com/catalog/fabricv4#tag/Stream-Alert-Rules
*/
function getStreamAlertRule(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("equinix:fabric/getStreamAlertRule:getStreamAlertRule", {
"alertRuleId": args.alertRuleId,
"streamId": args.streamId,
}, opts);
}
exports.getStreamAlertRule = getStreamAlertRule;
/**
* Fabric V4 API compatible data source that allows user to fetch Equinix Fabric Stream Alert Rule by Stream Id and Alert Rule Id
*
* Additional Documentation:
* * Getting Started: https://docs.equinix.com/en-us/Content/KnowledgeCenter/Fabric/GettingStarted/Integrating-with-Fabric-V4-APIs/IntegrateWithSink.htm
* * API: https://developer.equinix.com/catalog/fabricv4#tag/Stream-Alert-Rules
*/
function getStreamAlertRuleOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("equinix:fabric/getStreamAlertRule:getStreamAlertRule", {
"alertRuleId": args.alertRuleId,
"streamId": args.streamId,
}, opts);
}
exports.getStreamAlertRuleOutput = getStreamAlertRuleOutput;
//# sourceMappingURL=getStreamAlertRule.js.map