UNPKG

@pulumi/yandex

Version:

A Pulumi package for creating and managing yandex cloud resources.

29 lines 1.24 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.getComputeSnapshotOutput = exports.getComputeSnapshot = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Get information about a Yandex Compute snapshot. For more information, see * [the official documentation](https://cloud.yandex.com/docs/compute/concepts/snapshot). */ function getComputeSnapshot(args, opts) { args = args || {}; if (!opts) { opts = {}; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); return pulumi.runtime.invoke("yandex:index/getComputeSnapshot:getComputeSnapshot", { "folderId": args.folderId, "name": args.name, "snapshotId": args.snapshotId, }, opts); } exports.getComputeSnapshot = getComputeSnapshot; function getComputeSnapshotOutput(args, opts) { return pulumi.output(args).apply(a => getComputeSnapshot(a, opts)); } exports.getComputeSnapshotOutput = getComputeSnapshotOutput; //# sourceMappingURL=getComputeSnapshot.js.map