/// <summary>
 /// Updates an existing Zapappi Application
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='subscriptionId'>
 /// The subscription id the application is attached too
 /// </param>
 /// <param name='appId'>
 /// The application id
 /// </param>
 /// <param name='description'>
 /// The application description
 /// </param>
 /// <param name='enabled'>
 /// Is the application enabled (call it be used to termiante calls)
 /// </param>
 /// <param name='scriptBody'>
 /// The script used to process the call
 /// </param>
 /// <param name='scriptUrl'>
 /// The Url of your script (if set, ScriptBody won't be used)
 /// </param>
 /// <param name='id'>
 /// </param>
 public static object UpdateApplication(this IApplications operations, string subscriptionId, string appId, string description, bool enabled, string scriptBody, string scriptUrl, string id)
 {
     return(operations.UpdateApplicationAsync(subscriptionId, appId, description, enabled, scriptBody, scriptUrl, id).GetAwaiter().GetResult());
 }