{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-list-usages-result-schema.json",
  "title": "ListUsagesResult",
  "description": "The List Usages operation response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-usage-api-openapi.yml#/components/schemas/ListUsagesResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of compute resource usages.",
      "items": {
        "$ref": "#/$defs/Usage"
      },
      "x-ms-identifiers": []
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information."
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "Usage": {
      "type": "object",
      "description": "Describes Compute Resource Usage.",
      "properties": {
        "unit": {
          "type": "string",
          "description": "An enum describing the unit of usage measurement.",
          "enum": [
            "Count"
          ],
          "x-ms-enum": {
            "modelAsString": false
          }
        },
        "currentValue": {
          "type": "integer",
          "format": "int32",
          "description": "The current usage of the resource."
        },
        "limit": {
          "type": "integer",
          "format": "int64",
          "description": "The maximum permitted usage of the resource."
        },
        "name": {
          "$ref": "#/$defs/UsageName",
          "description": "The name of the type of usage."
        }
      },
      "required": [
        "unit",
        "currentValue",
        "limit",
        "name"
      ]
    },
    "UsageName": {
      "type": "object",
      "description": "The Usage Names.",
      "properties": {
        "value": {
          "type": "string",
          "description": "The name of the resource."
        },
        "localizedValue": {
          "type": "string",
          "description": "The localized name of the resource."
        }
      }
    }
  }
}