IWebHostingPlanOperations.ListAsync Method (String, CancellationToken)
You can list the web spaces under the current subscription by issuing a GET request. (see https://msdn.microsoft.com/en-us/library/windowsazure/dn166961.aspx for more information)
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
Task<WebHostingPlanListResponse> ListAsync(
string webSpaceName,
CancellationToken cancellationToken
)
Task<WebHostingPlanListResponse^>^ ListAsync(
String^ webSpaceName,
CancellationToken cancellationToken
)
abstract ListAsync :
webSpaceName:string *
cancellationToken:CancellationToken -> Task<WebHostingPlanListResponse>
Function ListAsync (
webSpaceName As String,
cancellationToken As CancellationToken
) As Task(Of WebHostingPlanListResponse)
Parameters
webSpaceName
Type: System.StringThe name of the web space.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebHostingPlanListResponse>
The List Web Hosting Plans operation response.
See Also
IWebHostingPlanOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top