/// <summary>
 /// Delete an application.  (see
 /// http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx for
 /// more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the Microsoft.Azure.Graph.RBAC.IApplicationOperations.
 /// </param>
 /// <param name='applicationObjectId'>
 /// Required. Application object id
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static Task <AzureOperationResponse> DeleteAsync(this IApplicationOperations operations, string applicationObjectId)
 {
     return(operations.DeleteAsync(applicationObjectId, CancellationToken.None));
 }
 /// <summary>
 /// Deletes the application resource.
 /// </summary>
 /// <remarks>
 /// Deletes the application resource identified by the name.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Azure resource group name
 /// </param>
 /// <param name='applicationResourceName'>
 /// The identity of the application.
 /// </param>
 public static void Delete(this IApplicationOperations operations, string resourceGroupName, string applicationResourceName)
 {
     operations.DeleteAsync(resourceGroupName, applicationResourceName).GetAwaiter().GetResult();
 }