monitored_subscriptions
Creates, updates, deletes, gets or lists a monitored_subscriptions
resource.
Overview
Name | monitored_subscriptions |
Type | Resource |
Id | azure_isv.elastic.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 |
provisioning_state | 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 Elastic 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,
provisioning_state,
resourceGroupName,
subscriptionId,
type
FROM azure_isv.elastic.vw_monitored_subscriptions
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure_isv.elastic.monitored_subscriptions
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
UPDATE
example
Updates a monitored_subscriptions
resource.
/*+ update */
UPDATE azure_isv.elastic.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.elastic.monitored_subscriptions
WHERE configurationName = '{{ configurationName }}'
AND monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';