IWebHostingPlanOperations.CreateAsync Method
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)
Usage
'Usage
Dim instance As IWebHostingPlanOperations
Dim webSpaceName As String
Dim parameters As WebHostingPlanCreateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of WebHostingPlanCreateResponse)
returnValue = instance.CreateAsync(webSpaceName, parameters, cancellationToken)
Syntax
'Declaration
Function CreateAsync ( _
webSpaceName As String, _
parameters As WebHostingPlanCreateParameters, _
cancellationToken As CancellationToken _
) As Task(Of WebHostingPlanCreateResponse)
Task<WebHostingPlanCreateResponse> CreateAsync (
string webSpaceName,
WebHostingPlanCreateParameters parameters,
CancellationToken cancellationToken
)
Task<WebHostingPlanCreateResponse^>^ CreateAsync (
String^ webSpaceName,
WebHostingPlanCreateParameters^ parameters,
CancellationToken cancellationToken
)
Task<WebHostingPlanCreateResponse> CreateAsync (
String webSpaceName,
WebHostingPlanCreateParameters parameters,
CancellationToken cancellationToken
)
function CreateAsync (
webSpaceName : String,
parameters : WebHostingPlanCreateParameters,
cancellationToken : CancellationToken
) : Task<WebHostingPlanCreateResponse>
Parameters
- webSpaceName
The name of the web space.
- parameters
Web Hosting Plan Parameters.
- cancellationToken
Cancellation token.
Return Value
The Create Web Web Hosting Plan operation response.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
IWebHostingPlanOperations Interface
IWebHostingPlanOperations Members
Microsoft.WindowsAzure.Management.WebSites Namespace