Google Cloud Spanner Instance Administration v1 API - Class AutoscalingConfig.Types.AutoscalingLimits (5.0.0-beta03)

public sealed class AutoscalingConfig.Types.AutoscalingLimits : IMessage<AutoscalingConfig.Types.AutoscalingLimits>, IEquatable<AutoscalingConfig.Types.AutoscalingLimits>, IDeepCloneable<AutoscalingConfig.Types.AutoscalingLimits>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class AutoscalingConfig.Types.AutoscalingLimits.

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.

Inheritance

object > AutoscalingConfig.Types.AutoscalingLimits

Namespace

Google.Cloud.Spanner.Admin.Instance.V1

Assembly

Google.Cloud.Spanner.Admin.Instance.V1.dll

Constructors

AutoscalingLimits()

public AutoscalingLimits()

AutoscalingLimits(AutoscalingLimits)

public AutoscalingLimits(AutoscalingConfig.Types.AutoscalingLimits other)
Parameter
Name Description
other AutoscalingConfigTypesAutoscalingLimits

Properties

HasMaxNodes

public bool HasMaxNodes { get; }

Gets whether the "max_nodes" field is set

Property Value
Type Description
bool

HasMaxProcessingUnits

public bool HasMaxProcessingUnits { get; }

Gets whether the "max_processing_units" field is set

Property Value
Type Description
bool

HasMinNodes

public bool HasMinNodes { get; }

Gets whether the "min_nodes" field is set

Property Value
Type Description
bool

HasMinProcessingUnits

public bool HasMinProcessingUnits { get; }

Gets whether the "min_processing_units" field is set

Property Value
Type Description
bool

MaxLimitCase

public AutoscalingConfig.Types.AutoscalingLimits.MaxLimitOneofCase MaxLimitCase { get; }
Property Value
Type Description
AutoscalingConfigTypesAutoscalingLimitsMaxLimitOneofCase

MaxNodes

public int MaxNodes { get; set; }

Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.

Property Value
Type Description
int

MaxProcessingUnits

public int MaxProcessingUnits { get; set; }

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.

Property Value
Type Description
int

MinLimitCase

public AutoscalingConfig.Types.AutoscalingLimits.MinLimitOneofCase MinLimitCase { get; }
Property Value
Type Description
AutoscalingConfigTypesAutoscalingLimitsMinLimitOneofCase

MinNodes

public int MinNodes { get; set; }

Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.

Property Value
Type Description
int

MinProcessingUnits

public int MinProcessingUnits { get; set; }

Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.

Property Value
Type Description
int