UNPKG

@pulumi/openstack

Version:

A Pulumi package for creating and managing OpenStack cloud resources.

221 lines (220 loc) 6.91 kB
import * as pulumi from "@pulumi/pulumi"; /** * Manages a V2 networking quota resource within OpenStack. * * > **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:networking/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; /** * Quota value for floating IPs. Changing this updates the * existing quota. */ readonly floatingip: pulumi.Output<number>; /** * Quota value for networks. Changing this updates the * existing quota. */ readonly network: pulumi.Output<number>; /** * Quota value for ports. Changing this updates the * existing quota. */ readonly port: pulumi.Output<number>; /** * ID of the project to manage quota. Changing this * creates new quota. */ readonly projectId: pulumi.Output<string>; /** * Quota value for RBAC policies. * Changing this updates the existing quota. */ readonly rbacPolicy: pulumi.Output<number>; /** * The region in which to create the quota. If * omitted, the `region` argument of the provider is used. Changing this * creates new quota. */ readonly region: pulumi.Output<string>; /** * Quota value for routers. Changing this updates the * existing quota. */ readonly router: pulumi.Output<number>; /** * Quota value for security groups. Changing * this updates the existing quota. */ readonly securityGroup: pulumi.Output<number>; /** * Quota value for security group rules. * Changing this updates the existing quota. */ readonly securityGroupRule: pulumi.Output<number>; /** * Quota value for subnets. Changing * this updates the existing quota. */ readonly subnet: pulumi.Output<number>; /** * Quota value for subnetpools. * Changing this updates the existing quota. */ readonly subnetpool: 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 { /** * Quota value for floating IPs. Changing this updates the * existing quota. */ floatingip?: pulumi.Input<number>; /** * Quota value for networks. Changing this updates the * existing quota. */ network?: pulumi.Input<number>; /** * Quota value for ports. Changing this updates the * existing quota. */ port?: pulumi.Input<number>; /** * ID of the project to manage quota. Changing this * creates new quota. */ projectId?: pulumi.Input<string>; /** * Quota value for RBAC policies. * Changing this updates the existing quota. */ rbacPolicy?: pulumi.Input<number>; /** * The region in which to create the quota. If * omitted, the `region` argument of the provider is used. Changing this * creates new quota. */ region?: pulumi.Input<string>; /** * Quota value for routers. Changing this updates the * existing quota. */ router?: pulumi.Input<number>; /** * Quota value for security groups. Changing * this updates the existing quota. */ securityGroup?: pulumi.Input<number>; /** * Quota value for security group rules. * Changing this updates the existing quota. */ securityGroupRule?: pulumi.Input<number>; /** * Quota value for subnets. Changing * this updates the existing quota. */ subnet?: pulumi.Input<number>; /** * Quota value for subnetpools. * Changing this updates the existing quota. */ subnetpool?: pulumi.Input<number>; } /** * The set of arguments for constructing a QuotaV2 resource. */ export interface QuotaV2Args { /** * Quota value for floating IPs. Changing this updates the * existing quota. */ floatingip?: pulumi.Input<number>; /** * Quota value for networks. Changing this updates the * existing quota. */ network?: pulumi.Input<number>; /** * Quota value for ports. Changing this updates the * existing quota. */ port?: pulumi.Input<number>; /** * ID of the project to manage quota. Changing this * creates new quota. */ projectId: pulumi.Input<string>; /** * Quota value for RBAC policies. * Changing this updates the existing quota. */ rbacPolicy?: pulumi.Input<number>; /** * The region in which to create the quota. If * omitted, the `region` argument of the provider is used. Changing this * creates new quota. */ region?: pulumi.Input<string>; /** * Quota value for routers. Changing this updates the * existing quota. */ router?: pulumi.Input<number>; /** * Quota value for security groups. Changing * this updates the existing quota. */ securityGroup?: pulumi.Input<number>; /** * Quota value for security group rules. * Changing this updates the existing quota. */ securityGroupRule?: pulumi.Input<number>; /** * Quota value for subnets. Changing * this updates the existing quota. */ subnet?: pulumi.Input<number>; /** * Quota value for subnetpools. * Changing this updates the existing quota. */ subnetpool?: pulumi.Input<number>; }