Class AutoscalingLimits (3.43.0)

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

The autoscaling limits for the instance. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the min_limit and max_limit.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
min_nodes int
Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1. This field is a member of oneof_ min_limit.
min_processing_units int
Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000. This field is a member of oneof_ min_limit.
max_nodes int
Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes. This field is a member of oneof_ max_limit.
max_processing_units int
Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units. This field is a member of oneof_ max_limit.