public sealed class AutoscalingConfig.Types.AutoscalingTargets : IMessage<AutoscalingConfig.Types.AutoscalingTargets>, IEquatable<AutoscalingConfig.Types.AutoscalingTargets>, IDeepCloneable<AutoscalingConfig.Types.AutoscalingTargets>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class AutoscalingConfig.Types.AutoscalingTargets.
The autoscaling targets for an instance.
Implements
IMessageAutoscalingConfigTypesAutoscalingTargets, IEquatableAutoscalingConfigTypesAutoscalingTargets, IDeepCloneableAutoscalingConfigTypesAutoscalingTargets, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Instance.V1Assembly
Google.Cloud.Spanner.Admin.Instance.V1.dll
Constructors
AutoscalingTargets()
public AutoscalingTargets()AutoscalingTargets(AutoscalingTargets)
public AutoscalingTargets(AutoscalingConfig.Types.AutoscalingTargets other)| Parameter | |
|---|---|
| Name | Description |
other |
AutoscalingConfigTypesAutoscalingTargets |
Properties
HighPriorityCpuUtilizationPercent
public int HighPriorityCpuUtilizationPercent { get; set; }Optional. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive. If not specified or set to 0, the autoscaler skips scaling based on high priority CPU utilization.
| Property Value | |
|---|---|
| Type | Description |
int |
|
StorageUtilizationPercent
public int StorageUtilizationPercent { get; set; }Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 99] inclusive.
| Property Value | |
|---|---|
| Type | Description |
int |
|
TotalCpuUtilizationPercent
public int TotalCpuUtilizationPercent { get; set; }Optional. The target total CPU utilization percentage that the autoscaler
should be trying to achieve for the instance. This number is on a scale
from 0 (no utilization) to 100 (full utilization). The valid range is
[10, 90] inclusive. If not specified or set to 0, the autoscaler skips
scaling based on total CPU utilization. If both
high_priority_cpu_utilization_percent and
total_cpu_utilization_percent are specified, the autoscaler provisions
the larger of the two required compute capacities to satisfy both
targets.
| Property Value | |
|---|---|
| Type | Description |
int |
|