monitors_hosts
Creates, updates, deletes, gets or lists a monitors_hosts resource.
Overview
| Name | monitors_hosts |
| Type | Resource |
| Id | azure_isv.datadog.monitors_hosts |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the host. |
aliases | array | The aliases for the host installed via the Datadog agent. |
apps | array | The Datadog integrations reporting metrics for the host. |
meta | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, 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.
| Name | Datatype | Description |
|---|---|---|
monitorName | string | Monitor resource name |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT examples
- list
Success
SELECT
name,
aliases,
apps,
meta
FROM azure_isv.datadog.monitors_hosts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;