SQuota Adjuster Settings
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",
});
Content copied to clipboard
import pulumi
import pulumi_gcp as gcp
adjuster_settings = gcp.cloudquota.SQuotaAdjusterSettings("adjuster_settings",
parent="projects/104740170505",
enablement="ENABLED")
Content copied to clipboard
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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
resources:
adjusterSettings:
type: gcp:cloudquota:SQuotaAdjusterSettings
name: adjuster_settings
properties:
parent: projects/104740170505
enablement: ENABLED
Content copied to clipboard
Import
QuotaAdjusterSettings can be imported using any of these accepted formats:
{{parent}}/locations/global/quotaAdjusterSettings
When using thepulumi 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
Content copied to clipboard
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
Required. The configured value of the enablement at the given resource. Possible values are: ENABLED
, DISABLED
.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard