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

The following fields are returned by SELECT queries:

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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, monitorName, subAccountName

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.
subAccountNamestringSub Account resource name
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Success

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