UNPKG

@pulumi/openstack

Version:

A Pulumi package for creating and managing OpenStack cloud resources.

152 lines (151 loc) 4.86 kB
import * as pulumi from "@pulumi/pulumi"; /** * Manages DNS quota in OpenStack DNS Service. * * > **Note:** This usually requires admin privileges. * * > **Note:** This resource has a no-op deletion so no actual actions will be * done against the OpenStack API in case of delete call. * * ## Import * * Quotas can be imported using the `project_id/region_name`, e.g. * * ```sh * $ pulumi import openstack:dns/quotaV2:QuotaV2 quota_1 2a0f2240-c5e6-41de-896d-e80d97428d6b/region_1 * ``` */ export declare class QuotaV2 extends pulumi.CustomResource { /** * Get an existing QuotaV2 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<pulumi.ID>, state?: QuotaV2State, opts?: pulumi.CustomResourceOptions): QuotaV2; /** * Returns true if the given object is an instance of QuotaV2. 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 QuotaV2; /** * The maximum number of zones that can be * exported via the API. */ readonly apiExportSize: pulumi.Output<number>; /** * ID of the project to manage quota. Changing this * creates new quota. */ readonly projectId: pulumi.Output<string>; /** * The maximum number of records in a * recordset. */ readonly recordsetRecords: pulumi.Output<number>; /** * The region in which to obtain the V2 DNS client. If * omitted, the `region` argument of the provider is used. Changing this creates * a new DNS quota. */ readonly region: pulumi.Output<string>; /** * The maximum number of records in a zone. */ readonly zoneRecords: pulumi.Output<number>; /** * The maximum number of recordsets in a zone. */ readonly zoneRecordsets: pulumi.Output<number>; /** * The maximum number of zones that can be created. */ readonly zones: pulumi.Output<number>; /** * Create a QuotaV2 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: QuotaV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering QuotaV2 resources. */ export interface QuotaV2State { /** * The maximum number of zones that can be * exported via the API. */ apiExportSize?: pulumi.Input<number>; /** * ID of the project to manage quota. Changing this * creates new quota. */ projectId?: pulumi.Input<string>; /** * The maximum number of records in a * recordset. */ recordsetRecords?: pulumi.Input<number>; /** * The region in which to obtain the V2 DNS client. If * omitted, the `region` argument of the provider is used. Changing this creates * a new DNS quota. */ region?: pulumi.Input<string>; /** * The maximum number of records in a zone. */ zoneRecords?: pulumi.Input<number>; /** * The maximum number of recordsets in a zone. */ zoneRecordsets?: pulumi.Input<number>; /** * The maximum number of zones that can be created. */ zones?: pulumi.Input<number>; } /** * The set of arguments for constructing a QuotaV2 resource. */ export interface QuotaV2Args { /** * The maximum number of zones that can be * exported via the API. */ apiExportSize?: pulumi.Input<number>; /** * ID of the project to manage quota. Changing this * creates new quota. */ projectId: pulumi.Input<string>; /** * The maximum number of records in a * recordset. */ recordsetRecords?: pulumi.Input<number>; /** * The region in which to obtain the V2 DNS client. If * omitted, the `region` argument of the provider is used. Changing this creates * a new DNS quota. */ region?: pulumi.Input<string>; /** * The maximum number of records in a zone. */ zoneRecords?: pulumi.Input<number>; /** * The maximum number of recordsets in a zone. */ zoneRecordsets?: pulumi.Input<number>; /** * The maximum number of zones that can be created. */ zones?: pulumi.Input<number>; }