{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-update-workspace-quotas-result-schema.json",
  "title": "UpdateWorkspaceQuotasResult",
  "description": "The result of update workspace quota.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-subscriptions-api-openapi.yml#/components/schemas/UpdateWorkspaceQuotasResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of workspace quota update result.",
      "items": {
        "$ref": "#/$defs/UpdateWorkspaceQuotas"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "description": "The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result.",
      "readOnly": true
    }
  },
  "$defs": {
    "QuotaUnit": {
      "type": "string",
      "description": "An enum describing the unit of quota measurement.",
      "enum": [
        "Count"
      ],
      "x-ms-enum": {
        "name": "QuotaUnit",
        "modelAsString": true,
        "values": [
          {
            "name": "Count",
            "value": "Count"
          }
        ]
      }
    },
    "Status": {
      "type": "string",
      "description": "Status of update workspace quota.",
      "enum": [
        "Undefined",
        "Success",
        "Failure",
        "InvalidQuotaBelowClusterMinimum",
        "InvalidQuotaExceedsSubscriptionLimit",
        "InvalidVMFamilyName",
        "OperationNotSupportedForSku",
        "OperationNotEnabledForRegion"
      ],
      "x-ms-enum": {
        "name": "Status",
        "modelAsString": true,
        "values": [
          {
            "name": "Undefined",
            "value": "Undefined"
          },
          {
            "name": "Success",
            "value": "Success"
          },
          {
            "name": "Failure",
            "value": "Failure"
          },
          {
            "name": "InvalidQuotaBelowClusterMinimum",
            "value": "InvalidQuotaBelowClusterMinimum"
          },
          {
            "name": "InvalidQuotaExceedsSubscriptionLimit",
            "value": "InvalidQuotaExceedsSubscriptionLimit"
          },
          {
            "name": "InvalidVMFamilyName",
            "value": "InvalidVMFamilyName"
          },
          {
            "name": "OperationNotSupportedForSku",
            "value": "OperationNotSupportedForSku"
          },
          {
            "name": "OperationNotEnabledForRegion",
            "value": "OperationNotEnabledForRegion"
          }
        ]
      }
    },
    "UpdateWorkspaceQuotas": {
      "type": "object",
      "description": "The properties for update Quota response.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Specifies the resource ID.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Specifies the resource type.",
          "readOnly": true
        },
        "limit": {
          "type": "integer",
          "format": "int64",
          "title": "Limit.",
          "description": "The maximum permitted quota of the resource."
        },
        "unit": {
          "$ref": "#/$defs/QuotaUnit",
          "description": "An enum describing the unit of quota measurement.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/Status",
          "title": "Update Workspace Quota Status.",
          "description": "Status of update workspace quota.",
          "readOnly": true
        }
      }
    }
  }
}