Compartir a través de


VirtualMachinesOperationsExtensions.ListHostsAsync Método

Definición

Enumera los hosts de clústeres de HDInsight

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.HostInfo>> ListHostsAsync (this Microsoft.Azure.Management.HDInsight.IVirtualMachinesOperations operations, string resourceGroupName, string clusterName, System.Threading.CancellationToken cancellationToken = default);
static member ListHostsAsync : Microsoft.Azure.Management.HDInsight.IVirtualMachinesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.HostInfo>>
<Extension()>
Public Function ListHostsAsync (operations As IVirtualMachinesOperations, resourceGroupName As String, clusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of HostInfo))

Parámetros

operations
IVirtualMachinesOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

clusterName
String

Nombre del clúster.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a