Compartir a través de


HDInsightClusterResource.GetVirtualMachineHosts(CancellationToken) Método

Definición

Enumera los hosts de clústeres de HDInsight

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/listHosts
  • IdVirtualMachines_ListHosts de operaciones
public virtual Azure.Pageable<Azure.ResourceManager.HDInsight.Models.HDInsightClusterHostInfo> GetVirtualMachineHosts (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualMachineHosts : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.Models.HDInsightClusterHostInfo>
override this.GetVirtualMachineHosts : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HDInsight.Models.HDInsightClusterHostInfo>
Public Overridable Function GetVirtualMachineHosts (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HDInsightClusterHostInfo)

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección de que puede tomar varias solicitudes de HDInsightClusterHostInfo servicio para iterar.

Se aplica a