public sealed class RolloutOptions : IMessage<RolloutOptions>, IEquatable<RolloutOptions>, IDeepCloneable<RolloutOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class RolloutOptions.
Configuration for rolling deployments.
Implements
IMessageRolloutOptions, IEquatableRolloutOptions, IDeepCloneableRolloutOptions, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
RolloutOptions()
public RolloutOptions()
RolloutOptions(RolloutOptions)
public RolloutOptions(RolloutOptions other)
Parameter | |
---|---|
Name | Description |
other |
RolloutOptions |
Properties
HasMaxSurgePercentage
public bool HasMaxSurgePercentage { get; }
Gets whether the "max_surge_percentage" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasMaxSurgeReplicas
public bool HasMaxSurgeReplicas { get; }
Gets whether the "max_surge_replicas" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasMaxUnavailablePercentage
public bool HasMaxUnavailablePercentage { get; }
Gets whether the "max_unavailable_percentage" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasMaxUnavailableReplicas
public bool HasMaxUnavailableReplicas { get; }
Gets whether the "max_unavailable_replicas" field is set
Property Value | |
---|---|
Type | Description |
bool |
MaxSurgeCase
public RolloutOptions.MaxSurgeOneofCase MaxSurgeCase { get; }
Property Value | |
---|---|
Type | Description |
RolloutOptionsMaxSurgeOneofCase |
MaxSurgePercentage
public int MaxSurgePercentage { get; set; }
Percentage of allowed additional replicas. For autoscaling deployments, this refers to the target replica count.
Property Value | |
---|---|
Type | Description |
int |
MaxSurgeReplicas
public int MaxSurgeReplicas { get; set; }
Absolute count of allowed additional replicas.
Property Value | |
---|---|
Type | Description |
int |
MaxUnavailableCase
public RolloutOptions.MaxUnavailableOneofCase MaxUnavailableCase { get; }
Property Value | |
---|---|
Type | Description |
RolloutOptionsMaxUnavailableOneofCase |
MaxUnavailablePercentage
public int MaxUnavailablePercentage { get; set; }
Percentage of replicas allowed to be unavailable. For autoscaling deployments, this refers to the target replica count.
Property Value | |
---|---|
Type | Description |
int |
MaxUnavailableReplicas
public int MaxUnavailableReplicas { get; set; }
Absolute count of replicas allowed to be unavailable.
Property Value | |
---|---|
Type | Description |
int |
PreviousDeployedModel
public string PreviousDeployedModel { get; set; }
ID of the DeployedModel that this deployment should replace.
Property Value | |
---|---|
Type | Description |
string |
RevisionNumber
public int RevisionNumber { get; set; }
Output only. Read-only. Revision number determines the relative priority of DeployedModels in the same rollout. The DeployedModel with the largest revision number specifies the intended state of the deployment.
Property Value | |
---|---|
Type | Description |
int |