vm_host
Creates, updates, deletes, gets or lists a vm_host resource.
Overview​
| Name | vm_host |
| Type | Resource |
| Id | azure_isv.elastic.vm_host |
Fields​
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
vmResourceId | string | The ARM id of the VM resource. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resource_group_name, monitor_name, subscription_id | 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. |
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 |
|---|---|---|
monitor_name | string | Monitor resource name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples​
- list
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
;