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
IMessage<AutomaticScaling>, IEquatable<AutomaticScaling>, IDeepCloneable<AutomaticScaling>, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
AutomaticScaling()
public AutomaticScaling()
AutomaticScaling(AutomaticScaling)
public AutomaticScaling(AutomaticScaling other)
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.
Type | Description |
Duration |
CpuUtilization
public CpuUtilization CpuUtilization { get; set; }
Target scaling by CPU usage.
Type | Description |
CpuUtilization |
DiskUtilization
public DiskUtilization DiskUtilization { get; set; }
Target scaling by disk usage.
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.
Type | Description |
Int32 |
MaxIdleInstances
public int MaxIdleInstances { get; set; }
Maximum number of idle instances that should be maintained for this version.
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.
Type | Description |
Duration |
MaxTotalInstances
public int MaxTotalInstances { get; set; }
Maximum number of instances that should be started to handle requests for this version.
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.
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.
Type | Description |
Duration |
MinTotalInstances
public int MinTotalInstances { get; set; }
Minimum number of running instances that should be maintained for this version.
Type | Description |
Int32 |
NetworkUtilization
public NetworkUtilization NetworkUtilization { get; set; }
Target scaling by network usage.
Type | Description |
NetworkUtilization |
RequestUtilization
public RequestUtilization RequestUtilization { get; set; }
Target scaling by request utilization.
Type | Description |
RequestUtilization |
StandardSchedulerSettings
public StandardSchedulerSettings StandardSchedulerSettings { get; set; }
Scheduler settings for standard environment.
Type | Description |
StandardSchedulerSettings |