UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

42 lines 1.64 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.getVolumesOutput = exports.getVolumes = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query the detailed information list of the EVS disks within HuaweiCloud. */ function getVolumes(args, opts) { args = args || {}; if (!opts) { opts = {}; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); return pulumi.runtime.invoke("huaweicloud:Evs/getVolumes:getVolumes", { "availabilityZone": args.availabilityZone, "dedicatedStorageId": args.dedicatedStorageId, "dedicatedStorageName": args.dedicatedStorageName, "enterpriseProjectId": args.enterpriseProjectId, "ids": args.ids, "metadata": args.metadata, "name": args.name, "region": args.region, "serverId": args.serverId, "serviceType": args.serviceType, "shareable": args.shareable, "sortDir": args.sortDir, "sortKey": args.sortKey, "status": args.status, "tags": args.tags, "volumeId": args.volumeId, "volumeTypeId": args.volumeTypeId, }, opts); } exports.getVolumes = getVolumes; function getVolumesOutput(args, opts) { return pulumi.output(args).apply(a => getVolumes(a, opts)); } exports.getVolumesOutput = getVolumesOutput; //# sourceMappingURL=getVolumes.js.map