{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/logicmonitor/main/json-schema/logicmonitor-usage-schema.json",
  "title": "Usage",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/logicmonitor-metrics-api-openapi.yml#/components/schemas/Usage",
  "type": "object",
  "properties": {
    "numOfStoppedAzureDevices": {
      "format": "int32",
      "description": "Number of stopped Azure resources",
      "readOnly": true,
      "type": "integer"
    },
    "numOfServices": {
      "format": "int32",
      "description": "Number of services (created via LM Service Insight)",
      "readOnly": true,
      "type": "integer"
    },
    "numOfTerminatedAzureDevices": {
      "format": "int32",
      "description": "Number of terminated Azure resources",
      "readOnly": true,
      "type": "integer"
    },
    "numberOfStandardDevices": {
      "format": "int32",
      "description": "Number of standard devices",
      "readOnly": true,
      "type": "integer"
    },
    "numOfStoppedGcpDevices": {
      "format": "int32",
      "description": "Number of stopped GCP resources not monitored with a local Collector",
      "readOnly": true,
      "type": "integer"
    },
    "numOfCombinedGcpDevices": {
      "format": "int32",
      "description": "Number of GCP resources monitored with a local Collector",
      "readOnly": true,
      "type": "integer"
    },
    "numOfAWSDevices": {
      "format": "int32",
      "description": "Number of AWS resources not monitored with a local Collector",
      "readOnly": true,
      "type": "integer"
    },
    "numberOfKubernetesDevices": {
      "format": "int32",
      "description": "Number of monitored Kubernetes Nodes, Pods, and Services",
      "readOnly": true,
      "type": "integer"
    },
    "numOfGcpDevices": {
      "format": "int32",
      "description": "Number of GCP resources",
      "readOnly": true,
      "type": "integer"
    },
    "numOfAzureDevices": {
      "format": "int32",
      "description": "Number of Azure resources not monitored with a local Collector",
      "readOnly": true,
      "type": "integer"
    },
    "numOfCombinedAzureDevices": {
      "format": "int32",
      "description": "Number of Azure resources monitored with a local Collector",
      "readOnly": true,
      "type": "integer"
    },
    "numOfTerminatedAWSDevices": {
      "format": "int32",
      "description": "Number of terminated AWS resources",
      "readOnly": true,
      "type": "integer"
    },
    "numOfTerminatedGcpCloudDevices": {
      "format": "int32",
      "description": "Number of terminated GCP resources",
      "readOnly": true,
      "type": "integer"
    },
    "numOfStoppedAWSDevices": {
      "format": "int32",
      "description": "Number of stopped AWS resources",
      "readOnly": true,
      "type": "integer"
    },
    "numberOfDevices": {
      "format": "int32",
      "description": "Sum of numOfStandardDevices, numOfCombinedAWSDevices, numOfCombinedAzureDevices, and numOfCombinedGCPDevices",
      "readOnly": true,
      "type": "integer"
    },
    "numOfConfigSourceDevices": {
      "format": "int32",
      "description": "Number of devices with active ConfigSources",
      "readOnly": true,
      "type": "integer"
    },
    "numOfWebsites": {
      "format": "int32",
      "description": "Number of websites",
      "readOnly": true,
      "type": "integer"
    },
    "numOfCombinedAWSDevices": {
      "format": "int32",
      "description": "Number of AWS resources monitored with a local Collector",
      "readOnly": true,
      "type": "integer"
    }
  }
}