Skip to main content

monitored_resources_by_managed_instances

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

Overview

Namemonitored_resources_by_managed_instances
TypeResource
Idazure.scom.monitored_resources_by_managed_instances

Fields

The following fields are returned by SELECT queries:

Operation completed successfully.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
propertiesobjectThe properties of a monitored resource.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, instanceNameA comprehensive list of all monitored resources within a SCOM managed instance.

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
instanceNamestringName of the SCOM managed instance.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

A comprehensive list of all monitored resources within a SCOM managed instance.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.scom.monitored_resources_by_managed_instances
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND instanceName = '{{ instanceName }}' -- required
;