public sealed class BasicScaling : IMessage<BasicScaling>, IEquatable<BasicScaling>, IDeepCloneable<BasicScaling>, IBufferMessage, IMessage
Reference documentation and code samples for the App Engine v1 API class BasicScaling.
A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
Implements
IMessageBasicScaling, IEquatableBasicScaling, IDeepCloneableBasicScaling, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
BasicScaling()
public BasicScaling()
BasicScaling(BasicScaling)
public BasicScaling(BasicScaling other)
Parameter | |
---|---|
Name | Description |
other | BasicScaling |
Properties
IdleTimeout
public Duration IdleTimeout { get; set; }
Duration of time after the last request that an instance must wait before the instance is shut down.
Property Value | |
---|---|
Type | Description |
Duration |
MaxInstances
public int MaxInstances { get; set; }
Maximum number of instances to create for this version.
Property Value | |
---|---|
Type | Description |
int |