public sealed class AutoscalingConfig : IMessage<AutoscalingConfig>, IEquatable<AutoscalingConfig>, IDeepCloneable<AutoscalingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class AutoscalingConfig.
Autoscaling configuration for an instance.
Implements
IMessageAutoscalingConfig, IEquatableAutoscalingConfig, IDeepCloneableAutoscalingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Instance.V1Assembly
Google.Cloud.Spanner.Admin.Instance.V1.dll
Constructors
AutoscalingConfig()
public AutoscalingConfig()
AutoscalingConfig(AutoscalingConfig)
public AutoscalingConfig(AutoscalingConfig other)
Parameter | |
---|---|
Name | Description |
other |
AutoscalingConfig |
Properties
AsymmetricAutoscalingOptions
public RepeatedField<AutoscalingConfig.Types.AsymmetricAutoscalingOption> AsymmetricAutoscalingOptions { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldAutoscalingConfigTypesAsymmetricAutoscalingOption |
AutoscalingLimits
public AutoscalingConfig.Types.AutoscalingLimits AutoscalingLimits { get; set; }
Required. Autoscaling limits for an instance.
Property Value | |
---|---|
Type | Description |
AutoscalingConfigTypesAutoscalingLimits |
AutoscalingTargets
public AutoscalingConfig.Types.AutoscalingTargets AutoscalingTargets { get; set; }
Required. The autoscaling targets for an instance.
Property Value | |
---|---|
Type | Description |
AutoscalingConfigTypesAutoscalingTargets |