public sealed class AutomaticScaling : IMessage<AutomaticScaling>, IEquatable<AutomaticScaling>, IDeepCloneable<AutomaticScaling>, IBufferMessage, IMessage
Reference documentation and code samples for the App Engine v1 API class AutomaticScaling.
Automatic scaling is based on request rate, response latencies, and other application metrics.
Implements
IMessageAutomaticScaling, IEquatableAutomaticScaling, IDeepCloneableAutomaticScaling, IBufferMessage, 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 |
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 |
int |
MaxIdleInstances
public int MaxIdleInstances { get; set; }
Maximum number of idle instances that should be maintained for this version.
Property Value | |
---|---|
Type | Description |
int |
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 |
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 |
int |
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 |
int |
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 |
Duration |
MinTotalInstances
public int MinTotalInstances { get; set; }
Minimum number of running instances that should be maintained for this version.
Property Value | |
---|---|
Type | Description |
int |
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 |