monitored_subscriptions
Creates, updates, deletes, gets or lists a monitored_subscriptions
resource.
Overview
Name | monitored_subscriptions |
Type | Resource |
Id | azure_isv.datadog.monitored_subscriptions |
Fields
- vw_monitored_subscriptions
- monitored_subscriptions
Name | Datatype | Description |
---|---|---|
id | text | The id of the monitored subscription resource. |
name | text | Name of the monitored subscription resource. |
configurationName | text | field from the properties object |
monitorName | text | field from the properties object |
monitored_subscription_list | text | field from the properties object |
operation | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type of the monitored subscription resource. |
Name | Datatype | Description |
---|---|---|
id | string | The id of the monitored subscription resource. |
name | string | Name of the monitored subscription resource. |
properties | object | The request to update subscriptions needed to be monitored by the Datadog monitor resource. |
type | string | The type of the monitored subscription resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | configurationName, monitorName, resourceGroupName, subscriptionId | |
list | SELECT | monitorName, resourceGroupName, subscriptionId | |
delete | DELETE | configurationName, monitorName, resourceGroupName, subscriptionId | |
update | UPDATE | configurationName, monitorName, resourceGroupName, subscriptionId | |
createor_update | EXEC | configurationName, monitorName, resourceGroupName, subscriptionId |
SELECT
examples
- vw_monitored_subscriptions
- monitored_subscriptions
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 }}';
SELECT
id,
name,
properties,
type
FROM azure_isv.datadog.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 }}';