Microsoft Graph · Schema

quota

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
deleted number Total space consumed by files in the recycle bin, in bytes. Read-only.
remaining number Total space remaining before reaching the capacity limit, in bytes. Read-only.
state string Enumeration value that indicates the state of the storage space. Read-only.
storagePlanInformation object Information about the drive's storage quota plans. Only in Personal OneDrive.
total number Total allowed storage space, in bytes. Read-only.
used number Total space used, in bytes. Read-only.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphquota-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.quota",
  "title": "quota",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "deleted": {
      "type": "number",
      "description": "Total space consumed by files in the recycle bin, in bytes. Read-only.",
      "format": "int64",
      "nullable": true
    },
    "remaining": {
      "type": "number",
      "description": "Total space remaining before reaching the capacity limit, in bytes. Read-only.",
      "format": "int64",
      "nullable": true
    },
    "state": {
      "type": "string",
      "description": "Enumeration value that indicates the state of the storage space. Read-only.",
      "nullable": true
    },
    "storagePlanInformation": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.storagePlanInformation"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "Information about the drive's storage quota plans. Only in Personal OneDrive."
    },
    "total": {
      "type": "number",
      "description": "Total allowed storage space, in bytes. Read-only.",
      "format": "int64",
      "nullable": true
    },
    "used": {
      "type": "number",
      "description": "Total space used, in bytes. Read-only.",
      "format": "int64",
      "nullable": true
    },
    "@odata.type": {
      "type": "string"
    }
  }
}