Udostępnij za pośrednictwem


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

Parameters

operations
IDedicatedHostGroupsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to