public enum Reservation.Types.ScalingMode
Reference documentation and code samples for the BigQuery Reservation v1 API enum Reservation.Types.ScalingMode.
The scaling mode for the reservation. This enum determines how the reservation scales up and down.
Namespace
Google.Cloud.BigQuery.Reservation.V1Assembly
Google.Cloud.BigQuery.Reservation.V1.dll
Fields |
|
---|---|
Name | Description |
AllSlots |
The reservation will scale up using all slots available to it. It will use idle slots contributed by other reservations or from unassigned commitments first. If no idle slots are available it will scale up using autoscaling. For example, if max_slots is 1000, baseline is 200 and customer sets ScalingMode to ALL_SLOTS,
Please note, in this mode, the ignore_idle_slots field must be set to false. |
AutoscaleOnly |
The reservation will scale up only using slots from autoscaling. It will not use any idle slots even if there may be some available. The upper limit that autoscaling can scale up to will be max_slots - baseline. For example, if max_slots is 1000, baseline is 200 and customer sets ScalingMode to AUTOSCALE_ONLY, then autoscalerg will scale up to 800 slots and no idle slots will be used. Please note, in this mode, the ignore_idle_slots field must be set to true. |
IdleSlotsOnly |
The reservation will scale up using only idle slots contributed by other reservations or from unassigned commitments. If no idle slots are available it will not scale up further. If the idle slots which it is using are reclaimed by the contributing reservation(s) it may be forced to scale down. The max idle slots the reservation can be max_slots - baseline capacity. For example, if max_slots is 1000, baseline is 200 and customer sets ScalingMode to IDLE_SLOTS_ONLY,
Please note, in this mode, the ignore_idle_slots field must be set to false. |
Unspecified |
Default value of ScalingMode. |