VirtualMachines interface
Interface die een VirtualMachines vertegenwoordigt.
Methoden
begin |
Start de opgegeven HDInsight-clusterhosts opnieuw. |
begin |
Start de opgegeven HDInsight-clusterhosts opnieuw. |
get |
Hiermee haalt u de asynchrone bewerkingsstatus op. |
list |
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
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
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.
De optiesparameters.
Retouren
Promise<AsyncOperationResult>
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.
De optiesparameters.
Retouren
Promise<VirtualMachinesListHostsResponse>