DedicatedHostGroupsOperationsExtensions.ListBySubscriptionAsync Method

Definition

Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup>> ListBySubscriptionAsync (this Microsoft.Azure.Management.Compute.IDedicatedHostGroupsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.Compute.IDedicatedHostGroupsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.DedicatedHostGroup>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IDedicatedHostGroupsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DedicatedHostGroup))

Parameters

operations
IDedicatedHostGroupsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to