共用方式為


ContainerAppRevisionResource.RestartRevision(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

public virtual Azure.Response RestartRevision (System.Threading.CancellationToken cancellationToken = default);
abstract member RestartRevision : System.Threading.CancellationToken -> Azure.Response
override this.RestartRevision : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RestartRevision (Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to