Skip to main content

monitors

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

Overview

Namemonitors
TypeResource
Idazure_isv.dynatrace.monitors

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
identityobjectThe managed service identities assigned to this resource.
locationstringThe geo-location where the resource lives
propertiesobjectThe resource-specific properties for this resource.
systemDataobjectSystem metadata for this resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, monitorName
list_by_resource_groupselectsubscriptionId, resourceGroupName
list_by_subscription_idselectsubscriptionId
create_or_updateinsertsubscriptionId, resourceGroupName, monitorName, data__properties
updateupdatesubscriptionId, resourceGroupName, monitorName
deletedeletesubscriptionId, 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
identity,
location,
properties,
systemData,
tags
FROM azure_isv.dynatrace.monitors
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;

INSERT examples

No description available.

INSERT INTO azure_isv.dynatrace.monitors (
data__properties,
data__identity,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
monitorName
)
SELECT
'{{ properties }}' /* required */,
'{{ identity }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ monitorName }}'
RETURNING
identity,
location,
properties,
systemData,
tags
;

UPDATE examples

No description available.

UPDATE azure_isv.dynatrace.monitors
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND monitorName = '{{ monitorName }}' --required
RETURNING
identity,
location,
properties,
systemData,
tags;

DELETE examples

No description available.

DELETE FROM azure_isv.dynatrace.monitors
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND monitorName = '{{ monitorName }}' --required
;