Share via


ContainerAppsRevisionsOperationsExtensions.RestartRevisionAsync Method

Definition

Restarts a revision for a Container App

public static System.Threading.Tasks.Task RestartRevisionAsync (this Microsoft.Azure.Management.WebSites.IContainerAppsRevisionsOperations operations, string resourceGroupName, string containerAppName, string name, System.Threading.CancellationToken cancellationToken = default);
static member RestartRevisionAsync : Microsoft.Azure.Management.WebSites.IContainerAppsRevisionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RestartRevisionAsync (operations As IContainerAppsRevisionsOperations, resourceGroupName As String, containerAppName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IContainerAppsRevisionsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

containerAppName
String

Name of the Container App.

name
String

Name of the Container App Revision to restart

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to