Share via


WebHostingPlanOperationsExtensions.List 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
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Usage

'Usage
Dim operations As IWebHostingPlanOperations
Dim webSpaceName As String
Dim returnValue As WebHostingPlanListResponse

returnValue = WebHostingPlanOperationsExtensions.List(operations, webSpaceName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function List ( _
    operations As IWebHostingPlanOperations, _
    webSpaceName As String _
) As WebHostingPlanListResponse
[ExtensionAttribute] 
public static WebHostingPlanListResponse List (
    IWebHostingPlanOperations operations,
    string webSpaceName
)
[ExtensionAttribute] 
public:
static WebHostingPlanListResponse^ List (
    IWebHostingPlanOperations^ operations, 
    String^ webSpaceName
)
/** @attribute ExtensionAttribute() */ 
public static WebHostingPlanListResponse List (
    IWebHostingPlanOperations operations, 
    String webSpaceName
)
ExtensionAttribute 
public static function List (
    operations : IWebHostingPlanOperations, 
    webSpaceName : String
) : WebHostingPlanListResponse

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebHostingPlanOperations.
  • webSpaceName
    Required. The name of the web space.

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

WebHostingPlanOperationsExtensions Class
WebHostingPlanOperationsExtensions Members
Microsoft.WindowsAzure Namespace