共用方式為


VirtualMachinesOperationsExtensions.RestartHosts Method

Definition

Restarts the specified HDInsight cluster hosts.

public static void RestartHosts (this Microsoft.Azure.Management.HDInsight.IVirtualMachinesOperations operations, string resourceGroupName, string clusterName, System.Collections.Generic.IList<string> hosts);
static member RestartHosts : Microsoft.Azure.Management.HDInsight.IVirtualMachinesOperations * string * string * System.Collections.Generic.IList<string> -> unit
<Extension()>
Public Sub RestartHosts (operations As IVirtualMachinesOperations, resourceGroupName As String, clusterName As String, hosts As IList(Of String))

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.

hosts
IList<String>

The list of hosts to restart

Applies to