Azure Monitor · Schema

RuleDataSource

Application InsightsCloudLogsMetricsMonitoringObservability

Properties

Name Type Description
odata.type string Specifies the type of data source. Possible values include RuleMetricDataSource, RuleManagementEventDataSource.
resourceUri string The resource identifier of the resource the rule monitors.
legacyResourceId string The legacy resource identifier of the resource the rule monitors.
resourceLocation string The location of the resource.
metricNamespace string The namespace of the metric.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-monitor-ruledatasource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RuleDataSource",
  "title": "RuleDataSource",
  "type": "object",
  "required": [
    "odata.type"
  ],
  "properties": {
    "odata.type": {
      "type": "string",
      "description": "Specifies the type of data source. Possible values include RuleMetricDataSource, RuleManagementEventDataSource."
    },
    "resourceUri": {
      "type": "string",
      "description": "The resource identifier of the resource the rule monitors."
    },
    "legacyResourceId": {
      "type": "string",
      "description": "The legacy resource identifier of the resource the rule monitors."
    },
    "resourceLocation": {
      "type": "string",
      "description": "The location of the resource."
    },
    "metricNamespace": {
      "type": "string",
      "description": "The namespace of the metric."
    }
  }
}