UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

98 lines 2.89 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.getObjectStorageQuotasOutput = exports.getObjectStorageQuotas = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides details about a list of Object Storage quotas information on your account. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-object-storage-quotas). * * ## Example Usage * * The following example shows how one might use this data source to list and filter information about Object Storage quotas. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const maxBucketsQuotas = linode.getObjectStorageQuotas({ * filters: [{ * name: "endpoint_type", * values: ["E0"], * }], * }); * ``` * * ## Filterable Fields * * * `quotaId` * * * `quotaName` * * * `endpointType` * * * `s3Endpoint` * * * `description` * * * `quotaLimit` * * * `resourceMetric` */ function getObjectStorageQuotas(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("linode:index/getObjectStorageQuotas:getObjectStorageQuotas", { "filters": args.filters, "quotas": args.quotas, }, opts); } exports.getObjectStorageQuotas = getObjectStorageQuotas; /** * Provides details about a list of Object Storage quotas information on your account. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-object-storage-quotas). * * ## Example Usage * * The following example shows how one might use this data source to list and filter information about Object Storage quotas. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const maxBucketsQuotas = linode.getObjectStorageQuotas({ * filters: [{ * name: "endpoint_type", * values: ["E0"], * }], * }); * ``` * * ## Filterable Fields * * * `quotaId` * * * `quotaName` * * * `endpointType` * * * `s3Endpoint` * * * `description` * * * `quotaLimit` * * * `resourceMetric` */ function getObjectStorageQuotasOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("linode:index/getObjectStorageQuotas:getObjectStorageQuotas", { "filters": args.filters, "quotas": args.quotas, }, opts); } exports.getObjectStorageQuotasOutput = getObjectStorageQuotasOutput; //# sourceMappingURL=getObjectStorageQuotas.js.map