Auto Scaling Data Types
This section describes common data types used in auto-scaling API calls.
Type
autoscale-settings
Syntax
Element |
Attribute |
Description |
---|---|---|
|
|
Container for an individual auto scaling rule. This element may appear more than once (one for each rule). |
|
|
Not currently used. Type: boolean |
|
|
Used for output only. If set to true, it indicates that a request to delete the rule has been received but has not been completed yet. Type: boolean |
|
|
The type of resource to auto scale. Possible values: "cpu" – CPU "ram" – RAM Type: string |
|
|
Used for output only. Version information. Type: int |
|
|
Used for output only. The date and time of the last rule update operation. Type: timestamp |
|
|
Used for output only. Indicates whether the rule update has been processed and delivered to the server.
Type: boolean |
|
|
Used for output only. The date and time when the rule update has been delivered to the server. Type: timestamp |
|
|
Specifies whether to allow migration of the server to a different hardware node. Type: boolean. Default is True. |
|
|
Specifies whether to allow the server restart if needed. Type: boolean. Default is False. |
|
|
Container for scaling limits. |
|
|
The minimum allowed resource limit. This value is used when a resource is downscaled. Specified in megabytes for RAM and megahertz for CPU. Type: int |
|
|
The maximum allowed resource limit. This value is used when a resource is upscaled. Specified in megabytes for RAM and megahertz for CPU. Type: int |
|
|
An increment or decrement of a resource usage to be performed in a single scaling step. Specified in megabytes for RAM and megahertz for CPU. Type: int |
|
|
Container for threshold information. |
|
|
Upscaling threshold. |
|
|
Specifies the total load of the resource (percentage). When this value is reached and maintained for the specified period of time (see Type: int (0–100) |
|
|
Specifies the time period, in seconds, of the threshold state after which resource upscaling will be performed. Type: int |
|
|
Downscaling threshold. |
|
|
Specifies the total load of the resource (percentage). When this value is reached and maintained for the specified period of time (see Type: int (0–100) |
|
|
Specifies the time period, in seconds, of the threshold state after which resource downscaling will be performed. Type: int |