BatchApplicationResource.UpdateAsync Method

Definition

Updates settings for the specified application.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}
  • Operation Id: Application_Update
  • Default Api Version: 2024-07-01
  • Resource: BatchApplicationResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchApplicationResource>> UpdateAsync (Azure.ResourceManager.Batch.BatchApplicationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Batch.BatchApplicationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchApplicationResource>>
override this.UpdateAsync : Azure.ResourceManager.Batch.BatchApplicationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchApplicationResource>>
Public Overridable Function UpdateAsync (data As BatchApplicationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BatchApplicationResource))

Parameters

data
BatchApplicationData

The parameters for the request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to