Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace AutoScalingPolicy

Autoscaling policies define the criteria that trigger autoscaling actions and the actions to take.

An autoscaling policy is part of an autoscaling configuration. For more information, see [Autoscaling](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm).

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.

Properties

Optional capacity

capacity: model.Capacity

The capacity requirements of the autoscaling policy.

Optional displayName

displayName: undefined | string

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

Optional id

id: undefined | string

The ID of the autoscaling policy that is assigned after creation.

Optional isEnabled

isEnabled: undefined | false | true

Whether the autoscaling policy is enabled.

policyType

policyType: string

timeCreated

timeCreated: Date

The date and time the autoscaling configuration was created, in the format defined by RFC3339.

Example: {@code 2016-08-25T21:10:29.600Z}

Functions

getDeserializedJsonObj

getJsonObj