/// <summary> /// Deletes an application. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Batch.IApplicationOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the resource group that contains the Batch /// account. /// </param> /// <param name='accountName'> /// Required. The name of the Batch account. /// </param> /// <param name='applicationId'> /// Required. The id of the application. /// </param> /// <returns> /// A standard service response including an HTTP status code and /// request ID. /// </returns> public static Task <AzureOperationResponse> DeleteApplicationAsync(this IApplicationOperations operations, string resourceGroupName, string accountName, string applicationId) { return(operations.DeleteApplicationAsync(resourceGroupName, accountName, applicationId, CancellationToken.None)); }