1.0.0-beta87 (latest) 1.0.0-beta86

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RolloutOptions

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RolloutOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RolloutOptions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RolloutOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RolloutOptions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RolloutOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RolloutOptions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### RolloutOptions()

    public RolloutOptions()

### RolloutOptions(RolloutOptions)

    public RolloutOptions(RolloutOptions other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RolloutOptions` |

## Properties

### HasMaxSurgePercentage

    public bool HasMaxSurgePercentage { get; }

Gets whether the "max_surge_percentage" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasMaxSurgeReplicas

    public bool HasMaxSurgeReplicas { get; }

Gets whether the "max_surge_replicas" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasMaxUnavailablePercentage

    public bool HasMaxUnavailablePercentage { get; }

Gets whether the "max_unavailable_percentage" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasMaxUnavailableReplicas

    public bool HasMaxUnavailableReplicas { get; }

Gets whether the "max_unavailable_replicas" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### MaxSurgeCase

    public RolloutOptions.MaxSurgeOneofCase MaxSurgeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RolloutOptionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RolloutOptions.MaxSurgeOneofCase` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### MaxSurgeReplicas

    public int MaxSurgeReplicas { get; set; }

Absolute count of allowed additional replicas.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### MaxUnavailableCase

    public RolloutOptions.MaxUnavailableOneofCase MaxUnavailableCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RolloutOptionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RolloutOptions.MaxUnavailableOneofCase` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### MaxUnavailableReplicas

    public int MaxUnavailableReplicas { get; set; }

Absolute count of replicas allowed to be unavailable.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### PreviousDeployedModel

    public string PreviousDeployedModel { get; set; }

ID of the DeployedModel that this deployment should replace.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |