GoogleApi.Spanner.V1.Model.AutoscalingConfig (google_api_spanner v0.48.0)

View Source

Autoscaling configuration for an instance.

Attributes

  • asymmetricAutoscalingOptions (type: list(GoogleApi.Spanner.V1.Model.AsymmetricAutoscalingOption.t), default: nil) - 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.
  • autoscalingLimits (type: GoogleApi.Spanner.V1.Model.AutoscalingLimits.t, default: nil) - Required. Autoscaling limits for an instance.
  • autoscalingTargets (type: GoogleApi.Spanner.V1.Model.AutoscalingTargets.t, default: nil) - Required. The autoscaling targets for an instance.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Spanner.V1.Model.AutoscalingConfig{
  asymmetricAutoscalingOptions:
    [GoogleApi.Spanner.V1.Model.AsymmetricAutoscalingOption.t()] | nil,
  autoscalingLimits: GoogleApi.Spanner.V1.Model.AutoscalingLimits.t() | nil,
  autoscalingTargets: GoogleApi.Spanner.V1.Model.AutoscalingTargets.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.