{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-mysql/json-schema/microsoft-azure-mysql-virtual-network-subnet-usage-result-schema.json",
  "title": "VirtualNetworkSubnetUsageResult",
  "description": "Virtual network subnet usage data.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-mysql-openapi.yml#/components/schemas/VirtualNetworkSubnetUsageResult",
  "type": "object",
  "properties": {
    "location": {
      "type": "string",
      "description": "The location name.",
      "readOnly": true
    },
    "subscriptionId": {
      "type": "string",
      "description": "The subscription id.",
      "readOnly": true
    },
    "delegatedSubnetsUsage": {
      "type": "array",
      "description": "A list of delegated subnet usage",
      "items": {
        "$ref": "#/$defs/DelegatedSubnetUsage"
      },
      "readOnly": true,
      "x-ms-identifiers": []
    }
  },
  "$defs": {
    "DelegatedSubnetUsage": {
      "type": "object",
      "description": "Delegated subnet usage data.",
      "properties": {
        "subnetName": {
          "type": "string",
          "description": "name of the subnet",
          "readOnly": true
        },
        "usage": {
          "type": "integer",
          "format": "int64",
          "description": "Number of used delegated subnets",
          "readOnly": true
        }
      }
    }
  }
}