UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

159 lines (158 loc) 6.46 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the list of quotas of ELB and related resources in a specific project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const test = pulumi.output(huaweicloud.DedicatedElb.getQuotas()); * ``` */ export declare function getQuotas(args?: GetQuotasArgs, opts?: pulumi.InvokeOptions): Promise<GetQuotasResult>; /** * A collection of arguments for invoking getQuotas. */ export interface GetQuotasArgs { /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: string; } /** * A collection of values returned by getQuotas. */ export interface GetQuotasResult { /** * Indicates the certificate quota. * + If the value is greater than or equal to **0**, it indicates the certificate quota. * + If the value is **-1**, the quota is not limited. */ readonly certificate: number; /** * Indicates the maximum number of forwarding rules per forwarding policy. * + If the value is greater than or equal to **0**, it indicates the current quota. * + **-1** indicates that the quota is not limited. */ readonly conditionPerPolicy: number; /** * Indicates the health check quota. * + If the value is greater than or equal to **0**, it indicates the health check quota. * + If the value is **-1**, the quota is not limited. */ readonly healthmonitor: number; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates the IP address group quota. * + If the value is greater than or equal to **0**, it indicates the IP address group quota. * + If the value is **-1**, the quota is not limited. */ readonly ipgroup: number; /** * Indicates the maximum number of listeners that can be associated with an IP address group. * + If the value is greater than or equal to 0, it indicates the maximum number of listeners that can be associated with * an IP address group. * + If the value is **-1**, the quota is not limited. */ readonly ipgroupBindings: number; /** * Indicates the maximum number of IP addresses that can be added to an IP address group. * + If the value is greater than or equal to **0**, it indicates the IP address quota. * + If the value is **-1**, the quota is not limited. */ readonly ipgroupMaxLength: number; /** * Indicates the maximum number of IP address groups that can be associated with a listener. * + If the value is greater than or equal to **0**, it indicates the IP address group quota. * + **-1** indicates that the quota is not limited. */ readonly ipgroupsPerListener: number; /** * Indicates the maximum number of forwarding policies that can be configured for a listener. * + If the value is greater than or equal to **0**, it indicates the forwarding policy quota. * + **-1** indicates that the quota is not limited. */ readonly l7policiesPerListener: number; /** * Indicates the forwarding policy quota. * + If the value is greater than or equal to **0**, it indicates the forwarding policy quota. * + If the value is **-1**, the quota is not limited. */ readonly l7policy: number; /** * Indicates the listener quota. * + If the value is greater than or equal to **0**, it indicates the listener quota. * + If the value is **-1**, the quota is not limited. */ readonly listener: number; /** * Indicates the maximum number of listeners that can be associated with a load balancer. * + If the value is greater than or equal to **0**, it indicates the current quota. * + **-1** indicates that the quota is not limited. */ readonly listenersPerLoadbalancer: number; /** * Indicates the maximum number of listeners that can be associated with a backend server group. * + If the value is greater than or equal to **0**, it indicates the current quota. * + **-1** indicates that the quota is not limited. */ readonly listenersPerPool: number; /** * Indicates the load balancer quota. * + If the value is greater than or equal to **0**, it indicates the load balancer quota. * + If the value is **-1**, the quota is not limited. */ readonly loadbalancer: number; /** * Indicates the backend server quota. * + If the value is greater than or equal to **0**, it indicates the backend server quota. * + If the value is **-1**, the quota is not limited. */ readonly member: number; /** * Indicates the maximum number of backend servers in a backend server group. * + If the value is greater than or equal to **0**, it indicates the backend server quota. * + If the value is **-1**, the quota is not limited. */ readonly membersPerPool: number; /** * Indicates the backend server group quota. * + If the value is greater than or equal to **0**, it indicates the backend server group quota. * + If the value is **-1**, the quota is not limited. */ readonly pool: number; /** * Indicates the maximum number of backend server groups that can be used by a forwarding policy. * + If the value is greater than or equal to **0**, it indicates the backend server group quota. * + **-1** indicates that the quota is not limited. */ readonly poolsPerL7policy: number; /** * Indicates the project ID. */ readonly projectId: string; readonly region: string; /** * Indicates the custom security policy quota. * + If the value is greater than or equal to **0**, it indicates the custom security policy quota. * + If the value is **-1**, the quota is not limited. */ readonly securityPolicy: number; } export declare function getQuotasOutput(args?: GetQuotasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetQuotasResult>; /** * A collection of arguments for invoking getQuotas. */ export interface GetQuotasOutputArgs { /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: pulumi.Input<string>; }