/// <summary>
 /// Update list of app settings and connection strings which to be slot
 /// specific. E.g. settings in staging slots remain in staging after
 /// swap with production.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.WebSites.IWebSiteOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group
 /// </param>
 /// <param name='webSiteName'>
 /// Required. The name of the website
 /// </param>
 /// <param name='parameters'>
 /// Required. The Update slot configs parameters
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static Task<OperationResponse> UpdateSlotConfigNamesAsync(this IWebSiteOperations operations, string resourceGroupName, string webSiteName, SlotConfigNamesUpdateParameters parameters)
 {
     return operations.UpdateSlotConfigNamesAsync(resourceGroupName, webSiteName, parameters, CancellationToken.None);
 }
 /// <summary>
 /// Update list of app settings and connection strings which to be slot
 /// specific. E.g. settings in staging slots remain in staging after
 /// swap with production.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.WebSites.IWebSiteOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group
 /// </param>
 /// <param name='webSiteName'>
 /// Required. The name of the website
 /// </param>
 /// <param name='parameters'>
 /// Required. The Update slot configs parameters
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static OperationResponse UpdateSlotConfigNames(this IWebSiteOperations operations, string resourceGroupName, string webSiteName, SlotConfigNamesUpdateParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IWebSiteOperations)s).UpdateSlotConfigNamesAsync(resourceGroupName, webSiteName, parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }