Udostępnij za pośrednictwem


DedicatedHostsOperationsExtensions.ListByHostGroupAsync Method

Definition

Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostInner>> ListByHostGroupAsync (this Microsoft.Azure.Management.Compute.Fluent.IDedicatedHostsOperations operations, string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByHostGroupAsync : Microsoft.Azure.Management.Compute.Fluent.IDedicatedHostsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Fluent.Models.DedicatedHostInner>>
<Extension()>
Public Function ListByHostGroupAsync (operations As IDedicatedHostsOperations, resourceGroupName As String, hostGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DedicatedHostInner))

Parameters

operations
IDedicatedHostsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

hostGroupName
String

The name of the dedicated host group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to