@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
51 lines (50 loc) • 1.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
* Use this data source to get the resource quotas in a project.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as huaweicloud from "@pulumi/huaweicloud";
*
* const test = pulumi.output(huaweicloud.Rds.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 {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Indicates the objects in the quota list.
*/
readonly quotas: outputs.Rds.GetQuotasQuota[];
readonly region: string;
}
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>;
}