ConsumerQuotaOverrideArgs

data class ConsumerQuotaOverrideArgs(val dimensions: Output<Map<String, String>>? = null, val force: Output<Boolean>? = null, val limit: Output<String>? = null, val metric: Output<String>? = null, val overrideValue: Output<String>? = null, val project: Output<String>? = null, val service: Output<String>? = null) : ConvertibleToJava<ConsumerQuotaOverrideArgs>

{{% examples %}}

Example Usage

{{% /examples %}}

Import

ConsumerQuotaOverride can be imported using any of these accepted formats

$ pulumi import gcp:serviceusage/consumerQuotaOverride:ConsumerQuotaOverride default projects/{{project}}/services/{{service}}/consumerQuotaMetrics/{{metric}}/limits/{{limit}}/consumerOverrides/{{name}}
$ pulumi import gcp:serviceusage/consumerQuotaOverride:ConsumerQuotaOverride default services/{{service}}/consumerQuotaMetrics/{{metric}}/limits/{{limit}}/consumerOverrides/{{name}}
$ pulumi import gcp:serviceusage/consumerQuotaOverride:ConsumerQuotaOverride default {{service}}/{{metric}}/{{limit}}/{{name}}

Constructors

Link copied to clipboard
fun ConsumerQuotaOverrideArgs(dimensions: Output<Map<String, String>>? = null, force: Output<Boolean>? = null, limit: Output<String>? = null, metric: Output<String>? = null, overrideValue: Output<String>? = null, project: Output<String>? = null, service: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ConsumerQuotaOverrideArgs

Properties

Link copied to clipboard
val dimensions: Output<Map<String, String>>? = null

If this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit.

Link copied to clipboard
val force: Output<Boolean>? = null

If the new quota would decrease the existing quota by more than 10%, the request is rejected. If force is true, that safety check is ignored.

Link copied to clipboard
val limit: Output<String>? = null

The limit on the metric, e.g. /project/region.

Link copied to clipboard
val metric: Output<String>? = null

The metric that should be limited, e.g. compute.googleapis.com/cpus.

Link copied to clipboard
val overrideValue: Output<String>? = null

The overriding quota limit value. Can be any nonnegative integer, or -1 (unlimited quota).

Link copied to clipboard
val project: Output<String>? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val service: Output<String>? = null

The service that the metrics belong to, e.g. compute.googleapis.com.