Compartilhar via


ContainerAppRevisionResource.RestartRevisionAsync(CancellationToken) Method

Definition

Restarts a revision for a Container App

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/restart
  • Operation Id: ContainerAppsRevisions_RestartRevision
  • Default Api Version: 2024-03-01
  • Resource: ContainerAppRevisionResource
public virtual System.Threading.Tasks.Task<Azure.Response> RestartRevisionAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RestartRevisionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RestartRevisionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RestartRevisionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to