UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

36 lines 1.32 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.getVolumeOutput = exports.getVolume = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Gets information about an instance volume. */ function getVolume(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:instance/getVolume:getVolume", { "name": args.name, "projectId": args.projectId, "volumeId": args.volumeId, "zone": args.zone, }, opts); } exports.getVolume = getVolume; /** * Gets information about an instance volume. */ function getVolumeOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:instance/getVolume:getVolume", { "name": args.name, "projectId": args.projectId, "volumeId": args.volumeId, "zone": args.zone, }, opts); } exports.getVolumeOutput = getVolumeOutput; //# sourceMappingURL=getVolume.js.map