IWebHostingPlanOperations.CreateAsync Method (String, WebHostingPlanCreateParameters, CancellationToken)
Creates a new Web Hosting Plan. (see https://azure.microsoft.com/en-us/documentation/articles/azure-web-sites-web-hosting-plans-in-depth-overview/ for more information)
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
Task<WebHostingPlanCreateResponse> CreateAsync(
string webSpaceName,
WebHostingPlanCreateParameters parameters,
CancellationToken cancellationToken
)
Task<WebHostingPlanCreateResponse^>^ CreateAsync(
String^ webSpaceName,
WebHostingPlanCreateParameters^ parameters,
CancellationToken cancellationToken
)
abstract CreateAsync :
webSpaceName:string *
parameters:WebHostingPlanCreateParameters *
cancellationToken:CancellationToken -> Task<WebHostingPlanCreateResponse>
Function CreateAsync (
webSpaceName As String,
parameters As WebHostingPlanCreateParameters,
cancellationToken As CancellationToken
) As Task(Of WebHostingPlanCreateResponse)
Parameters
webSpaceName
Type: System.StringThe name of the web space.
parameters
Type: Microsoft.WindowsAzure.Management.WebSites.Models.WebHostingPlanCreateParametersWeb Hosting Plan Parameters.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebHostingPlanCreateResponse>
The Create Web Web Hosting Plan operation response.
See Also
IWebHostingPlanOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top