Class AutoscalingPolicy (1.5.0)

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.

Attributes

Name Description
node_type_id str
Required. The canonical identifier of the node type to add or remove. Corresponds to the NodeType.
scale_out_size int
Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.
cpu_thresholds google.cloud.vmwareengine_v1.types.AutoscalingSettings.Thresholds
Optional. Utilization thresholds pertaining to CPU utilization.
granted_memory_thresholds google.cloud.vmwareengine_v1.types.AutoscalingSettings.Thresholds
Optional. Utilization thresholds pertaining to amount of granted memory.
consumed_memory_thresholds google.cloud.vmwareengine_v1.types.AutoscalingSettings.Thresholds
Optional. Utilization thresholds pertaining to amount of consumed memory.
storage_thresholds google.cloud.vmwareengine_v1.types.AutoscalingSettings.Thresholds
Optional. Utilization thresholds pertaining to amount of consumed storage.