ConsumerQuotaOverrideState class
Input properties used for looking up and filtering ConsumerQuotaOverride resources.
Constructors
-
ConsumerQuotaOverrideState({Input<
String?> ? deletionPolicy, Input<Map< ? dimensions, Input<String, String> ?>bool?> ? force, Input<String?> ? limit, Input<String?> ? metric, Input<String?> ? name, Input<String?> ? overrideValue, Input<String?> ? project, Input<String?> ? service}) -
Creates a new ConsumerQuotaOverrideState.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.dimensionsIf this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit.forceIf the new quota would decrease the existing quota by more than 10%, the request is rejected.limitThe limit on the metric, e.g./project/region.metricThe metric that should be limited, e.g.compute.googleapis.com/cpus.nameThe server-generated name of the quota override.overrideValueThe overriding quota limit value. Can be any nonnegative integer, or -1 (unlimited quota).projectThe ID of the project in which the resource belongs.serviceThe service that the metrics belong to, e.g.compute.googleapis.com.const -
ConsumerQuotaOverrideState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
dimensions
→ Input<
Map< ?String, String> ?> -
If this map is nonempty, then this override applies only to specific values for dimensions defined in the limit unit.
final
-
force
→ Input<
bool?> ? -
If the new quota would decrease the existing quota by more than 10%, the request is rejected.
If
forceistrue, that safety check is ignored.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
limit
→ Input<
String?> ? -
The limit on the metric, e.g.
/project/region. > Make sure thatlimitis in a format that doesn't start with1/or contain curly braces. E.g. use/project/userinstead of1/{project}/{user}.final -
metric
→ Input<
String?> ? -
The metric that should be limited, e.g.
compute.googleapis.com/cpus.final -
name
→ Input<
String?> ? -
The server-generated name of the quota override.
final
-
overrideValue
→ Input<
String?> ? -
The overriding quota limit value. Can be any nonnegative integer, or -1 (unlimited quota).
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
service
→ Input<
String?> ? -
The service that the metrics belong to, e.g.
compute.googleapis.com.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited