{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-paginated-compute-resources-list-schema.json",
  "title": "PaginatedComputeResourcesList",
  "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-computeresources-api-openapi.yml#/components/schemas/PaginatedComputeResourcesList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ComputeResource items on this page",
      "items": {
        "$ref": "#/$defs/ComputeResource"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "Compute": {
      "type": "object",
      "description": "Machine Learning compute object.",
      "properties": {
        "computeType": {
          "$ref": "#/$defs/ComputeType",
          "description": "The type of compute"
        },
        "computeLocation": {
          "type": "string",
          "description": "Location for the underlying compute",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.",
          "readOnly": true
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The description of the Machine Learning compute."
        },
        "createdOn": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the compute was created.",
          "readOnly": true
        },
        "modifiedOn": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the compute was last modified.",
          "readOnly": true
        },
        "resourceId": {
          "type": [
            "string",
            "null"
          ],
          "description": "ARM resource id of the underlying compute"
        },
        "provisioningErrors": {
          "type": [
            "array",
            "null"
          ],
          "description": "Errors during provisioning",
          "items": {
            "$ref": "#/$defs/ErrorResponse"
          },
          "readOnly": true
        },
        "isAttachedCompute": {
          "type": "boolean",
          "description": "Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.",
          "readOnly": true
        },
        "disableLocalAuth": {
          "type": "boolean",
          "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "computeType"
      ]
    },
    "ComputeResource": {
      "type": "object",
      "description": "Machine Learning compute object wrapped into ARM resource envelope.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/Compute",
          "description": "The resource-specific properties for this resource."
        },
        "location": {
          "type": "string",
          "description": "Specifies the location of the resource."
        },
        "tags": {
          "type": [
            "object",
            "null"
          ],
          "description": "Contains resource tags defined as key/value pairs.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "sku": {
          "$ref": "#/$defs/Sku",
          "description": "The sku of the workspace."
        },
        "identity": {
          "$ref": "#/$defs/ManagedServiceIdentity",
          "description": "The identity of the resource."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "ComputeType": {
      "type": "string",
      "description": "The type of compute",
      "enum": [
        "AKS",
        "Kubernetes",
        "AmlCompute",
        "ComputeInstance",
        "DataFactory",
        "VirtualMachine",
        "HDInsight",
        "Databricks",
        "DataLakeAnalytics",
        "SynapseSpark"
      ],
      "x-ms-enum": {
        "name": "ComputeType",
        "modelAsString": true,
        "values": [
          {
            "name": "AKS",
            "value": "AKS"
          },
          {
            "name": "Kubernetes",
            "value": "Kubernetes"
          },
          {
            "name": "AmlCompute",
            "value": "AmlCompute"
          },
          {
            "name": "ComputeInstance",
            "value": "ComputeInstance"
          },
          {
            "name": "DataFactory",
            "value": "DataFactory"
          },
          {
            "name": "VirtualMachine",
            "value": "VirtualMachine"
          },
          {
            "name": "HDInsight",
            "value": "HDInsight"
          },
          {
            "name": "Databricks",
            "value": "Databricks"
          },
          {
            "name": "DataLakeAnalytics",
            "value": "DataLakeAnalytics"
          },
          {
            "name": "SynapseSpark",
            "value": "SynapseSpark"
          }
        ]
      }
    },
    "ErrorResponse": {
      "type": "object",
      "title": "Error response",
      "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
      "properties": {
        "error": {
          "$ref": "#/$defs/ErrorDetail",
          "description": "The error object."
        }
      }
    },
    "ManagedServiceIdentity": {
      "type": "object",
      "description": "Managed service identity (system assigned and/or user assigned identities)",
      "properties": {
        "principalId": {
          "type": "string",
          "format": "uuid",
          "description": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "tenantId": {
          "type": "string",
          "format": "uuid",
          "description": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.",
          "readOnly": true
        },
        "type": {
          "$ref": "#/$defs/ManagedServiceIdentityType"
        },
        "userAssignedIdentities": {
          "$ref": "#/$defs/UserAssignedIdentities"
        }
      },
      "required": [
        "type"
      ]
    },
    "ManagedServiceIdentityType": {
      "type": "string",
      "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
      "enum": [
        "None",
        "SystemAssigned",
        "UserAssigned",
        "SystemAssigned,UserAssigned"
      ],
      "x-ms-enum": {
        "name": "ManagedServiceIdentityType",
        "modelAsString": true
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.",
      "enum": [
        "Unknown",
        "Updating",
        "Creating",
        "Deleting",
        "Succeeded",
        "Failed",
        "Canceled"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown"
          },
          {
            "name": "Updating",
            "value": "Updating"
          },
          {
            "name": "Creating",
            "value": "Creating"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Canceled",
            "value": "Canceled"
          }
        ]
      },
      "readOnly": true
    },
    "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",
          "description": "Fully qualified resource ID for the resource. Ex - /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",
          "type": "object",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "Sku": {
      "type": "object",
      "description": "The resource model definition representing SKU",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the SKU. Ex - P3. It is typically a letter+number code"
        },
        "tier": {
          "$ref": "#/$defs/SkuTier"
        },
        "size": {
          "type": "string",
          "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "
        },
        "family": {
          "type": "string",
          "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here."
        },
        "capacity": {
          "type": "integer",
          "format": "int32",
          "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
        }
      },
      "required": [
        "name"
      ]
    },
    "SkuTier": {
      "type": "string",
      "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.",
      "enum": [
        "Free",
        "Basic",
        "Standard",
        "Premium"
      ],
      "x-ms-enum": {
        "name": "SkuTier",
        "modelAsString": false
      }
    }
  }
}