ContainerAppRevisionResource.RestartRevisionAsync(CancellationToken) 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 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.