Partilhar via


HDInsightClusterResource.GetVirtualMachineHosts(CancellationToken) Método

Definição

Lista os hosts de clusters HDInsight

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/listHosts
  • Operação IdVirtualMachines_ListHosts
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

O token de cancelamento a ser usado.

Retornos

Uma coleção de HDInsightClusterHostInfo que pode levar várias solicitações de serviço para iterar.

Aplica-se a