OSDisk

Specifies information about the operating system disk used by the virtual machine.

Cloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
osType string This property allows you to specify the type of the OS that is included in the disk.
name string The disk name.
caching string Specifies the caching requirements.
createOption string Specifies how the virtual machine disk should be created.
diskSizeGB integer Specifies the size of an empty data disk in gigabytes.
managedDisk object
deleteOption string Specifies whether OS disk should be deleted or detached upon VM deletion.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-virtual-machines-osdisk-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OSDisk",
  "title": "OSDisk",
  "type": "object",
  "description": "Specifies information about the operating system disk used by the virtual machine.",
  "required": [
    "createOption"
  ],
  "properties": {
    "osType": {
      "type": "string",
      "description": "This property allows you to specify the type of the OS that is included in the disk.",
      "enum": [
        "Windows",
        "Linux"
      ]
    },
    "name": {
      "type": "string",
      "description": "The disk name."
    },
    "caching": {
      "type": "string",
      "description": "Specifies the caching requirements.",
      "enum": [
        "None",
        "ReadOnly",
        "ReadWrite"
      ]
    },
    "createOption": {
      "type": "string",
      "description": "Specifies how the virtual machine disk should be created.",
      "enum": [
        "FromImage",
        "Empty",
        "Attach",
        "Copy",
        "Restore"
      ]
    },
    "diskSizeGB": {
      "type": "integer",
      "format": "int32",
      "description": "Specifies the size of an empty data disk in gigabytes."
    },
    "managedDisk": {
      "$ref": "#/components/schemas/ManagedDiskParameters"
    },
    "deleteOption": {
      "type": "string",
      "description": "Specifies whether OS disk should be deleted or detached upon VM deletion.",
      "enum": [
        "Delete",
        "Detach"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-virtual-machines-osdisk"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.