UNPKG

@pulumi/openstack

Version:

A Pulumi package for creating and managing OpenStack cloud resources.

52 lines 1.75 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.getLimitsV2Output = exports.getLimitsV2 = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to get the compute limits of an OpenStack project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const limits = openstack.compute.getLimitsV2({ * projectId: "2e367a3d29f94fd988e6ec54e305ec9d", * }); * ``` */ function getLimitsV2(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("openstack:compute/getLimitsV2:getLimitsV2", { "projectId": args.projectId, "region": args.region, }, opts); } exports.getLimitsV2 = getLimitsV2; /** * Use this data source to get the compute limits of an OpenStack project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const limits = openstack.compute.getLimitsV2({ * projectId: "2e367a3d29f94fd988e6ec54e305ec9d", * }); * ``` */ function getLimitsV2Output(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("openstack:compute/getLimitsV2:getLimitsV2", { "projectId": args.projectId, "region": args.region, }, opts); } exports.getLimitsV2Output = getLimitsV2Output; //# sourceMappingURL=getLimitsV2.js.map