Show / Hide Table of Contents

Class Capacity

Capacity limits for the instance pool.

Inheritance
object
Capacity
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AutoscalingService.Models
Assembly: OCI.DotNetSDK.Autoscaling.dll
Syntax
public class Capacity

Properties

Initial

Declaration
[JsonProperty(PropertyName = "initial")]
public int? Initial { get; set; }
Property Value
Type Description
int?

For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this initial number to a number that is based on the limits that you set.
For a schedule-based autoscaling policy, this value is the target pool size to scale to when executing the schedule that's defined in the autoscaling policy.

Max

Declaration
[JsonProperty(PropertyName = "max")]
public int? Max { get; set; }
Property Value
Type Description
int?

For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out).
For a schedule-based autoscaling policy, this value is not used.

Min

Declaration
[JsonProperty(PropertyName = "min")]
public int? Min { get; set; }
Property Value
Type Description
int?

For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in).
For a schedule-based autoscaling policy, this value is not used.

In this article
Back to top