public sealed class AutomaticScaling : IMessage<AutomaticScaling>, IEquatable<AutomaticScaling>, IDeepCloneable<AutomaticScaling>, IBufferMessage, IMessage
Automatic scaling is based on request rate, response latencies, and other application metrics.
Implements
Google.Protobuf.IMessage<AutomaticScaling>, IEquatable<AutomaticScaling>, Google.Protobuf.IDeepCloneable<AutomaticScaling>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
AutomaticScaling()
public AutomaticScaling()
AutomaticScaling(AutomaticScaling)
public AutomaticScaling(AutomaticScaling other)
Parameter | |
---|---|
Name | Description |
other | AutomaticScaling |
Properties
CoolDownPeriod
public Duration CoolDownPeriod { get; set; }
The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Duration |
CpuUtilization
public CpuUtilization CpuUtilization { get; set; }
Target scaling by CPU usage.
Property Value | |
---|---|
Type | Description |
CpuUtilization |
DiskUtilization
public DiskUtilization DiskUtilization { get; set; }
Target scaling by disk usage.
Property Value | |
---|---|
Type | Description |
DiskUtilization |
MaxConcurrentRequests
public int MaxConcurrentRequests { get; set; }
Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.
Defaults to a runtime-specific value.
Property Value | |
---|---|
Type | Description |
Int32 |
MaxIdleInstances
public int MaxIdleInstances { get; set; }
Maximum number of idle instances that should be maintained for this version.
Property Value | |
---|---|
Type | Description |
Int32 |
MaxPendingLatency
public Duration MaxPendingLatency { get; set; }
Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Duration |
MaxTotalInstances
public int MaxTotalInstances { get; set; }
Maximum number of instances that should be started to handle requests for this version.
Property Value | |
---|---|
Type | Description |
Int32 |
MinIdleInstances
public int MinIdleInstances { get; set; }
Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
Property Value | |
---|---|
Type | Description |
Int32 |
MinPendingLatency
public Duration MinPendingLatency { get; set; }
Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Duration |
MinTotalInstances
public int MinTotalInstances { get; set; }
Minimum number of running instances that should be maintained for this version.
Property Value | |
---|---|
Type | Description |
Int32 |
NetworkUtilization
public NetworkUtilization NetworkUtilization { get; set; }
Target scaling by network usage.
Property Value | |
---|---|
Type | Description |
NetworkUtilization |
RequestUtilization
public RequestUtilization RequestUtilization { get; set; }
Target scaling by request utilization.
Property Value | |
---|---|
Type | Description |
RequestUtilization |
StandardSchedulerSettings
public StandardSchedulerSettings StandardSchedulerSettings { get; set; }
Scheduler settings for standard environment.
Property Value | |
---|---|
Type | Description |
StandardSchedulerSettings |