Skip to main content

sub_account_monitored_resources

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

Overview

Namesub_account_monitored_resources
TypeResource
Idazure_isv.logz.sub_account_monitored_resources

Fields

NameDatatypeDescription
idstringThe ARM id of the resource.
reasonForLogsStatusstringReason for why the resource is sending logs (or why it is not sending).
reasonForMetricsStatusstringReason for why the resource is sending metrics (or why it is not sending).
sendingLogsbooleanFlag indicating if resource is sending logs to Logz.
sendingMetricsbooleanFlag indicating if resource is sending metrics to Logz.
systemDataobjectMetadata pertaining to creation and last modification of the resource.

Methods

NameAccessible byRequired ParamsDescription
listSELECTmonitorName, resourceGroupName, subAccountName, subscriptionId

SELECT examples

SELECT
id,
reasonForLogsStatus,
reasonForMetricsStatus,
sendingLogs,
sendingMetrics,
systemData
FROM azure_isv.logz.sub_account_monitored_resources
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subAccountName = '{{ subAccountName }}'
AND subscriptionId = '{{ subscriptionId }}';