{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-migrate/json-schema/microsoft-azure-migrate-assessment-options-schema.json",
  "title": "AssessmentOptions",
  "description": "Assessment options resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-migrate-assessmentoptionsoperations-api-openapi.yml#/components/schemas/AssessmentOptions",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/AssessmentOptionsProperties",
      "description": "The resource-specific properties for this resource.",
      "x-ms-client-flatten": true,
      "x-ms-mutability": [
        "read",
        "create"
      ]
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "AssessmentOptionsProperties": {
      "type": "object",
      "description": "Assessment options properties.",
      "properties": {
        "vmFamilies": {
          "type": "array",
          "description": "Dictionary of VM families grouped by vm family name describing the targeted\nazure locations of VM family and the category of the family.",
          "items": {
            "$ref": "#/$defs/VmFamilyOptions"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "reservedInstanceVmFamilies": {
          "type": "array",
          "description": "List of supported VM Families.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "reservedInstanceSupportedLocations": {
          "type": "array",
          "description": "List of supported Azure regions for reserved instances.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "reservedInstanceSupportedCurrencies": {
          "type": "array",
          "description": "List of supported currencies for reserved instances.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "reservedInstanceSupportedOffers": {
          "type": "array",
          "description": "List of supported Azure offer codes for reserved instances.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "ultraDiskVmFamilies": {
          "type": "array",
          "description": "Ultra disk related assessment options.",
          "items": {
            "$ref": "#/$defs/UltraDiskAssessmentOptions"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "premiumDiskVmFamilies": {
          "type": "array",
          "description": "List of VM Families that support premium disks for assessments.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "savingsPlanVmFamilies": {
          "type": "array",
          "description": "List of VM Families that support Savings plan offer for assessments.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "savingsPlanSupportedLocations": {
          "type": "array",
          "description": "List of Azure locations that support Savings plan offer for assessments.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "premiumV2DiskSupportedLocations": {
          "type": "array",
          "description": "List of Azure locations that support Premium SSD V2 disks for assessments.",
          "items": {
            "$ref": "#/$defs/AzureLocation"
          },
          "readOnly": true
        }
      }
    },
    "AzureLocation": {
      "type": "string",
      "description": "Location for Azure.",
      "enum": [
        "Unknown",
        "EastAsia",
        "SoutheastAsia",
        "AustraliaEast",
        "AustraliaSoutheast",
        "BrazilSouth",
        "CanadaCentral",
        "CanadaEast",
        "WestEurope",
        "NorthEurope",
        "CentralIndia",
        "SouthIndia",
        "WestIndia",
        "JapanEast",
        "JapanWest",
        "KoreaCentral",
        "KoreaSouth",
        "UkWest",
        "UkSouth",
        "NorthCentralUs",
        "EastUs",
        "WestUs2",
        "SouthCentralUs",
        "CentralUs",
        "EastUs2",
        "WestUs",
        "WestCentralUs",
        "GermanyCentral",
        "GermanyNortheast",
        "ChinaNorth",
        "ChinaEast",
        "USGovArizona",
        "USGovTexas",
        "USGovIowa",
        "USGovVirginia",
        "USDoDCentral",
        "USDoDEast",
        "FranceCentral",
        "AustraliaCentral",
        "SouthAfricaNorth",
        "FranceSouth",
        "AustraliaCentral2",
        "SouthAfricaWest",
        "GermanyNorth",
        "GermanyWestCentral",
        "NorwayEast",
        "NorwayWest",
        "ChinaEast2",
        "ChinaNorth2",
        "SwitzerlandNorth",
        "SwitzerlandWest",
        "UAENorth",
        "UAECentral",
        "UsNatEast",
        "UsNatWest",
        "UsSecEast",
        "UsSecCentral",
        "UsSecWest",
        "SwedenCentral",
        "QatarCentral"
      ],
      "x-ms-enum": {
        "name": "AzureLocation",
        "modelAsString": true
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "UltraDiskAssessmentOptions": {
      "type": "object",
      "description": "Assessment options for Ultra disk type.",
      "properties": {
        "familyName": {
          "type": "string",
          "description": "Family name."
        },
        "targetLocations": {
          "type": "array",
          "description": "List of locations where ultra disk is supported for this VMfamily.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "VmFamilyOptions": {
      "type": "object",
      "description": "VM family name, the list of targeted azure locations and the category of the\nfamily.",
      "properties": {
        "familyName": {
          "type": "string",
          "description": "Name of the VM family.",
          "readOnly": true
        },
        "targetLocations": {
          "type": "array",
          "description": "List of Azure regions.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "category": {
          "type": "array",
          "description": "Category of the VM family.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        }
      }
    }
  }
}