Skip to main content

vm_host

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

Overview​

Namevm_host
TypeResource
Idazure_isv.elastic.vm_host

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
listselectresource_group_name, monitor_name, subscription_idList all VM resources currently being monitored by the Elastic monitor resource, helping you manage observability. List all VM resources currently being monitored by the Elastic monitor resource, helping you manage observability.

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
monitor_namestringMonitor resource name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples​

List all VM resources currently being monitored by the Elastic monitor resource, helping you manage observability. List all VM resources currently being monitored by the Elastic monitor resource, helping you manage observability.

SELECT
vmResourceId
FROM azure_isv.elastic.vm_host
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND monitor_name = '{{ monitor_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;