Skip to main content

vm_hosts

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

Overview

Namevm_hosts
TypeResource
Idazure_isv.elastic.vm_hosts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
vmResourceIdstringThe ARM id of the VM resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, monitorName

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
monitorNamestringMonitor resource name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Success

SELECT
vmResourceId
FROM azure_isv.elastic.vm_hosts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;