RolloutsOperationsExtensions.RestartAsync Method

Definition

Restarts a failed rollout and optionally skips all succeeded steps.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeploymentManager.Models.Rollout> RestartAsync (this Microsoft.Azure.Management.DeploymentManager.IRolloutsOperations operations, string resourceGroupName, string rolloutName, bool? skipSucceeded = default, System.Threading.CancellationToken cancellationToken = default);
static member RestartAsync : Microsoft.Azure.Management.DeploymentManager.IRolloutsOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeploymentManager.Models.Rollout>
<Extension()>
Public Function RestartAsync (operations As IRolloutsOperations, resourceGroupName As String, rolloutName As String, Optional skipSucceeded As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Rollout)

Parameters

operations
IRolloutsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

rolloutName
String

The rollout name.

skipSucceeded
Nullable<Boolean>

If true, will skip all succeeded steps so far in the rollout. If false, will execute the entire rollout again regardless of the current state of individual resources. Defaults to false if not specified.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Only failed rollouts can be restarted.

Applies to