1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. cloudquota
  5. SQuotaAdjusterSettings
Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi

gcp.cloudquota.SQuotaAdjusterSettings

Explore with Pulumi AI

Example Usage

Cloudquotas Quota Adjuster Settings Basic

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",
});
Copy
import pulumi
import pulumi_gcp as gcp

adjuster_settings = gcp.cloudquota.SQuotaAdjusterSettings("adjuster_settings",
    parent="projects/104740170505",
    enablement="ENABLED")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudquota"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudquota.NewSQuotaAdjusterSettings(ctx, "adjuster_settings", &cloudquota.SQuotaAdjusterSettingsArgs{
			Parent:     pulumi.String("projects/104740170505"),
			Enablement: pulumi.String("ENABLED"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var adjusterSettings = new Gcp.CloudQuota.SQuotaAdjusterSettings("adjuster_settings", new()
    {
        Parent = "projects/104740170505",
        Enablement = "ENABLED",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.cloudquota.SQuotaAdjusterSettings;
import com.pulumi.gcp.cloudquota.SQuotaAdjusterSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var adjusterSettings = new SQuotaAdjusterSettings("adjusterSettings", SQuotaAdjusterSettingsArgs.builder()
            .parent("projects/104740170505")
            .enablement("ENABLED")
            .build());

    }
}
Copy
resources:
  adjusterSettings:
    type: gcp:cloudquota:SQuotaAdjusterSettings
    name: adjuster_settings
    properties:
      parent: projects/104740170505
      enablement: ENABLED
Copy

Create SQuotaAdjusterSettings Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SQuotaAdjusterSettings(name: string, args: SQuotaAdjusterSettingsArgs, opts?: CustomResourceOptions);
@overload
def SQuotaAdjusterSettings(resource_name: str,
                           args: SQuotaAdjusterSettingsArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def SQuotaAdjusterSettings(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           enablement: Optional[str] = None,
                           parent: Optional[str] = None)
func NewSQuotaAdjusterSettings(ctx *Context, name string, args SQuotaAdjusterSettingsArgs, opts ...ResourceOption) (*SQuotaAdjusterSettings, error)
public SQuotaAdjusterSettings(string name, SQuotaAdjusterSettingsArgs args, CustomResourceOptions? opts = null)
public SQuotaAdjusterSettings(String name, SQuotaAdjusterSettingsArgs args)
public SQuotaAdjusterSettings(String name, SQuotaAdjusterSettingsArgs args, CustomResourceOptions options)
type: gcp:cloudquota:SQuotaAdjusterSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SQuotaAdjusterSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SQuotaAdjusterSettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SQuotaAdjusterSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SQuotaAdjusterSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SQuotaAdjusterSettingsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var squotaAdjusterSettingsResource = new Gcp.CloudQuota.SQuotaAdjusterSettings("squotaAdjusterSettingsResource", new()
{
    Enablement = "string",
    Parent = "string",
});
Copy
example, err := cloudquota.NewSQuotaAdjusterSettings(ctx, "squotaAdjusterSettingsResource", &cloudquota.SQuotaAdjusterSettingsArgs{
	Enablement: pulumi.String("string"),
	Parent:     pulumi.String("string"),
})
Copy
var squotaAdjusterSettingsResource = new SQuotaAdjusterSettings("squotaAdjusterSettingsResource", SQuotaAdjusterSettingsArgs.builder()
    .enablement("string")
    .parent("string")
    .build());
Copy
squota_adjuster_settings_resource = gcp.cloudquota.SQuotaAdjusterSettings("squotaAdjusterSettingsResource",
    enablement="string",
    parent="string")
Copy
const squotaAdjusterSettingsResource = new gcp.cloudquota.SQuotaAdjusterSettings("squotaAdjusterSettingsResource", {
    enablement: "string",
    parent: "string",
});
Copy
type: gcp:cloudquota:SQuotaAdjusterSettings
properties:
    enablement: string
    parent: string
Copy

SQuotaAdjusterSettings Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SQuotaAdjusterSettings resource accepts the following input properties:

Enablement This property is required. string
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
Parent Changes to this property will trigger replacement. string
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


Enablement This property is required. string
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
Parent Changes to this property will trigger replacement. string
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


enablement This property is required. String
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
parent Changes to this property will trigger replacement. String
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


enablement This property is required. string
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
parent Changes to this property will trigger replacement. string
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


enablement This property is required. str
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
parent Changes to this property will trigger replacement. str
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


enablement This property is required. String
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
parent Changes to this property will trigger replacement. String
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


Outputs

All input properties are implicitly available as output properties. Additionally, the SQuotaAdjusterSettings resource produces the following output properties:

EffectiveContainer string
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
EffectiveEnablement 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.
Id string
The provider-assigned unique ID for this managed resource.
EffectiveContainer string
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
EffectiveEnablement 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.
Id string
The provider-assigned unique ID for this managed resource.
effectiveContainer String
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
effectiveEnablement 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.
id String
The provider-assigned unique ID for this managed resource.
effectiveContainer string
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
effectiveEnablement 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.
id string
The provider-assigned unique ID for this managed resource.
effective_container str
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
effective_enablement str
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.
id str
The provider-assigned unique ID for this managed resource.
effectiveContainer String
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
effectiveEnablement 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.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing SQuotaAdjusterSettings Resource

Get an existing SQuotaAdjusterSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SQuotaAdjusterSettingsState, opts?: CustomResourceOptions): SQuotaAdjusterSettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        effective_container: Optional[str] = None,
        effective_enablement: Optional[str] = None,
        enablement: Optional[str] = None,
        parent: Optional[str] = None) -> SQuotaAdjusterSettings
func GetSQuotaAdjusterSettings(ctx *Context, name string, id IDInput, state *SQuotaAdjusterSettingsState, opts ...ResourceOption) (*SQuotaAdjusterSettings, error)
public static SQuotaAdjusterSettings Get(string name, Input<string> id, SQuotaAdjusterSettingsState? state, CustomResourceOptions? opts = null)
public static SQuotaAdjusterSettings get(String name, Output<String> id, SQuotaAdjusterSettingsState state, CustomResourceOptions options)
resources:  _:    type: gcp:cloudquota:SQuotaAdjusterSettings    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
EffectiveContainer string
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
EffectiveEnablement 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.
Enablement string
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
Parent Changes to this property will trigger replacement. string
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


EffectiveContainer string
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
EffectiveEnablement 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.
Enablement string
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
Parent Changes to this property will trigger replacement. string
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


effectiveContainer String
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
effectiveEnablement 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.
enablement String
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
parent Changes to this property will trigger replacement. String
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


effectiveContainer string
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
effectiveEnablement 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.
enablement string
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
parent Changes to this property will trigger replacement. string
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


effective_container str
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
effective_enablement str
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.
enablement str
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
parent Changes to this property will trigger replacement. str
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


effectiveContainer String
The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.
effectiveEnablement 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.
enablement String
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.
parent Changes to this property will trigger replacement. String
The parent of the quota preference. Allowed parent format is "projects/[project-id / number]".


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:

$ pulumi import gcp:cloudquota/sQuotaAdjusterSettings:SQuotaAdjusterSettings default {{parent}}/locations/global/quotaAdjusterSettings
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.