UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

54 lines 1.99 kB
"use strict"; // *** 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.alertsOutput = exports.alerts = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of vmp alerts * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vmp.getAlerts({ * ids: ["9a4f84-0868efcb795c2ac4-73cefd4b3263****"], * }); * ``` */ /** @deprecated volcengine.vmp.Alerts has been deprecated in favor of volcengine.vmp.getAlerts */ function alerts(args, opts) { pulumi.log.warn("alerts is deprecated: volcengine.vmp.Alerts has been deprecated in favor of volcengine.vmp.getAlerts"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:vmp/alerts:Alerts", { "alertingRuleIds": args.alertingRuleIds, "currentPhase": args.currentPhase, "desc": args.desc, "ids": args.ids, "level": args.level, "outputFile": args.outputFile, }, opts); } exports.alerts = alerts; /** * Use this data source to query detailed information of vmp alerts * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vmp.getAlerts({ * ids: ["9a4f84-0868efcb795c2ac4-73cefd4b3263****"], * }); * ``` */ /** @deprecated volcengine.vmp.Alerts has been deprecated in favor of volcengine.vmp.getAlerts */ function alertsOutput(args, opts) { return pulumi.output(args).apply((a) => alerts(a, opts)); } exports.alertsOutput = alertsOutput; //# sourceMappingURL=alerts.js.map