public sealed class AutoscalingSettings : IMessage<AutoscalingSettings>, IEquatable<AutoscalingSettings>, IDeepCloneable<AutoscalingSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the VMware Engine v1 API class AutoscalingSettings.
Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud.
Implements
IMessageAutoscalingSettings, IEquatableAutoscalingSettings, IDeepCloneableAutoscalingSettings, IBufferMessage, IMessageNamespace
Google.Cloud.VmwareEngine.V1Assembly
Google.Cloud.VmwareEngine.V1.dll
Constructors
AutoscalingSettings()
public AutoscalingSettings()
AutoscalingSettings(AutoscalingSettings)
public AutoscalingSettings(AutoscalingSettings other)
Parameter | |
---|---|
Name | Description |
other |
AutoscalingSettings |
Properties
AutoscalingPolicies
public MapField<string, AutoscalingSettings.Types.AutoscalingPolicy> AutoscalingPolicies { get; }
Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements:
- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5)
Currently there map must contain only one element that describes the autoscaling policy for compute nodes.
Property Value | |
---|---|
Type | Description |
MapFieldstringAutoscalingSettingsTypesAutoscalingPolicy |
CoolDownPeriod
public Duration CoolDownPeriod { get; set; }
Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes).
Property Value | |
---|---|
Type | Description |
Duration |
MaxClusterNodeCount
public int MaxClusterNodeCount { get; set; }
Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.
Property Value | |
---|---|
Type | Description |
int |
MinClusterNodeCount
public int MinClusterNodeCount { get; set; }
Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.
Property Value | |
---|---|
Type | Description |
int |