Class GoogleCloudRunV2RevisionScaling
Settings for revision-level scaling settings.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v2.Data
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class GoogleCloudRunV2RevisionScaling : IDirectResponseSchema
Properties
ConcurrencyUtilization
Optional. 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.
Declaration
[JsonProperty("concurrencyUtilization")]
public virtual float? ConcurrencyUtilization { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
CpuUtilization
Optional. 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.
Declaration
[JsonProperty("cpuUtilization")]
public virtual float? CpuUtilization { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MaxInstanceCount
Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances
Declaration
[JsonProperty("maxInstanceCount")]
public virtual int? MaxInstanceCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MinInstanceCount
Optional. Minimum number of serving instances that this resource should have.
Declaration
[JsonProperty("minInstanceCount")]
public virtual int? MinInstanceCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |