public sealed class AutoscalingSettings.Types.AutoscalingPolicy : IMessage<AutoscalingSettings.Types.AutoscalingPolicy>, IEquatable<AutoscalingSettings.Types.AutoscalingPolicy>, IDeepCloneable<AutoscalingSettings.Types.AutoscalingPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the VMware Engine v1 API class AutoscalingSettings.Types.AutoscalingPolicy.
Autoscaling policy describes the behavior of the autoscaling with respect to the resource utilization. The scale-out operation is initiated if the utilization exceeds ANY of the respective thresholds. The scale-in operation is initiated if the utilization is below ALL of the respective thresholds.
Implements
IMessageAutoscalingSettingsTypesAutoscalingPolicy, IEquatableAutoscalingSettingsTypesAutoscalingPolicy, IDeepCloneableAutoscalingSettingsTypesAutoscalingPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.VmwareEngine.V1Assembly
Google.Cloud.VmwareEngine.V1.dll
Constructors
AutoscalingPolicy()
public AutoscalingPolicy()
AutoscalingPolicy(AutoscalingPolicy)
public AutoscalingPolicy(AutoscalingSettings.Types.AutoscalingPolicy other)
Parameter | |
---|---|
Name | Description |
other |
AutoscalingSettingsTypesAutoscalingPolicy |
Properties
ConsumedMemoryThresholds
public AutoscalingSettings.Types.Thresholds ConsumedMemoryThresholds { get; set; }
Optional. Utilization thresholds pertaining to amount of consumed memory.
Property Value | |
---|---|
Type | Description |
AutoscalingSettingsTypesThresholds |
CpuThresholds
public AutoscalingSettings.Types.Thresholds CpuThresholds { get; set; }
Optional. Utilization thresholds pertaining to CPU utilization.
Property Value | |
---|---|
Type | Description |
AutoscalingSettingsTypesThresholds |
GrantedMemoryThresholds
public AutoscalingSettings.Types.Thresholds GrantedMemoryThresholds { get; set; }
Optional. Utilization thresholds pertaining to amount of granted memory.
Property Value | |
---|---|
Type | Description |
AutoscalingSettingsTypesThresholds |
NodeTypeId
public string NodeTypeId { get; set; }
Required. The canonical identifier of the node type to add or remove.
Corresponds to the NodeType
.
Property Value | |
---|---|
Type | Description |
string |
ScaleOutSize
public int ScaleOutSize { get; set; }
Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.
Property Value | |
---|---|
Type | Description |
int |
StorageThresholds
public AutoscalingSettings.Types.Thresholds StorageThresholds { get; set; }
Optional. Utilization thresholds pertaining to amount of consumed storage.
Property Value | |
---|---|
Type | Description |
AutoscalingSettingsTypesThresholds |