WebSiteOperationsExtensions.Create Method

Definition

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)

public static Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteCreateResponse Create (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteCreateParameters parameters);
static member Create : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteCreateParameters -> Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteCreateResponse
<Extension()>
Public Function Create (operations As IWebSiteOperations, webSpaceName As String, parameters As WebSiteCreateParameters) As WebSiteCreateResponse

Parameters

operations
IWebSiteOperations

Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.

webSpaceName
String

Required. The name of the web space.

parameters
WebSiteCreateParameters

Required. Parameters supplied to the Create Web Site operation.

Returns

The Create Web Site operation response.

Applies to