Skip to main content

monitors_hosts

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

Overview

Namemonitors_hosts
TypeResource
Idazure_isv.dynatrace.monitors_hosts

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
autoUpdateSettingstringUpdate settings of OneAgent.
availabilityStatestringThe availability state of OneAgent.
hostGroupstringThe name of the host group
hostNamestringThe name of the host
logModulestringTells whether log modules are enabled or not
monitoringTypestringThe monitoring mode of OneAgent
resourceIdstringAzure VM resource ID
updateStatusstringThe current update status of OneAgent.
versionstringVersion of the Dynatrace agent installed on the VM.

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.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

ARM operation completed successfully.

SELECT
autoUpdateSetting,
availabilityState,
hostGroup,
hostName,
logModule,
monitoringType,
resourceId,
updateStatus,
version
FROM azure_isv.dynatrace.monitors_hosts
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;