Delen via


VirtualMachines interface

Interface die een VirtualMachines vertegenwoordigt.

Methoden

beginRestartHosts(string, string, string[], VirtualMachinesRestartHostsOptionalParams)

Start de opgegeven HDInsight-clusterhosts opnieuw.

beginRestartHostsAndWait(string, string, string[], VirtualMachinesRestartHostsOptionalParams)

Start de opgegeven HDInsight-clusterhosts opnieuw.

getAsyncOperationStatus(string, string, string, VirtualMachinesGetAsyncOperationStatusOptionalParams)

Hiermee haalt u de asynchrone bewerkingsstatus op.

listHosts(string, string, VirtualMachinesListHostsOptionalParams)

Een overzicht van de HDInsight-clustershosts

Methodedetails

beginRestartHosts(string, string, string[], VirtualMachinesRestartHostsOptionalParams)

Start de opgegeven HDInsight-clusterhosts opnieuw.

function beginRestartHosts(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van het cluster.

hosts

string[]

De lijst met hosts die opnieuw moeten worden opgestart

options
VirtualMachinesRestartHostsOptionalParams

De optiesparameters.

Retouren

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginRestartHostsAndWait(string, string, string[], VirtualMachinesRestartHostsOptionalParams)

Start de opgegeven HDInsight-clusterhosts opnieuw.

function beginRestartHostsAndWait(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise<void>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van het cluster.

hosts

string[]

De lijst met hosts die opnieuw moeten worden opgestart

options
VirtualMachinesRestartHostsOptionalParams

De optiesparameters.

Retouren

Promise<void>

getAsyncOperationStatus(string, string, string, VirtualMachinesGetAsyncOperationStatusOptionalParams)

Hiermee haalt u de asynchrone bewerkingsstatus op.

function getAsyncOperationStatus(resourceGroupName: string, clusterName: string, operationId: string, options?: VirtualMachinesGetAsyncOperationStatusOptionalParams): Promise<AsyncOperationResult>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van het cluster.

operationId

string

De langlopende bewerkings-id.

Retouren

listHosts(string, string, VirtualMachinesListHostsOptionalParams)

Een overzicht van de HDInsight-clustershosts

function listHosts(resourceGroupName: string, clusterName: string, options?: VirtualMachinesListHostsOptionalParams): Promise<VirtualMachinesListHostsResponse>

Parameters

resourceGroupName

string

De naam van de resourcegroep.

clusterName

string

De naam van het cluster.

options
VirtualMachinesListHostsOptionalParams

De optiesparameters.

Retouren