Show / Hide Table of Contents

Class CreateAutoScalingPolicyDetails

Creation details for an autoscaling policy. You can create the following types of autoscaling policies:

  • Schedule-based: Autoscaling events take place at the specific times that you schedule.
  • Threshold-based: An autoscaling action is triggered when a performance metric meets or exceeds a threshold.
    An autoscaling configuration can either have multiple schedule-based autoscaling policies, or one threshold-based autoscaling policy.
Inheritance
object
CreateAutoScalingPolicyDetails
CreateScheduledPolicyDetails
CreateThresholdPolicyDetails
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
[JsonConverter(typeof(CreateAutoScalingPolicyDetailsModelConverter))]
public class CreateAutoScalingPolicyDetails

Properties

Capacity

Declaration
[JsonProperty(PropertyName = "capacity")]
public Capacity Capacity { get; set; }
Property Value
Type Description
Capacity

The capacity requirements of the autoscaling policy.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

IsEnabled

Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

Whether the autoscaling policy is enabled.

In this article
Back to top