Class AutoscalingConfig (3.51.0)

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

Autoscaling configuration for an instance.

Attributes

Name Description
autoscaling_limits google.cloud.spanner_admin_instance_v1.types.AutoscalingConfig.AutoscalingLimits
Required. Autoscaling limits for an instance.
autoscaling_targets google.cloud.spanner_admin_instance_v1.types.AutoscalingConfig.AutoscalingTargets
Required. The autoscaling targets for an instance.
asymmetric_autoscaling_options MutableSequence[google.cloud.spanner_admin_instance_v1.types.AutoscalingConfig.AsymmetricAutoscalingOption]
Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.

Classes

AsymmetricAutoscalingOption

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

AsymmetricAutoscalingOption specifies the scaling of replicas identified by the given selection.

AutoscalingLimits

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

AutoscalingTargets

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

The autoscaling targets for an instance.