{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-log-analytics/json-schema/azure-log-analytics-data-source-list-result-schema.json",
  "title": "DataSourceListResult",
  "description": "The response of a DataSource list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-log-analytics-data-sources-api-openapi.yml#/components/schemas/DataSourceListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The DataSource items on this page",
      "items": {
        "$ref": "#/$defs/DataSource"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "DataSource": {
      "type": "object",
      "description": "Datasources under OMS Workspace.",
      "properties": {
        "properties": {
          "description": "The data source properties in raw json format, each kind of data source have it's own schema."
        },
        "etag": {
          "type": "string",
          "description": "The ETag of the data source."
        },
        "kind": {
          "$ref": "#/$defs/DataSourceKind",
          "description": "The kind of the DataSource."
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "update",
            "create"
          ]
        }
      },
      "required": [
        "properties",
        "kind"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ],
      "x-ms-azure-resource": true
    },
    "DataSourceKind": {
      "type": "string",
      "description": "The kind of the DataSource.",
      "enum": [
        "WindowsEvent",
        "WindowsPerformanceCounter",
        "IISLogs",
        "LinuxSyslog",
        "LinuxSyslogCollection",
        "LinuxPerformanceObject",
        "LinuxPerformanceCollection",
        "CustomLog",
        "CustomLogCollection",
        "AzureAuditLog",
        "AzureActivityLog",
        "GenericDataSource",
        "ChangeTrackingCustomPath",
        "ChangeTrackingPath",
        "ChangeTrackingServices",
        "ChangeTrackingDataTypeConfiguration",
        "ChangeTrackingDefaultRegistry",
        "ChangeTrackingRegistry",
        "ChangeTrackingLinuxPath",
        "LinuxChangeTrackingPath",
        "ChangeTrackingContentLocation",
        "WindowsTelemetry",
        "Office365",
        "SecurityWindowsBaselineConfiguration",
        "SecurityCenterSecurityWindowsBaselineConfiguration",
        "SecurityEventCollectionConfiguration",
        "SecurityInsightsSecurityEventCollectionConfiguration",
        "ImportComputerGroup",
        "NetworkMonitoring",
        "Itsm",
        "DnsAnalytics",
        "ApplicationInsights",
        "SqlDataClassification"
      ],
      "x-ms-enum": {
        "name": "DataSourceKind",
        "modelAsString": true,
        "values": [
          {
            "name": "WindowsEvent",
            "value": "WindowsEvent",
            "description": "WindowsEvent"
          },
          {
            "name": "WindowsPerformanceCounter",
            "value": "WindowsPerformanceCounter",
            "description": "WindowsPerformanceCounter"
          },
          {
            "name": "IISLogs",
            "value": "IISLogs",
            "description": "IISLogs"
          },
          {
            "name": "LinuxSyslog",
            "value": "LinuxSyslog",
            "description": "LinuxSyslog"
          },
          {
            "name": "LinuxSyslogCollection",
            "value": "LinuxSyslogCollection",
            "description": "LinuxSyslogCollection"
          },
          {
            "name": "LinuxPerformanceObject",
            "value": "LinuxPerformanceObject",
            "description": "LinuxPerformanceObject"
          },
          {
            "name": "LinuxPerformanceCollection",
            "value": "LinuxPerformanceCollection",
            "description": "LinuxPerformanceCollection"
          },
          {
            "name": "CustomLog",
            "value": "CustomLog",
            "description": "CustomLog"
          },
          {
            "name": "CustomLogCollection",
            "value": "CustomLogCollection",
            "description": "CustomLogCollection"
          },
          {
            "name": "AzureAuditLog",
            "value": "AzureAuditLog",
            "description": "AzureAuditLog"
          },
          {
            "name": "AzureActivityLog",
            "value": "AzureActivityLog",
            "description": "AzureActivityLog"
          },
          {
            "name": "GenericDataSource",
            "value": "GenericDataSource",
            "description": "GenericDataSource"
          },
          {
            "name": "ChangeTrackingCustomPath",
            "value": "ChangeTrackingCustomPath",
            "description": "ChangeTrackingCustomPath"
          },
          {
            "name": "ChangeTrackingPath",
            "value": "ChangeTrackingPath",
            "description": "ChangeTrackingPath"
          },
          {
            "name": "ChangeTrackingServices",
            "value": "ChangeTrackingServices",
            "description": "ChangeTrackingServices"
          },
          {
            "name": "ChangeTrackingDataTypeConfiguration",
            "value": "ChangeTrackingDataTypeConfiguration",
            "description": "ChangeTrackingDataTypeConfiguration"
          },
          {
            "name": "ChangeTrackingDefaultRegistry",
            "value": "ChangeTrackingDefaultRegistry",
            "description": "ChangeTrackingDefaultRegistry"
          },
          {
            "name": "ChangeTrackingRegistry",
            "value": "ChangeTrackingRegistry",
            "description": "ChangeTrackingRegistry"
          },
          {
            "name": "ChangeTrackingLinuxPath",
            "value": "ChangeTrackingLinuxPath",
            "description": "ChangeTrackingLinuxPath"
          },
          {
            "name": "LinuxChangeTrackingPath",
            "value": "LinuxChangeTrackingPath",
            "description": "LinuxChangeTrackingPath"
          },
          {
            "name": "ChangeTrackingContentLocation",
            "value": "ChangeTrackingContentLocation",
            "description": "ChangeTrackingContentLocation"
          },
          {
            "name": "WindowsTelemetry",
            "value": "WindowsTelemetry",
            "description": "WindowsTelemetry"
          },
          {
            "name": "Office365",
            "value": "Office365",
            "description": "Office365"
          },
          {
            "name": "SecurityWindowsBaselineConfiguration",
            "value": "SecurityWindowsBaselineConfiguration",
            "description": "SecurityWindowsBaselineConfiguration"
          },
          {
            "name": "SecurityCenterSecurityWindowsBaselineConfiguration",
            "value": "SecurityCenterSecurityWindowsBaselineConfiguration",
            "description": "SecurityCenterSecurityWindowsBaselineConfiguration"
          },
          {
            "name": "SecurityEventCollectionConfiguration",
            "value": "SecurityEventCollectionConfiguration",
            "description": "SecurityEventCollectionConfiguration"
          },
          {
            "name": "SecurityInsightsSecurityEventCollectionConfiguration",
            "value": "SecurityInsightsSecurityEventCollectionConfiguration",
            "description": "SecurityInsightsSecurityEventCollectionConfiguration"
          },
          {
            "name": "ImportComputerGroup",
            "value": "ImportComputerGroup",
            "description": "ImportComputerGroup"
          },
          {
            "name": "NetworkMonitoring",
            "value": "NetworkMonitoring",
            "description": "NetworkMonitoring"
          },
          {
            "name": "Itsm",
            "value": "Itsm",
            "description": "Itsm"
          },
          {
            "name": "DnsAnalytics",
            "value": "DnsAnalytics",
            "description": "DnsAnalytics"
          },
          {
            "name": "ApplicationInsights",
            "value": "ApplicationInsights",
            "description": "ApplicationInsights"
          },
          {
            "name": "SqlDataClassification",
            "value": "SqlDataClassification",
            "description": "SqlDataClassification"
          }
        ]
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    }
  }
}