PredictiveAutoscalePolicy Class
The parameters for enabling predictive autoscale.
All required parameters must be populated in order to send to server.
Constructor
PredictiveAutoscalePolicy(*, scale_mode: str | _models.PredictiveAutoscalePolicyScaleMode, scale_look_ahead_time: timedelta | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
scale_mode
|
the predictive autoscale mode. Required. Known values are: "Disabled", "ForecastOnly", and "Enabled". |
|
scale_look_ahead_time
|
the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format. Default value: None
|
Variables
| Name | Description |
|---|---|
|
scale_mode
|
the predictive autoscale mode. Required. Known values are: "Disabled", "ForecastOnly", and "Enabled". |
|
scale_look_ahead_time
|
the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format. |