{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-site-recovery/json-schema/microsoft-azure-site-recovery-target-compute-size-collection-schema.json",
  "title": "TargetComputeSizeCollection",
  "description": "Target compute size collection.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-site-recovery-targetcomputesizes-api-openapi.yml#/components/schemas/TargetComputeSizeCollection",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The TargetComputeSize items on this page",
      "items": {
        "$ref": "#/$defs/TargetComputeSize"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ComputeSizeErrorDetails": {
      "type": "object",
      "description": "Represents the error used to indicate why the target compute size is not applicable.",
      "properties": {
        "message": {
          "type": "string",
          "description": "The error message."
        },
        "severity": {
          "type": "string",
          "description": "The severity of the error."
        }
      }
    },
    "TargetComputeSize": {
      "type": "object",
      "description": "Represents applicable recovery vm sizes.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The Id."
        },
        "name": {
          "type": "string",
          "description": "The name."
        },
        "type": {
          "type": "string",
          "description": "The Type of the object."
        },
        "properties": {
          "$ref": "#/$defs/TargetComputeSizeProperties",
          "description": "The custom data."
        }
      }
    },
    "TargetComputeSizeProperties": {
      "type": "object",
      "description": "Represents applicable recovery vm sizes properties.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Target compute size name."
        },
        "friendlyName": {
          "type": "string",
          "description": "Target compute size display name."
        },
        "cpuCoresCount": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum cpu cores count supported by target compute size."
        },
        "vCPUsAvailable": {
          "type": "integer",
          "format": "int32",
          "description": "The Available vCPUs supported by target compute size.",
          "readOnly": true
        },
        "memoryInGB": {
          "type": "number",
          "format": "double",
          "description": "The maximum memory in GB supported by target compute size."
        },
        "maxDataDiskCount": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum data disks count supported by target compute size."
        },
        "maxNicsCount": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum Nics count supported by target compute size."
        },
        "errors": {
          "type": "array",
          "description": "The reasons why the target compute size is not applicable for the protected item.",
          "items": {
            "$ref": "#/$defs/ComputeSizeErrorDetails"
          }
        },
        "highIopsSupported": {
          "type": "string",
          "description": "The value indicating whether the target compute size supports high Iops."
        },
        "hyperVGenerations": {
          "type": "array",
          "description": "The supported HyperV Generations.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}