virtual_machines
Creates, updates, deletes, gets or lists a virtual_machines
resource.
Overview
Name | virtual_machines |
Type | Resource |
Id | azure.hdinsight.virtual_machines |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
restart_hosts | exec | subscriptionId , resourceGroupName , clusterName | Restarts the specified HDInsight cluster hosts. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
clusterName | string | The name of the cluster. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string | The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
Lifecycle Methods
- restart_hosts
Restarts the specified HDInsight cluster hosts.
EXEC azure.hdinsight.virtual_machines.restart_hosts
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@clusterName='{{ clusterName }}' --required
;