@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
100 lines (99 loc) • 2.91 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* 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`
*/
export declare function getObjectStorageQuotas(args?: GetObjectStorageQuotasArgs, opts?: pulumi.InvokeOptions): Promise<GetObjectStorageQuotasResult>;
/**
* A collection of arguments for invoking getObjectStorageQuotas.
*/
export interface GetObjectStorageQuotasArgs {
filters?: inputs.GetObjectStorageQuotasFilter[];
quotas?: inputs.GetObjectStorageQuotasQuota[];
}
/**
* A collection of values returned by getObjectStorageQuotas.
*/
export interface GetObjectStorageQuotasResult {
readonly filters?: outputs.GetObjectStorageQuotasFilter[];
readonly id: string;
readonly quotas?: outputs.GetObjectStorageQuotasQuota[];
}
/**
* 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`
*/
export declare function getObjectStorageQuotasOutput(args?: GetObjectStorageQuotasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetObjectStorageQuotasResult>;
/**
* A collection of arguments for invoking getObjectStorageQuotas.
*/
export interface GetObjectStorageQuotasOutputArgs {
filters?: pulumi.Input<pulumi.Input<inputs.GetObjectStorageQuotasFilterArgs>[]>;
quotas?: pulumi.Input<pulumi.Input<inputs.GetObjectStorageQuotasQuotaArgs>[]>;
}