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 der dedizierten Hosts abzurufen.

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))

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: