import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Manages the public cloud project quota: the applied quota profile per region * and the `preventAutomaticQuotaUpgrade` toggle. There is exactly one quota * envelope per project, so this * resource is a singleton — the project's service name is used as the import id. * * Regions omitted from `regions` are left unchanged upstream. * * ## Import * * The quota envelope is a singleton per project — import by service name only: * * bash * * ```sh * $ pulumi import ovh:index/cloudQuota:CloudQuota this * ``` */ export declare class CloudQuota extends pulumi.CustomResource { /** * Get an existing CloudQuota resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CloudQuotaState, opts?: pulumi.CustomResourceOptions): CloudQuota; /** * Returns true if the given object is an instance of CloudQuota. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CloudQuota; /** * — Computed hash of the current target specification, used for * optimistic concurrency on updates. */ readonly checksum: pulumi.Output; /** * , `updatedAt` — Envelope timestamps (RFC3339). */ readonly createdAt: pulumi.Output; /** * — Live state of the quota: */ readonly currentState: pulumi.Output; /** * — When true, automatic * quota upgrades are disabled for this project. */ readonly preventAutomaticQuotaUpgrade: pulumi.Output; /** * — Target quota profile per region: */ readonly regions: pulumi.Output; /** * — Quota readiness in the system (`CREATING`, `UPDATING`, * `DELETING`, `OUT_OF_SYNC`, `READY`, `ERROR`, `SUSPENDED`, `UNKNOWN`). */ readonly resourceStatus: pulumi.Output; /** * — Service name of the cloud project. */ readonly serviceName: pulumi.Output; /** * Last update date (RFC3339). */ readonly updatedAt: pulumi.Output; /** * Create a CloudQuota resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CloudQuotaArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudQuota resources. */ export interface CloudQuotaState { /** * — Computed hash of the current target specification, used for * optimistic concurrency on updates. */ checksum?: pulumi.Input; /** * , `updatedAt` — Envelope timestamps (RFC3339). */ createdAt?: pulumi.Input; /** * — Live state of the quota: */ currentState?: pulumi.Input; /** * — When true, automatic * quota upgrades are disabled for this project. */ preventAutomaticQuotaUpgrade?: pulumi.Input; /** * — Target quota profile per region: */ regions?: pulumi.Input[]>; /** * — Quota readiness in the system (`CREATING`, `UPDATING`, * `DELETING`, `OUT_OF_SYNC`, `READY`, `ERROR`, `SUSPENDED`, `UNKNOWN`). */ resourceStatus?: pulumi.Input; /** * — Service name of the cloud project. */ serviceName?: pulumi.Input; /** * Last update date (RFC3339). */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a CloudQuota resource. */ export interface CloudQuotaArgs { /** * — When true, automatic * quota upgrades are disabled for this project. */ preventAutomaticQuotaUpgrade: pulumi.Input; /** * — Target quota profile per region: */ regions: pulumi.Input[]>; /** * — Service name of the cloud project. */ serviceName: pulumi.Input; }