{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-location-capabilities-schema.json",
  "title": "LocationCapabilities",
  "description": "The location capability.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-locationcapabilities-api-openapi.yml#/components/schemas/LocationCapabilities",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The location name.",
      "readOnly": true
    },
    "supportedServerVersions": {
      "type": "array",
      "description": "The list of supported server versions.",
      "items": {
        "$ref": "#/$defs/ServerVersionCapability"
      },
      "readOnly": true
    },
    "supportedManagedInstanceVersions": {
      "type": "array",
      "description": "The list of supported managed instance versions.",
      "items": {
        "$ref": "#/$defs/ManagedInstanceVersionCapability"
      },
      "readOnly": true
    },
    "supportedJobAgentVersions": {
      "type": "array",
      "description": "The list of supported job agent versions.",
      "items": {
        "$ref": "#/$defs/JobAgentVersionCapability"
      },
      "readOnly": true,
      "x-ms-identifiers": []
    },
    "isZoneResilientProvisioningAllowed": {
      "type": "boolean",
      "description": "Whether or not the subscription is allowed to provision zone resilient resources.",
      "readOnly": true
    },
    "status": {
      "$ref": "#/$defs/CapabilityStatus",
      "description": "The status of the capability.",
      "readOnly": true
    },
    "reason": {
      "type": "string",
      "description": "The reason for the capability not being available."
    }
  },
  "$defs": {
    "AutoPauseDelayTimeRange": {
      "type": "object",
      "description": "Supported auto pause delay time range",
      "properties": {
        "minValue": {
          "type": "integer",
          "format": "int32",
          "description": "Minimum value",
          "readOnly": true
        },
        "maxValue": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum value",
          "readOnly": true
        },
        "stepSize": {
          "type": "integer",
          "format": "int32",
          "description": "Step value for discrete values between the minimum value and the maximum value.",
          "readOnly": true
        },
        "default": {
          "type": "integer",
          "format": "int32",
          "description": "Default value is no value is provided",
          "readOnly": true
        },
        "unit": {
          "$ref": "#/$defs/PauseDelayTimeUnit",
          "description": "Unit of time that delay is expressed in",
          "readOnly": true
        },
        "doNotPauseValue": {
          "type": "integer",
          "format": "int32",
          "description": "Value that is used to not pause (infinite delay before pause)",
          "readOnly": true
        }
      }
    },
    "Azure.Core.uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Universally Unique Identifier"
    },
    "CapabilityStatus": {
      "type": "string",
      "description": "The status of the capability.",
      "enum": [
        "Visible",
        "Available",
        "Default",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "CapabilityStatus",
        "modelAsString": false,
        "values": [
          {
            "name": "Visible",
            "value": "Visible",
            "description": "Visible"
          },
          {
            "name": "Available",
            "value": "Available",
            "description": "Available"
          },
          {
            "name": "Default",
            "value": "Default",
            "description": "Default"
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Disabled"
          }
        ]
      }
    },
    "EditionCapability": {
      "type": "object",
      "description": "The edition capability.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The database edition name.",
          "readOnly": true
        },
        "supportedServiceLevelObjectives": {
          "type": "array",
          "description": "The list of supported service objectives for the edition.",
          "items": {
            "$ref": "#/$defs/ServiceObjectiveCapability"
          },
          "readOnly": true
        },
        "zoneRedundant": {
          "type": "boolean",
          "description": "Whether or not zone redundancy is supported for the edition.",
          "readOnly": true
        },
        "readScale": {
          "$ref": "#/$defs/ReadScaleCapability",
          "description": "The read scale capability for the edition.",
          "readOnly": true
        },
        "supportedStorageCapabilities": {
          "type": "array",
          "description": "The list of supported storage capabilities for this edition",
          "items": {
            "$ref": "#/$defs/StorageCapability"
          },
          "readOnly": true
        },
        "zonePinning": {
          "type": "boolean",
          "description": "Whether or not zone pinning is supported for the edition.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ElasticPoolEditionCapability": {
      "type": "object",
      "description": "The elastic pool edition capability.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The elastic pool edition name.",
          "readOnly": true
        },
        "supportedElasticPoolPerformanceLevels": {
          "type": "array",
          "description": "The list of supported elastic pool DTU levels for the edition.",
          "items": {
            "$ref": "#/$defs/ElasticPoolPerformanceLevelCapability"
          },
          "readOnly": true
        },
        "zoneRedundant": {
          "type": "boolean",
          "description": "Whether or not zone redundancy is supported for the edition.",
          "readOnly": true
        },
        "zonePinning": {
          "type": "boolean",
          "description": "Whether or not zone pinning is supported for the edition.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ElasticPoolPerDatabaseMaxPerformanceLevelCapability": {
      "type": "object",
      "description": "The max per-database performance level capability.",
      "properties": {
        "limit": {
          "type": "number",
          "format": "double",
          "description": "The maximum performance level per database.",
          "readOnly": true
        },
        "unit": {
          "$ref": "#/$defs/PerformanceLevelUnit",
          "description": "Unit type used to measure performance level.",
          "readOnly": true
        },
        "supportedPerDatabaseMinPerformanceLevels": {
          "type": "array",
          "description": "The list of supported min database performance levels.",
          "items": {
            "$ref": "#/$defs/ElasticPoolPerDatabaseMinPerformanceLevelCapability"
          },
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ElasticPoolPerDatabaseMinPerformanceLevelCapability": {
      "type": "object",
      "description": "The minimum per-database performance level capability.",
      "properties": {
        "limit": {
          "type": "number",
          "format": "double",
          "description": "The minimum performance level per database.",
          "readOnly": true
        },
        "unit": {
          "$ref": "#/$defs/PerformanceLevelUnit",
          "description": "Unit type used to measure performance level.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ElasticPoolPerformanceLevelCapability": {
      "type": "object",
      "description": "The Elastic Pool performance level capability.",
      "properties": {
        "performanceLevel": {
          "$ref": "#/$defs/PerformanceLevelCapability",
          "description": "The performance level for the pool.",
          "readOnly": true
        },
        "sku": {
          "$ref": "#/$defs/Sku",
          "description": "The sku.",
          "readOnly": true
        },
        "supportedLicenseTypes": {
          "type": "array",
          "description": "List of supported license types.",
          "items": {
            "$ref": "#/$defs/LicenseTypeCapability"
          },
          "readOnly": true
        },
        "maxDatabaseCount": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of databases supported.",
          "readOnly": true
        },
        "includedMaxSize": {
          "$ref": "#/$defs/MaxSizeCapability",
          "description": "The included (free) max size for this performance level.",
          "readOnly": true
        },
        "supportedMaxSizes": {
          "type": "array",
          "description": "The list of supported max sizes.",
          "items": {
            "$ref": "#/$defs/MaxSizeRangeCapability"
          },
          "readOnly": true
        },
        "supportedPerDatabaseMaxSizes": {
          "type": "array",
          "description": "The list of supported per database max sizes.",
          "items": {
            "$ref": "#/$defs/MaxSizeRangeCapability"
          },
          "readOnly": true
        },
        "supportedPerDatabaseMaxPerformanceLevels": {
          "type": "array",
          "description": "The list of supported per database max performance levels.",
          "items": {
            "$ref": "#/$defs/ElasticPoolPerDatabaseMaxPerformanceLevelCapability"
          },
          "readOnly": true
        },
        "zoneRedundant": {
          "type": "boolean",
          "description": "Whether or not zone redundancy is supported for the performance level.",
          "readOnly": true
        },
        "supportedMaintenanceConfigurations": {
          "type": "array",
          "description": "List of supported maintenance configurations",
          "items": {
            "$ref": "#/$defs/MaintenanceConfigurationCapability"
          },
          "readOnly": true
        },
        "supportedMinCapacities": {
          "type": "array",
          "description": "List of supported min capacities",
          "items": {
            "$ref": "#/$defs/MinCapacityCapability"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "supportedAutoPauseDelay": {
          "$ref": "#/$defs/AutoPauseDelayTimeRange",
          "description": "Supported time range for auto pause delay",
          "readOnly": true
        },
        "supportedPerDatabaseAutoPauseDelay": {
          "$ref": "#/$defs/PerDatabaseAutoPauseDelayTimeRange",
          "description": "Supported time range for per database auto pause delay",
          "readOnly": true
        },
        "supportedZones": {
          "type": "array",
          "description": "List of supported availability zones",
          "items": {
            "$ref": "#/$defs/ZonePinningCapability"
          },
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "FreeLimitExhaustionBehavior": {
      "type": "string",
      "description": "Specifies the behavior when monthly free limits are exhausted for the free database.\n\nAutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month.\n\nBillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed.",
      "enum": [
        "AutoPause",
        "BillOverUsage"
      ],
      "x-ms-enum": {
        "name": "FreeLimitExhaustionBehavior",
        "modelAsString": true,
        "values": [
          {
            "name": "AutoPause",
            "value": "AutoPause",
            "description": "AutoPause"
          },
          {
            "name": "BillOverUsage",
            "value": "BillOverUsage",
            "description": "BillOverUsage"
          }
        ]
      }
    },
    "FreeLimitExhaustionBehaviorCapability": {
      "type": "object",
      "description": "Supported free limit exhaustion behavior options",
      "properties": {
        "exhaustionBehaviorType": {
          "$ref": "#/$defs/FreeLimitExhaustionBehavior",
          "description": "Free limit exhaustion behavior type",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "Free limit exhaustion behavior status",
          "readOnly": true
        }
      }
    },
    "InstancePoolEditionCapability": {
      "type": "object",
      "description": "The instance pool capability",
      "properties": {
        "name": {
          "type": "string",
          "description": "The instance pool version name.",
          "readOnly": true
        },
        "supportedFamilies": {
          "type": "array",
          "description": "The supported families.",
          "items": {
            "$ref": "#/$defs/InstancePoolFamilyCapability"
          },
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "InstancePoolFamilyCapability": {
      "type": "object",
      "description": "The instance pool family capability.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Family name.",
          "readOnly": true
        },
        "supportedLicenseTypes": {
          "type": "array",
          "description": "List of supported license types.",
          "items": {
            "$ref": "#/$defs/LicenseTypeCapability"
          },
          "readOnly": true
        },
        "supportedVcoresValues": {
          "type": "array",
          "description": "List of supported virtual cores values.",
          "items": {
            "$ref": "#/$defs/InstancePoolVcoresCapability"
          },
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "InstancePoolVcoresCapability": {
      "type": "object",
      "description": "The managed instance virtual cores capability.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The virtual cores identifier.",
          "readOnly": true
        },
        "value": {
          "type": "integer",
          "format": "int32",
          "description": "The virtual cores value.",
          "readOnly": true
        },
        "storageLimit": {
          "$ref": "#/$defs/MaxSizeCapability",
          "description": "Storage limit.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "JobAgentEditionCapability": {
      "type": "object",
      "description": "The job agent edition capability.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The job agent edition name.",
          "readOnly": true
        },
        "supportedServiceLevelObjectives": {
          "type": "array",
          "description": "The list of supported service level objectives for the edition.",
          "items": {
            "$ref": "#/$defs/JobAgentServiceLevelObjectiveCapability"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "JobAgentServiceLevelObjectiveCapability": {
      "type": "object",
      "description": "The job agent service level objective capability.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The service objective name.",
          "readOnly": true
        },
        "sku": {
          "$ref": "#/$defs/Sku",
          "description": "The sku.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "JobAgentVersionCapability": {
      "type": "object",
      "description": "The job agent version capability.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The job agent version name.",
          "readOnly": true
        },
        "supportedEditions": {
          "type": "array",
          "description": "The list of supported editions.",
          "items": {
            "$ref": "#/$defs/JobAgentEditionCapability"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "LicenseTypeCapability": {
      "type": "object",
      "description": "The license type capability",
      "properties": {
        "name": {
          "type": "string",
          "description": "License type identifier.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "LogSizeCapability": {
      "type": "object",
      "description": "The log size capability.",
      "properties": {
        "limit": {
          "type": "integer",
          "format": "int32",
          "description": "The log size limit (see 'unit' for the units).",
          "readOnly": true
        },
        "unit": {
          "$ref": "#/$defs/LogSizeUnit",
          "description": "The units that the limit is expressed in.",
          "readOnly": true
        }
      }
    },
    "LogSizeUnit": {
      "type": "string",
      "description": "The units that the limit is expressed in.",
      "enum": [
        "Megabytes",
        "Gigabytes",
        "Terabytes",
        "Petabytes",
        "Percent"
      ],
      "x-ms-enum": {
        "name": "LogSizeUnit",
        "modelAsString": true,
        "values": [
          {
            "name": "Megabytes",
            "value": "Megabytes",
            "description": "Megabytes"
          },
          {
            "name": "Gigabytes",
            "value": "Gigabytes",
            "description": "Gigabytes"
          },
          {
            "name": "Terabytes",
            "value": "Terabytes",
            "description": "Terabytes"
          },
          {
            "name": "Petabytes",
            "value": "Petabytes",
            "description": "Petabytes"
          },
          {
            "name": "Percent",
            "value": "Percent",
            "description": "Percent"
          }
        ]
      }
    },
    "MaintenanceConfigurationCapability": {
      "type": "object",
      "description": "The maintenance configuration capability",
      "properties": {
        "name": {
          "type": "string",
          "description": "Maintenance configuration name",
          "readOnly": true
        },
        "zoneRedundant": {
          "type": "boolean",
          "description": "Whether or not zone redundancy is supported for the maintenance configuration.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ManagedInstanceEditionCapability": {
      "type": "object",
      "description": "The managed server capability",
      "properties": {
        "name": {
          "type": "string",
          "description": "The managed server version name.",
          "readOnly": true
        },
        "isGeneralPurposeV2": {
          "type": "boolean",
          "description": "Whether or not this is a GPv2 variant of General Purpose edition.",
          "readOnly": true
        },
        "supportedFamilies": {
          "type": "array",
          "description": "The supported families.",
          "items": {
            "$ref": "#/$defs/ManagedInstanceFamilyCapability"
          },
          "readOnly": true
        },
        "supportedStorageCapabilities": {
          "type": "array",
          "description": "The list of supported storage capabilities for this edition",
          "items": {
            "$ref": "#/$defs/StorageCapability"
          },
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ManagedInstanceFamilyCapability": {
      "type": "object",
      "description": "The managed server family capability.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Family name.",
          "readOnly": true
        },
        "sku": {
          "type": "string",
          "description": "SKU name.",
          "readOnly": true
        },
        "zoneRedundant": {
          "type": "boolean",
          "description": "Whether or not zone redundancy is supported for the family.",
          "readOnly": true
        },
        "supportedLicenseTypes": {
          "type": "array",
          "description": "List of supported license types.",
          "items": {
            "$ref": "#/$defs/LicenseTypeCapability"
          },
          "readOnly": true
        },
        "supportedVcoresValues": {
          "type": "array",
          "description": "List of supported virtual cores values.",
          "items": {
            "$ref": "#/$defs/ManagedInstanceVcoresCapability"
          },
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ManagedInstanceMaintenanceConfigurationCapability": {
      "type": "object",
      "description": "The maintenance configuration capability",
      "properties": {
        "name": {
          "type": "string",
          "description": "Maintenance configuration name",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ManagedInstanceVcoresCapability": {
      "type": "object",
      "description": "The managed instance virtual cores capability.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The virtual cores identifier.",
          "readOnly": true
        },
        "value": {
          "type": "integer",
          "format": "int32",
          "description": "The virtual cores value.",
          "readOnly": true
        },
        "supportedMemorySizesInGB": {
          "$ref": "#/$defs/MaxLimitRangeCapability",
          "description": "Supported memory sizes in GB.",
          "readOnly": true
        },
        "supportedMemoryLimitsMB": {
          "$ref": "#/$defs/MaxLimitRangeCapability",
          "description": "Memory limit MB ranges.",
          "readOnly": true
        },
        "includedMaxSize": {
          "$ref": "#/$defs/MaxSizeCapability",
          "description": "Included size.",
          "readOnly": true
        },
        "supportedStorageSizes": {
          "type": "array",
          "description": "Storage size ranges.",
          "items": {
            "$ref": "#/$defs/MaxSizeRangeCapability"
          },
          "readOnly": true
        },
        "includedStorageIOps": {
          "type": "integer",
          "format": "int64",
          "description": "Included storage IOps.",
          "readOnly": true
        },
        "supportedStorageIOps": {
          "$ref": "#/$defs/MaxLimitRangeCapability",
          "description": "Storage IOps ranges.",
          "readOnly": true
        },
        "iopsMinValueOverrideFactorPerSelectedStorageGB": {
          "type": "number",
          "format": "double",
          "description": "Min IOps override factor per selected storage GB.",
          "readOnly": true
        },
        "iopsIncludedValueOverrideFactorPerSelectedStorageGB": {
          "type": "number",
          "format": "double",
          "description": "Included IOps override factor per selected storage GB.",
          "readOnly": true
        },
        "includedStorageThroughputMBps": {
          "type": "integer",
          "format": "int64",
          "description": "Included storage throughput MBps.",
          "readOnly": true
        },
        "supportedStorageThroughputMBps": {
          "$ref": "#/$defs/MaxLimitRangeCapability",
          "description": "Storage throughput MBps ranges.",
          "readOnly": true
        },
        "throughputMBpsMinValueOverrideFactorPerSelectedStorageGB": {
          "type": "number",
          "format": "double",
          "description": "Min throughput MBps override factor per selected storage GB.",
          "readOnly": true
        },
        "throughputMBpsIncludedValueOverrideFactorPerSelectedStorageGB": {
          "type": "number",
          "format": "double",
          "description": "Included throughput MBps override factor per selected storage GB.",
          "readOnly": true
        },
        "instancePoolSupported": {
          "type": "boolean",
          "description": "True if this service objective is supported for managed instances in an instance pool.",
          "readOnly": true
        },
        "standaloneSupported": {
          "type": "boolean",
          "description": "True if this service objective is supported for standalone managed instances.",
          "readOnly": true
        },
        "supportedMaintenanceConfigurations": {
          "type": "array",
          "description": "List of supported maintenance configurations",
          "items": {
            "$ref": "#/$defs/ManagedInstanceMaintenanceConfigurationCapability"
          },
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ManagedInstanceVersionCapability": {
      "type": "object",
      "description": "The managed instance capability",
      "properties": {
        "name": {
          "type": "string",
          "description": "The server version name.",
          "readOnly": true
        },
        "supportedEditions": {
          "type": "array",
          "description": "The list of supported managed instance editions.",
          "items": {
            "$ref": "#/$defs/ManagedInstanceEditionCapability"
          },
          "readOnly": true
        },
        "supportedInstancePoolEditions": {
          "type": "array",
          "description": "The list of supported instance pool editions.",
          "items": {
            "$ref": "#/$defs/InstancePoolEditionCapability"
          },
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "MaxLimitRangeCapability": {
      "type": "object",
      "description": "The maximum limit range capability.",
      "properties": {
        "minValue": {
          "type": "integer",
          "format": "int64",
          "description": "Minimum value.",
          "readOnly": true
        },
        "maxValue": {
          "type": "integer",
          "format": "int64",
          "description": "Maximum value.",
          "readOnly": true
        },
        "scaleSize": {
          "type": "integer",
          "format": "int64",
          "description": "Scale/step size for discrete values between the minimum value and the maximum value.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "MaxSizeCapability": {
      "type": "object",
      "description": "The maximum size capability.",
      "properties": {
        "limit": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum size limit (see 'unit' for the units).",
          "readOnly": true
        },
        "unit": {
          "$ref": "#/$defs/MaxSizeUnit",
          "description": "The units that the limit is expressed in.",
          "readOnly": true
        }
      }
    },
    "MaxSizeRangeCapability": {
      "type": "object",
      "description": "The maximum size range capability.",
      "properties": {
        "minValue": {
          "$ref": "#/$defs/MaxSizeCapability",
          "description": "Minimum value.",
          "readOnly": true
        },
        "maxValue": {
          "$ref": "#/$defs/MaxSizeCapability",
          "description": "Maximum value.",
          "readOnly": true
        },
        "scaleSize": {
          "$ref": "#/$defs/MaxSizeCapability",
          "description": "Scale/step size for discrete values between the minimum value and the maximum value.",
          "readOnly": true
        },
        "logSize": {
          "$ref": "#/$defs/LogSizeCapability",
          "description": "Size of transaction log.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "MaxSizeUnit": {
      "type": "string",
      "description": "The units that the limit is expressed in.",
      "enum": [
        "Megabytes",
        "Gigabytes",
        "Terabytes",
        "Petabytes"
      ],
      "x-ms-enum": {
        "name": "MaxSizeUnit",
        "modelAsString": true,
        "values": [
          {
            "name": "Megabytes",
            "value": "Megabytes",
            "description": "Megabytes"
          },
          {
            "name": "Gigabytes",
            "value": "Gigabytes",
            "description": "Gigabytes"
          },
          {
            "name": "Terabytes",
            "value": "Terabytes",
            "description": "Terabytes"
          },
          {
            "name": "Petabytes",
            "value": "Petabytes",
            "description": "Petabytes"
          }
        ]
      }
    },
    "MinCapacityCapability": {
      "type": "object",
      "description": "The min capacity capability",
      "properties": {
        "value": {
          "type": "number",
          "format": "double",
          "description": "Min capacity value",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "PauseDelayTimeUnit": {
      "type": "string",
      "description": "Unit of time that delay is expressed in",
      "enum": [
        "Minutes"
      ],
      "x-ms-enum": {
        "name": "PauseDelayTimeUnit",
        "modelAsString": true,
        "values": [
          {
            "name": "Minutes",
            "value": "Minutes",
            "description": "Minutes"
          }
        ]
      }
    },
    "PerDatabaseAutoPauseDelayTimeRange": {
      "type": "object",
      "description": "Supported auto pause delay time range",
      "properties": {
        "minValue": {
          "type": "integer",
          "format": "int32",
          "description": "Minimum value",
          "readOnly": true
        },
        "maxValue": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum value",
          "readOnly": true
        },
        "stepSize": {
          "type": "integer",
          "format": "int32",
          "description": "Step value for discrete values between the minimum value and the maximum value.",
          "readOnly": true
        },
        "default": {
          "type": "integer",
          "format": "int32",
          "description": "Default value if no value is provided",
          "readOnly": true
        },
        "unit": {
          "$ref": "#/$defs/PauseDelayTimeUnit",
          "description": "Unit of time that delay is expressed in",
          "readOnly": true
        },
        "doNotPauseValue": {
          "type": "integer",
          "format": "int32",
          "description": "Value that is used to not pause (infinite delay before pause)",
          "readOnly": true
        }
      }
    },
    "PerformanceLevelCapability": {
      "type": "object",
      "description": "The performance level capability.",
      "properties": {
        "value": {
          "type": "number",
          "format": "double",
          "description": "Performance level value.",
          "readOnly": true
        },
        "unit": {
          "$ref": "#/$defs/PerformanceLevelUnit",
          "description": "Unit type used to measure performance level.",
          "readOnly": true
        }
      }
    },
    "PerformanceLevelUnit": {
      "type": "string",
      "description": "Unit type used to measure performance level.",
      "enum": [
        "DTU",
        "VCores"
      ],
      "x-ms-enum": {
        "name": "PerformanceLevelUnit",
        "modelAsString": true,
        "values": [
          {
            "name": "DTU",
            "value": "DTU",
            "description": "DTU"
          },
          {
            "name": "VCores",
            "value": "VCores",
            "description": "VCores"
          }
        ]
      }
    },
    "ReadScaleCapability": {
      "type": "object",
      "description": "The read scale capability.",
      "properties": {
        "maxNumberOfReplicas": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of read scale replicas.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ServerVersionCapability": {
      "type": "object",
      "description": "The server capability",
      "properties": {
        "name": {
          "type": "string",
          "description": "The server version name.",
          "readOnly": true
        },
        "supportedEditions": {
          "type": "array",
          "description": "The list of supported database editions.",
          "items": {
            "$ref": "#/$defs/EditionCapability"
          },
          "readOnly": true
        },
        "supportedElasticPoolEditions": {
          "type": "array",
          "description": "The list of supported elastic pool editions.",
          "items": {
            "$ref": "#/$defs/ElasticPoolEditionCapability"
          },
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "ServiceObjectiveCapability": {
      "type": "object",
      "description": "The service objectives capability.",
      "properties": {
        "id": {
          "$ref": "#/$defs/Azure.Core.uuid",
          "description": "The unique ID of the service objective.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The service objective name.",
          "readOnly": true
        },
        "supportedMaxSizes": {
          "type": "array",
          "description": "The list of supported maximum database sizes.",
          "items": {
            "$ref": "#/$defs/MaxSizeRangeCapability"
          },
          "readOnly": true
        },
        "performanceLevel": {
          "$ref": "#/$defs/PerformanceLevelCapability",
          "description": "The performance level.",
          "readOnly": true
        },
        "sku": {
          "$ref": "#/$defs/Sku",
          "description": "The sku.",
          "readOnly": true
        },
        "supportedLicenseTypes": {
          "type": "array",
          "description": "List of supported license types.",
          "items": {
            "$ref": "#/$defs/LicenseTypeCapability"
          },
          "readOnly": true
        },
        "includedMaxSize": {
          "$ref": "#/$defs/MaxSizeCapability",
          "description": "The included (free) max size.",
          "readOnly": true
        },
        "zoneRedundant": {
          "type": "boolean",
          "description": "Whether or not zone redundancy is supported for the service objective.",
          "readOnly": true
        },
        "supportedAutoPauseDelay": {
          "$ref": "#/$defs/AutoPauseDelayTimeRange",
          "description": "Supported time range for auto pause delay",
          "readOnly": true
        },
        "supportedMinCapacities": {
          "type": "array",
          "description": "List of supported min capacities",
          "items": {
            "$ref": "#/$defs/MinCapacityCapability"
          },
          "readOnly": true
        },
        "computeModel": {
          "type": "string",
          "description": "The compute model",
          "readOnly": true
        },
        "supportedMaintenanceConfigurations": {
          "type": "array",
          "description": "List of supported maintenance configurations",
          "items": {
            "$ref": "#/$defs/MaintenanceConfigurationCapability"
          },
          "readOnly": true
        },
        "zonePinning": {
          "type": "boolean",
          "description": "Whether or not zone pinning is supported.",
          "readOnly": true
        },
        "supportedZones": {
          "type": "array",
          "description": "List of supported availability zones",
          "items": {
            "$ref": "#/$defs/ZonePinningCapability"
          },
          "readOnly": true
        },
        "supportedFreeLimitExhaustionBehaviors": {
          "type": "array",
          "description": "List of supported free limit exhaustion behaviors",
          "items": {
            "$ref": "#/$defs/FreeLimitExhaustionBehaviorCapability"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "Sku": {
      "type": "object",
      "description": "An ARM Resource SKU.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the SKU, typically, a letter + Number code, e.g. P3."
        },
        "tier": {
          "type": "string",
          "description": "The tier or edition of the particular SKU, e.g. Basic, Premium."
        },
        "size": {
          "type": "string",
          "description": "Size of the particular SKU"
        },
        "family": {
          "type": "string",
          "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here."
        },
        "capacity": {
          "type": "integer",
          "format": "int32",
          "description": "Capacity of the particular SKU."
        }
      },
      "required": [
        "name"
      ]
    },
    "StorageCapability": {
      "type": "object",
      "description": "The storage account type capability.",
      "properties": {
        "storageAccountType": {
          "$ref": "#/$defs/StorageCapabilityStorageAccountType",
          "description": "The storage account type for the database's backups.",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    },
    "StorageCapabilityStorageAccountType": {
      "type": "string",
      "description": "The storage account type for the database's backups.",
      "enum": [
        "GRS",
        "LRS",
        "ZRS",
        "GZRS"
      ],
      "x-ms-enum": {
        "name": "StorageCapabilityStorageAccountType",
        "modelAsString": true,
        "values": [
          {
            "name": "GRS",
            "value": "GRS",
            "description": "GRS"
          },
          {
            "name": "LRS",
            "value": "LRS",
            "description": "LRS"
          },
          {
            "name": "ZRS",
            "value": "ZRS",
            "description": "ZRS"
          },
          {
            "name": "GZRS",
            "value": "GZRS",
            "description": "GZRS"
          }
        ]
      }
    },
    "ZonePinningCapability": {
      "type": "object",
      "description": "The zone pinning capability",
      "properties": {
        "availabilityZone": {
          "type": "string",
          "description": "Name of the availability zone",
          "readOnly": true
        },
        "status": {
          "$ref": "#/$defs/CapabilityStatus",
          "description": "The status of the capability.",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the capability not being available."
        }
      }
    }
  }
}