HDInsightClusterResource.GetVirtualMachineHosts(CancellationToken) Method

Definition

Lists the HDInsight clusters hosts

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/listHosts
  • Operation Id: VirtualMachines_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)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of HDInsightClusterHostInfo that may take multiple service requests to iterate over.

Applies to