Freigeben über


VirtualMachinesOperationsExtensions.RestartHostsAsync Methode

Definition

Startet die angegebenen HDInsight-Clusterhosts neu.

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

Parameter

operations
IVirtualMachinesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

clusterName
String

Der Name des Clusters.

hosts
IList<String>

Die Liste der neu zu startenden Hosts

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: