Share via


IRoleSizeOperations.ListAsync Method

The List Role Sizes operation lists all of the role sizes that are valid for your subscription.

Namespace: Microsoft.WindowsAzure.Management
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)

Usage

'Usage
Dim instance As IRoleSizeOperations
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of RoleSizeListResponse)

returnValue = instance.ListAsync(cancellationToken)

Syntax

'Declaration
Function ListAsync ( _
    cancellationToken As CancellationToken _
) As Task(Of RoleSizeListResponse)
Task<RoleSizeListResponse> ListAsync (
    CancellationToken cancellationToken
)
Task<RoleSizeListResponse^>^ ListAsync (
    CancellationToken cancellationToken
)
Task<RoleSizeListResponse> ListAsync (
    CancellationToken cancellationToken
)
function ListAsync (
    cancellationToken : CancellationToken
) : Task<RoleSizeListResponse>

Parameters

  • cancellationToken
    Cancellation token.

Return Value

The List Role Sizes 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

IRoleSizeOperations Interface
IRoleSizeOperations Members
Microsoft.WindowsAzure.Management Namespace