IWebHostingPlanOperations.ListAsync Method
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)
Usage
'Usage
Dim instance As IWebHostingPlanOperations
Dim webSpaceName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of WebHostingPlanListResponse)
returnValue = instance.ListAsync(webSpaceName, cancellationToken)
Syntax
'Declaration
Function ListAsync ( _
webSpaceName As String, _
cancellationToken As CancellationToken _
) As Task(Of WebHostingPlanListResponse)
Task<WebHostingPlanListResponse> ListAsync (
string webSpaceName,
CancellationToken cancellationToken
)
Task<WebHostingPlanListResponse^>^ ListAsync (
String^ webSpaceName,
CancellationToken cancellationToken
)
Task<WebHostingPlanListResponse> ListAsync (
String webSpaceName,
CancellationToken cancellationToken
)
function ListAsync (
webSpaceName : String,
cancellationToken : CancellationToken
) : Task<WebHostingPlanListResponse>
Parameters
- webSpaceName
The name of the web space.
- cancellationToken
Cancellation token.
Return Value
The List Web Hosting Plans 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