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 https://msdn.microsoft.com/en-us/library/windowsazure/dn166986.aspx for more information)
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
public static WebSiteCreateResponse Create(
this IWebSiteOperations operations,
string webSpaceName,
WebSiteCreateParameters parameters
)
public:
[ExtensionAttribute]
static WebSiteCreateResponse^ Create(
IWebSiteOperations^ operations,
String^ webSpaceName,
WebSiteCreateParameters^ parameters
)
static member Create :
operations:IWebSiteOperations *
webSpaceName:string *
parameters:WebSiteCreateParameters -> WebSiteCreateResponse
<ExtensionAttribute>
Public Shared Function Create (
operations As IWebSiteOperations,
webSpaceName As String,
parameters As WebSiteCreateParameters
) As WebSiteCreateResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperationsReference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.
webSpaceName
Type: System.StringRequired. The name of the web space.
parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteCreateParametersRequired. Parameters supplied to the Create Web Site operation.
Return Value
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteCreateResponse
The Create Web Site operation response.
See Also
WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace
Return to top