Share via


ContainerAppRevisionResource.DeactivateRevisionAsync Method

Definition

Deactivates a revision for a Container App

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to