UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

54 lines 1.85 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.getAlertSamplesOutput = exports.getAlertSamples = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of vmp alert samples * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.vmp.getAlertSamples({ * alertId: "695257b0d00908b4e7511fe4", * limit: 100, * sampleSince: 1766851200, * sampleUntil: 1767006860, * }); * ``` */ function getAlertSamples(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:vmp/getAlertSamples:getAlertSamples", { "alertId": args.alertId, "limit": args.limit, "sampleSince": args.sampleSince, "sampleUntil": args.sampleUntil, }, opts); } exports.getAlertSamples = getAlertSamples; /** * Use this data source to query detailed information of vmp alert samples * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.vmp.getAlertSamples({ * alertId: "695257b0d00908b4e7511fe4", * limit: 100, * sampleSince: 1766851200, * sampleUntil: 1767006860, * }); * ``` */ function getAlertSamplesOutput(args, opts) { return pulumi.output(args).apply((a) => getAlertSamples(a, opts)); } exports.getAlertSamplesOutput = getAlertSamplesOutput; //# sourceMappingURL=getAlertSamples.js.map