Skip to main content

monitored_subscriptions

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

Overview

Namemonitored_subscriptions
TypeResource
Idazure_isv.datadog.monitored_subscriptions

Fields

NameDatatypeDescription
idtextThe id of the monitored subscription resource.
nametextName of the monitored subscription resource.
configurationNametextfield from the properties object
monitorNametextfield from the properties object
monitored_subscription_listtextfield from the properties object
operationtextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type of the monitored subscription resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigurationName, monitorName, resourceGroupName, subscriptionId
listSELECTmonitorName, resourceGroupName, subscriptionId
deleteDELETEconfigurationName, monitorName, resourceGroupName, subscriptionId
updateUPDATEconfigurationName, monitorName, resourceGroupName, subscriptionId
createor_updateEXECconfigurationName, monitorName, resourceGroupName, subscriptionId

SELECT examples

SELECT
id,
name,
configurationName,
monitorName,
monitored_subscription_list,
operation,
resourceGroupName,
subscriptionId,
type
FROM azure_isv.datadog.vw_monitored_subscriptions
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

UPDATE example

Updates a monitored_subscriptions resource.

/*+ update */
UPDATE azure_isv.datadog.monitored_subscriptions
SET
properties = '{{ properties }}'
WHERE
configurationName = '{{ configurationName }}'
AND monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified monitored_subscriptions resource.

/*+ delete */
DELETE FROM azure_isv.datadog.monitored_subscriptions
WHERE configurationName = '{{ configurationName }}'
AND monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';