GetServiceTemplateScaling class

Constructors

GetServiceTemplateScaling({required Input<double> concurrencyUtilization, required Input<double> cpuUtilization, required Input<int> maxInstanceCount, required Input<int> minInstanceCount})
Creates a new GetServiceTemplateScaling. concurrencyUtilization Determines a threshold for concurrency utilization before scaling begins. Accepted values are between 0.1 and 0.95 (inclusive) or 0.0 to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. cpuUtilization Determines a threshold for CPU utilization before scaling begins. Accepted values are between 0.1 and 0.95 (inclusive) or 0.0 to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled. maxInstanceCount Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate minInstanceCount Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
const
GetServiceTemplateScaling.fromMap(Map<String, dynamic> map)
factory

Properties

concurrencyUtilization → Input<double>
Determines a threshold for concurrency utilization before scaling begins. Accepted values are between 0.1 and 0.95 (inclusive) or 0.0 to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
final
cpuUtilization → Input<double>
Determines a threshold for CPU utilization before scaling begins. Accepted values are between 0.1 and 0.95 (inclusive) or 0.0 to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.
final
hashCode → int
The hash code for this object.
no setterinherited
maxInstanceCount → Input<int>
Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.
final
minInstanceCount → Input<int>
Minimum number of serving instances that this resource should have. Defaults to 0. Must not be greater than maximum instance count.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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