Skip to main content

virtual_machines_hosts

Creates, updates, deletes, gets or lists a virtual_machines_hosts resource.

Overview

Namevirtual_machines_hosts
TypeResource
Idazure.hdinsight.virtual_machines_hosts

Fields

The following fields are returned by SELECT queries:

OK response definition.

NameDatatypeDescription
namestringThe host name
effectiveDiskEncryptionKeyUrlstringThe effective disk encryption key URL used by the host
fqdnstringThe Fully Qualified Domain Name of host

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, clusterNameLists the HDInsight clusters 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.

NameDatatypeDescription
clusterNamestringThe name of the cluster.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringThe subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Lists the HDInsight clusters hosts

SELECT
name,
effectiveDiskEncryptionKeyUrl,
fqdn
FROM azure.hdinsight.virtual_machines_hosts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
;