RolloutsOperationsExtensions.RestartAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Azure SDK for .NET