共用方式為


ContainerAppRevisionResource.ActivateRevisionAsync(CancellationToken) Method

Definition

Activates a revision for a Container App

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to