Class AutomaticScaling (1.2.0)

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.

Inheritance

Object > AutomaticScaling

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

AutomaticScaling()

public AutomaticScaling()

AutomaticScaling(AutomaticScaling)

public AutomaticScaling(AutomaticScaling other)
Parameter
NameDescription
otherAutomaticScaling

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
TypeDescription
Duration

CpuUtilization

public CpuUtilization CpuUtilization { get; set; }

Target scaling by CPU usage.

Property Value
TypeDescription
CpuUtilization

DiskUtilization

public DiskUtilization DiskUtilization { get; set; }

Target scaling by disk usage.

Property Value
TypeDescription
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
TypeDescription
Int32

MaxIdleInstances

public int MaxIdleInstances { get; set; }

Maximum number of idle instances that should be maintained for this version.

Property Value
TypeDescription
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
TypeDescription
Duration

MaxTotalInstances

public int MaxTotalInstances { get; set; }

Maximum number of instances that should be started to handle requests for this version.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
Duration

MinTotalInstances

public int MinTotalInstances { get; set; }

Minimum number of running instances that should be maintained for this version.

Property Value
TypeDescription
Int32

NetworkUtilization

public NetworkUtilization NetworkUtilization { get; set; }

Target scaling by network usage.

Property Value
TypeDescription
NetworkUtilization

RequestUtilization

public RequestUtilization RequestUtilization { get; set; }

Target scaling by request utilization.

Property Value
TypeDescription
RequestUtilization

StandardSchedulerSettings

public StandardSchedulerSettings StandardSchedulerSettings { get; set; }

Scheduler settings for standard environment.

Property Value
TypeDescription
StandardSchedulerSettings