{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-log-analytics/json-schema/azure-log-analytics-linked-service-list-result-schema.json",
  "title": "LinkedServiceListResult",
  "description": "The list linked service operation response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-log-analytics-linkedservices-api-openapi.yml#/components/schemas/LinkedServiceListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of linked service instances",
      "items": {
        "$ref": "#/$defs/LinkedService"
      }
    },
    "nextLink": {
      "type": "string",
      "description": "The URL to get the next set of results."
    }
  },
  "$defs": {
    "LinkedService": {
      "type": "object",
      "description": "The top level Linked service resource container.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/LinkedServiceProperties",
          "description": "The properties of the linked service.",
          "x-ms-client-flatten": true
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "update",
            "create"
          ]
        }
      },
      "required": [
        "properties"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "LinkedServiceEntityStatus": {
      "type": "string",
      "description": "The provisioning state of the linked service.",
      "enum": [
        "Succeeded",
        "Deleting",
        "ProvisioningAccount",
        "Updating"
      ],
      "x-ms-enum": {
        "name": "LinkedServiceEntityStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deleting"
          },
          {
            "name": "ProvisioningAccount",
            "value": "ProvisioningAccount",
            "description": "ProvisioningAccount"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Updating"
          }
        ]
      }
    },
    "LinkedServiceProperties": {
      "type": "object",
      "description": "Linked service properties.",
      "properties": {
        "resourceId": {
          "type": "string",
          "description": "The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access"
        },
        "writeAccessResourceId": {
          "type": "string",
          "description": "The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access"
        },
        "provisioningState": {
          "$ref": "#/$defs/LinkedServiceEntityStatus",
          "description": "The provisioning state of the linked service."
        }
      }
    },
    "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
    }
  }
}