다음을 통해 공유


VirtualMachinesOperationsExtensions.ListHosts Method

Definition

Lists the HDInsight clusters hosts

public static System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.HostInfo> ListHosts (this Microsoft.Azure.Management.HDInsight.IVirtualMachinesOperations operations, string resourceGroupName, string clusterName);
static member ListHosts : Microsoft.Azure.Management.HDInsight.IVirtualMachinesOperations * string * string -> System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.HostInfo>
<Extension()>
Public Function ListHosts (operations As IVirtualMachinesOperations, resourceGroupName As String, clusterName As String) As IList(Of HostInfo)

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster.

Returns

Applies to