Share via


AffinityGroupOperationsExtensions.ListAsync Method (IAffinityGroupOperations)

 

Asynchronously lists the affinity groups that are associated with the specified subscription.

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

Syntax

public static Task<AffinityGroupListResponse> ListAsync(
    this IAffinityGroupOperations operations
)
public:
[ExtensionAttribute]
static Task<AffinityGroupListResponse^>^ ListAsync(
    IAffinityGroupOperations^ operations
)
static member ListAsync : 
        operations:IAffinityGroupOperations -> Task<AffinityGroupListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
    operations As IAffinityGroupOperations
) As Task(Of AffinityGroupListResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<AffinityGroupListResponse>

An AffinityGroupListResponse object that contains the list of affinity groups.

Remarks

For more information about retrieving a list of affinity groups, see the following resources:

See Also

AffinityGroupOperationsExtensions Class
Microsoft.WindowsAzure.Management Namespace

Return to top