/// <summary>
 /// Updates the alert settings for the vault.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.SiteRecovery.IAlertSettingsOperations.
 /// </param>
 /// <param name='alertSettingsName'>
 /// Required. Alert Settings name.
 /// </param>
 /// <param name='input'>
 /// Required. Configure Alerts Request.
 /// </param>
 /// <param name='customRequestHeaders'>
 /// Optional. Request header parameters.
 /// </param>
 /// <returns>
 /// Model class for alerts response.
 /// </returns>
 public static AlertSettingsResponse Configure(this IAlertSettingsOperations operations, string alertSettingsName, ConfigureAlertSettingsRequest input, CustomRequestHeaders customRequestHeaders)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IAlertSettingsOperations)s).ConfigureAsync(alertSettingsName, input, customRequestHeaders);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Updates the alert settings for the vault.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.SiteRecovery.IAlertSettingsOperations.
 /// </param>
 /// <param name='alertSettingsName'>
 /// Required. Alert Settings name.
 /// </param>
 /// <param name='input'>
 /// Required. Configure Alerts Request.
 /// </param>
 /// <param name='customRequestHeaders'>
 /// Optional. Request header parameters.
 /// </param>
 /// <returns>
 /// Model class for alerts response.
 /// </returns>
 public static Task<AlertSettingsResponse> ConfigureAsync(this IAlertSettingsOperations operations, string alertSettingsName, ConfigureAlertSettingsRequest input, CustomRequestHeaders customRequestHeaders)
 {
     return operations.ConfigureAsync(alertSettingsName, input, customRequestHeaders, CancellationToken.None);
 }