Partilhar via


EdgeActionVersionResource.DeployVersionCodeAsync Method

Definition

A long-running resource action.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}/deployVersionCode.
  • Operation Id. : EdgeActionVersions_DeployVersionCode.
  • Default Api Version. : 2025-09-01-preview.
  • Resource. : EdgeActionVersionResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionProperties>> DeployVersionCodeAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionCode content, System.Threading.CancellationToken cancellationToken = default);
abstract member DeployVersionCodeAsync : Azure.WaitUntil * Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionCode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionProperties>>
override this.DeployVersionCodeAsync : Azure.WaitUntil * Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionCode * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionProperties>>
Public Overridable Function DeployVersionCodeAsync (waitUntil As WaitUntil, content As EdgeActionVersionCode, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of EdgeActionVersionProperties))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
EdgeActionVersionCode

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to