# Class AutoscalingSettings (1.12.0)

1.12.0 (latest) 1.11.0 1.10.0 1.9.0 1.8.3 1.7.0 1.6.1 1.5.0 1.4.4 1.3.0 1.2.0 1.1.1 1.0.1 0.2.2 0.1.1

    AutoscalingSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Autoscaling settings define the rules used by VMware Engine
to automatically scale-out and scale-in the clusters in a
private cloud.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `autoscaling_policies` | `MutableMapping[str, https://docs.cloud.google.com/python/docs/reference/vmwareengine/latest/google.cloud.vmwareengine_v1.types.AutoscalingSettings.AutoscalingPolicy]` Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements: - Only contains 1-63 alphanumeric characters and hyphens - Begins with an alphabetical character - Ends with a non-hyphen character - Not formatted as a UUID - Complies with \`RFC 1034 |
| `min_cluster_node_count` | `int` Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply. |
| `max_cluster_node_count` | `int` Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply. |
| `cool_down_period` | `google.protobuf.duration_pb2.Duration` Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes). |

## Classes

### AutoscalingPoliciesEntry

    AutoscalingPoliciesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### AutoscalingPolicy

    AutoscalingPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Autoscaling policy describes the behavior of the autoscaling
with respect to the resource utilization.
The scale-out operation is initiated if the utilization exceeds
ANY of the respective thresholds.
The scale-in operation is initiated if the utilization is below
ALL of the respective thresholds.

### Thresholds

    Thresholds(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Thresholds define the utilization of resources triggering
scale-out and scale-in operations.