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>

A consumer override is applied to the consumer on its own authority to limit its own quota usage. Consumer overrides cannot be used to grant more quota than would be allowed by admin overrides, producer overrides, or the default limit of the service. To get more information about ConsumerQuotaOverride, see:

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
constructor(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)

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.

Functions

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