{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-dedicated-nasha-storage-schema.json",
  "title": "dedicated.nasha.Storage",
  "description": "Storage nas HA",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-dedicated-nasha-openapi.yml#/components/schemas/dedicated.nasha.Storage",
  "type": "object",
  "properties": {
    "canCreatePartition": {
      "type": "boolean",
      "description": "True, if partition creation is allowed on this nas HA",
      "readOnly": true
    },
    "customName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The name you give to the nas"
    },
    "datacenter": {
      "type": [
        "string",
        "null"
      ],
      "description": "area of nas",
      "readOnly": true
    },
    "diskType": {
      "allOf": [
        {
          "$ref": "#/$defs/dedicated.storage.DiskTypeEnum"
        }
      ],
      "description": "the disk type of the nasHa",
      "readOnly": true
    },
    "ip": {
      "allOf": [
        {
          "$ref": "#/$defs/ip"
        }
      ],
      "description": "Access ip of nas",
      "nullable": true,
      "readOnly": true
    },
    "monitored": {
      "type": "boolean",
      "description": "Send an email to customer if any issue is detected"
    },
    "serviceName": {
      "type": "string",
      "description": "The storage service name",
      "readOnly": true
    },
    "zpoolCapacity": {
      "type": "integer",
      "description": "percentage of nas space used in %",
      "readOnly": true
    },
    "zpoolSize": {
      "type": "integer",
      "description": "the size of the nas",
      "readOnly": true
    }
  },
  "$defs": {
    "dedicated.storage.DiskTypeEnum": {
      "type": "string",
      "description": "the disk type of the nasHa",
      "enum": [
        "hdd",
        "nvme",
        "ssd"
      ]
    },
    "ip": {
      "type": "string",
      "description": "IP address (e.g., 192.0.2.0)",
      "format": "ipv4"
    }
  }
}