{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-virtual-machine-size-list-result-schema.json",
  "title": "VirtualMachineSizeListResult",
  "description": "The List Virtual Machine size operation response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-subscriptions-api-openapi.yml#/components/schemas/VirtualMachineSizeListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of virtual machine sizes supported by AmlCompute.",
      "items": {
        "$ref": "#/$defs/VirtualMachineSize"
      },
      "x-ms-identifiers": [
        "name"
      ]
    }
  },
  "$defs": {
    "BillingCurrency": {
      "type": "string",
      "description": "Three lettered code specifying the currency of the VM price. Example: USD",
      "enum": [
        "USD"
      ],
      "x-ms-enum": {
        "name": "BillingCurrency",
        "modelAsString": true,
        "values": [
          {
            "name": "USD",
            "value": "USD"
          }
        ]
      }
    },
    "EstimatedVMPrice": {
      "type": "object",
      "description": "The estimated price info for using a VM of a particular OS type, tier, etc.",
      "properties": {
        "retailPrice": {
          "type": "number",
          "format": "double",
          "title": "Retail price",
          "description": "The price charged for using the VM."
        },
        "osType": {
          "$ref": "#/$defs/VMPriceOSType",
          "title": "OS type",
          "description": "Operating system type used by the VM."
        },
        "vmTier": {
          "$ref": "#/$defs/VMTier",
          "title": "VM tier",
          "description": "The type of the VM."
        }
      },
      "required": [
        "retailPrice",
        "osType",
        "vmTier"
      ]
    },
    "EstimatedVMPrices": {
      "type": "object",
      "description": "The estimated price info for using a VM.",
      "properties": {
        "billingCurrency": {
          "$ref": "#/$defs/BillingCurrency",
          "title": "Billing currency",
          "description": "Three lettered code specifying the currency of the VM price. Example: USD"
        },
        "unitOfMeasure": {
          "$ref": "#/$defs/UnitOfMeasure",
          "title": "Unit of time measure",
          "description": "The unit of time measurement for the specified VM price. Example: OneHour"
        },
        "values": {
          "type": "array",
          "title": "List of estimated VM prices.",
          "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc.",
          "items": {
            "$ref": "#/$defs/EstimatedVMPrice"
          },
          "x-ms-identifiers": []
        }
      },
      "required": [
        "billingCurrency",
        "unitOfMeasure",
        "values"
      ]
    },
    "UnitOfMeasure": {
      "type": "string",
      "description": "The unit of time measurement for the specified VM price. Example: OneHour",
      "enum": [
        "OneHour"
      ],
      "x-ms-enum": {
        "name": "UnitOfMeasure",
        "modelAsString": true,
        "values": [
          {
            "name": "OneHour",
            "value": "OneHour"
          }
        ]
      }
    },
    "VMPriceOSType": {
      "type": "string",
      "description": "Operating system type used by the VM.",
      "enum": [
        "Linux",
        "Windows"
      ],
      "x-ms-enum": {
        "name": "VMPriceOSType",
        "modelAsString": true,
        "values": [
          {
            "name": "Linux",
            "value": "Linux"
          },
          {
            "name": "Windows",
            "value": "Windows"
          }
        ]
      }
    },
    "VMTier": {
      "type": "string",
      "description": "The type of the VM.",
      "enum": [
        "Standard",
        "LowPriority",
        "Spot"
      ],
      "x-ms-enum": {
        "name": "VMTier",
        "modelAsString": true,
        "values": [
          {
            "name": "Standard",
            "value": "Standard"
          },
          {
            "name": "LowPriority",
            "value": "LowPriority"
          },
          {
            "name": "Spot",
            "value": "Spot"
          }
        ]
      }
    },
    "VirtualMachineSize": {
      "type": "object",
      "description": "Describes the properties of a VM size.",
      "properties": {
        "name": {
          "type": "string",
          "title": "Virtual Machine size name",
          "description": "The name of the virtual machine size.",
          "readOnly": true
        },
        "family": {
          "type": "string",
          "title": "Virtual Machine family name",
          "description": "The family name of the virtual machine size.",
          "readOnly": true
        },
        "vCPUs": {
          "type": "integer",
          "format": "int32",
          "title": "Number of vPUs",
          "description": "The number of vCPUs supported by the virtual machine size.",
          "readOnly": true
        },
        "gpus": {
          "type": "integer",
          "format": "int32",
          "title": "Number of gPUs",
          "description": "The number of gPUs supported by the virtual machine size.",
          "readOnly": true
        },
        "osVhdSizeMB": {
          "type": "integer",
          "format": "int32",
          "title": "OS VHD Disk size",
          "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.",
          "readOnly": true
        },
        "maxResourceVolumeMB": {
          "type": "integer",
          "format": "int32",
          "title": "Resource volume size",
          "description": "The resource volume size, in MB, allowed by the virtual machine size.",
          "readOnly": true
        },
        "memoryGB": {
          "type": "number",
          "format": "double",
          "title": "Memory size",
          "description": "The amount of memory, in GB, supported by the virtual machine size.",
          "readOnly": true
        },
        "lowPriorityCapable": {
          "type": "boolean",
          "title": "Low priority capable",
          "description": "Specifies if the virtual machine size supports low priority VMs.",
          "readOnly": true
        },
        "premiumIO": {
          "type": "boolean",
          "title": "Premium IO supported",
          "description": "Specifies if the virtual machine size supports premium IO.",
          "readOnly": true
        },
        "estimatedVMPrices": {
          "$ref": "#/$defs/EstimatedVMPrices",
          "title": "Estimated VM prices",
          "description": "The estimated price information for using a VM."
        },
        "supportedComputeTypes": {
          "type": "array",
          "title": "Supported Compute Types",
          "description": "Specifies the compute types supported by the virtual machine size.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}