SQuotaAdjusterSettings

class SQuotaAdjusterSettings : KotlinCustomResource

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",
});
import pulumi
import pulumi_gcp as gcp
adjuster_settings = gcp.cloudquota.SQuotaAdjusterSettings("adjuster_settings",
parent="projects/104740170505",
enablement="ENABLED")
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",
});
});
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
})
}
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());
}
}
resources:
adjusterSettings:
type: gcp:cloudquota:SQuotaAdjusterSettings
name: adjuster_settings
properties:
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:

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

Properties

Link copied to clipboard

The resource container that determines if the quota adjuster is set for this project. Expect this field to be empty currently.

Link copied to clipboard

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.

Link copied to clipboard
val enablement: Output<String>

Required. The configured value of the enablement at the given resource. Possible values are: ENABLED, DISABLED.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val parent: Output<String>

The parent of the quota preference. Allowed parent format is "projects/project-id / number".

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>