@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
76 lines (75 loc) • 2.53 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Provides information about all quotas for a given project, folder or organization.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const myQuotaInfos = gcp.cloudquota.getSQuotaInfos({
* parent: "projects/my-project",
* service: "compute.googleapis.com",
* });
* ```
*/
export declare function getSQuotaInfos(args: GetSQuotaInfosArgs, opts?: pulumi.InvokeOptions): Promise<GetSQuotaInfosResult>;
/**
* A collection of arguments for invoking getSQuotaInfos.
*/
export interface GetSQuotaInfosArgs {
/**
* Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
*/
parent: string;
/**
* The name of the service in which the quotas are defined.
*/
service: string;
}
/**
* A collection of values returned by getSQuotaInfos.
*/
export interface GetSQuotaInfosResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly parent: string;
/**
* (Output) The list of QuotaInfo.
*/
readonly quotaInfos: outputs.cloudquota.GetSQuotaInfosQuotaInfo[];
readonly service: string;
}
/**
* Provides information about all quotas for a given project, folder or organization.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const myQuotaInfos = gcp.cloudquota.getSQuotaInfos({
* parent: "projects/my-project",
* service: "compute.googleapis.com",
* });
* ```
*/
export declare function getSQuotaInfosOutput(args: GetSQuotaInfosOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSQuotaInfosResult>;
/**
* A collection of arguments for invoking getSQuotaInfos.
*/
export interface GetSQuotaInfosOutputArgs {
/**
* Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
*/
parent: pulumi.Input<string>;
/**
* The name of the service in which the quotas are defined.
*/
service: pulumi.Input<string>;
}