WebSiteOperationsExtensions.Create Method (IWebSiteOperations, String, WebSiteCreateParameters)
You can create a web site by using a POST request that includes the name of the web site and other information in the request body. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn166986.aspx for more information)
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
<ExtensionAttribute> Public Shared Function Create ( operations As IWebSiteOperations, webSpaceName As String, parameters As WebSiteCreateParameters ) As WebSiteCreateResponse
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.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteCreateParameters
Required. Parameters supplied to the Create Web Site operation.
Return Value
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteCreateResponseThe Create Web Site operation response.
Show: