@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
120 lines (119 loc) • 4.56 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ### Cloudquotas Quota Adjuster Settings Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const adjusterSettings = new gcp.cloudquota.SQuotaAdjusterSettings("adjuster_settings", {
* parent: "projects/104740170505",
* enablement: "ENABLED",
* });
* ```
*
* ## Import
*
* QuotaAdjusterSettings can be imported using any of these accepted formats:
*
* * `{{parent}}/locations/global/quotaAdjusterSettings`
*
* When using the `pulumi import` command, QuotaAdjusterSettings can be imported using one of the formats above. For example:
*
* ```sh
* $ pulumi import gcp:cloudquota/sQuotaAdjusterSettings:SQuotaAdjusterSettings default {{parent}}/locations/global/quotaAdjusterSettings
* ```
*/
export declare class SQuotaAdjusterSettings extends pulumi.CustomResource {
/**
* Get an existing SQuotaAdjusterSettings 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?: SQuotaAdjusterSettingsState, opts?: pulumi.CustomResourceOptions): SQuotaAdjusterSettings;
/**
* Returns true if the given object is an instance of SQuotaAdjusterSettings. 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 SQuotaAdjusterSettings;
/**
* The resource container that determines if the quota adjuster is set for this project.
* Expect this field to be empty currently.
*/
readonly effectiveContainer: pulumi.Output<string>;
/**
* Based on the effective container`s setting above, determines Whether this resource container has the quota adjuster enabled.
* Expect this field to be empty currently.
*/
readonly effectiveEnablement: pulumi.Output<string>;
/**
* Required. The configured value of the enablement at the given resource.
* Possible values are: `ENABLED`, `DISABLED`.
*/
readonly enablement: pulumi.Output<string>;
/**
* The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
*
*
* - - -
*/
readonly parent: pulumi.Output<string>;
/**
* Create a SQuotaAdjusterSettings 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: SQuotaAdjusterSettingsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SQuotaAdjusterSettings resources.
*/
export interface SQuotaAdjusterSettingsState {
/**
* The resource container that determines if the quota adjuster is set for this project.
* Expect this field to be empty currently.
*/
effectiveContainer?: pulumi.Input<string>;
/**
* Based on the effective container`s setting above, determines Whether this resource container has the quota adjuster enabled.
* Expect this field to be empty currently.
*/
effectiveEnablement?: pulumi.Input<string>;
/**
* Required. The configured value of the enablement at the given resource.
* Possible values are: `ENABLED`, `DISABLED`.
*/
enablement?: pulumi.Input<string>;
/**
* The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
*
*
* - - -
*/
parent?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a SQuotaAdjusterSettings resource.
*/
export interface SQuotaAdjusterSettingsArgs {
/**
* Required. The configured value of the enablement at the given resource.
* Possible values are: `ENABLED`, `DISABLED`.
*/
enablement: pulumi.Input<string>;
/**
* The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".
*
*
* - - -
*/
parent?: pulumi.Input<string>;
}