public sealed class BlueGreenSettings.Types.StandardRolloutPolicy : IMessage<BlueGreenSettings.Types.StandardRolloutPolicy>, IEquatable<BlueGreenSettings.Types.StandardRolloutPolicy>, IDeepCloneable<BlueGreenSettings.Types.StandardRolloutPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class BlueGreenSettings.Types.StandardRolloutPolicy.
Standard rollout policy is the default policy for blue-green.
Implements
IMessageBlueGreenSettingsTypesStandardRolloutPolicy, IEquatableBlueGreenSettingsTypesStandardRolloutPolicy, IDeepCloneableBlueGreenSettingsTypesStandardRolloutPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
StandardRolloutPolicy()
public StandardRolloutPolicy()
StandardRolloutPolicy(StandardRolloutPolicy)
public StandardRolloutPolicy(BlueGreenSettings.Types.StandardRolloutPolicy other)
Parameter | |
---|---|
Name | Description |
other | BlueGreenSettingsTypesStandardRolloutPolicy |
Properties
BatchNodeCount
public int BatchNodeCount { get; set; }
Number of blue nodes to drain in a batch.
Property Value | |
---|---|
Type | Description |
int |
BatchPercentage
public float BatchPercentage { get; set; }
Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
Property Value | |
---|---|
Type | Description |
float |
BatchSoakDuration
public Duration BatchSoakDuration { get; set; }
Soak time after each batch gets drained. Default to zero.
Property Value | |
---|---|
Type | Description |
Duration |
HasBatchNodeCount
public bool HasBatchNodeCount { get; }
Gets whether the "batch_node_count" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasBatchPercentage
public bool HasBatchPercentage { get; }
Gets whether the "batch_percentage" field is set
Property Value | |
---|---|
Type | Description |
bool |
UpdateBatchSizeCase
public BlueGreenSettings.Types.StandardRolloutPolicy.UpdateBatchSizeOneofCase UpdateBatchSizeCase { get; }
Property Value | |
---|---|
Type | Description |
BlueGreenSettingsTypesStandardRolloutPolicyUpdateBatchSizeOneofCase |