Freigeben über


DedicatedHostsOperationsExtensions.ListByHostGroupAsync Methode

Definition

Listet alle dedizierten Hosts in der angegebenen dedizierten Hostgruppe auf. Verwenden Sie die nextLink-Eigenschaft in der Antwort, um die nächste Seite dedizierter Hosts abzurufen.

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

Parameter

operations
IDedicatedHostsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

hostGroupName
String

Der Name der dedizierten Hostgruppe.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: