WebSiteOperationsExtensions.UpdateConfigurationAsync Method (IWebSiteOperations, String, String, WebSiteUpdateConfigurationParameters)
You can update the config settings for a web site by issuing an HTTP PUT with a request body containing the updated settings. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn166985.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
public static Task<OperationResponse> UpdateConfigurationAsync( this IWebSiteOperations operations, string webSpaceName, string webSiteName, WebSiteUpdateConfigurationParameters parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations
Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
- webSpaceName
-
Type:
System.String
Required. The name of the web space.
- webSiteName
-
Type:
System.String
Required. The name of the web site.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateConfigurationParameters
Required. Parameters supplied to the Update Configuration Web Site operation.
Return Value
Type: System.Threading.Tasks.Task<OperationResponse>A standard service response including an HTTP status code and request ID.
Show: