@pulumi/openstack
Version:
A Pulumi package for creating and managing OpenStack cloud resources.
52 lines • 1.75 kB
JavaScript
;
// *** 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.getQuotaV2Output = exports.getQuotaV2 = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Use this data source to get the networking quota of an OpenStack project.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as openstack from "@pulumi/openstack";
*
* const quota = openstack.networking.getQuotaV2({
* projectId: "2e367a3d29f94fd988e6ec54e305ec9d",
* });
* ```
*/
function getQuotaV2(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("openstack:networking/getQuotaV2:getQuotaV2", {
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getQuotaV2 = getQuotaV2;
/**
* Use this data source to get the networking quota of an OpenStack project.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as openstack from "@pulumi/openstack";
*
* const quota = openstack.networking.getQuotaV2({
* projectId: "2e367a3d29f94fd988e6ec54e305ec9d",
* });
* ```
*/
function getQuotaV2Output(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("openstack:networking/getQuotaV2:getQuotaV2", {
"projectId": args.projectId,
"region": args.region,
}, opts);
}
exports.getQuotaV2Output = getQuotaV2Output;
//# sourceMappingURL=getQuotaV2.js.map