/// <summary> /// Begin deleting the batch account.To determine whether the operation /// has finished processing the request, call /// GetLongRunningOperationStatus. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Batch.IAccountOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the resource group that contains the Batch /// account to be deleted. /// </param> /// <param name='accountName'> /// Required. The name of the account to be deleted. /// </param> /// <returns> /// A standard service response for long running operations. /// </returns> public static Task <LongRunningOperationResponse> BeginDeletingAsync(this IAccountOperations operations, string resourceGroupName, string accountName) { return(operations.BeginDeletingAsync(resourceGroupName, accountName, CancellationToken.None)); }