UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

36 lines 1.6 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getRegionDiskOutput = exports.getRegionDisk = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get information about a Google Compute Regional Persistent disks. * * [the official documentation](https://cloud.google.com/compute/docs/disks) and its [API](https://cloud.google.com/compute/docs/reference/rest/v1/regionDisks). */ function getRegionDisk(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:compute/getRegionDisk:getRegionDisk", { "name": args.name, "project": args.project, "region": args.region, }, opts); } exports.getRegionDisk = getRegionDisk; /** * Get information about a Google Compute Regional Persistent disks. * * [the official documentation](https://cloud.google.com/compute/docs/disks) and its [API](https://cloud.google.com/compute/docs/reference/rest/v1/regionDisks). */ function getRegionDiskOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:compute/getRegionDisk:getRegionDisk", { "name": args.name, "project": args.project, "region": args.region, }, opts); } exports.getRegionDiskOutput = getRegionDiskOutput; //# sourceMappingURL=getRegionDisk.js.map