Class AutoscalingSettings (1.7.0)

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, 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.