VirtualMachineImage

Describes a Virtual Machine Image.

Cloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
id string Resource Id
name string The name of the resource.
location string The supported Azure location of the resource.
tags object Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-ma
extendedLocation object The extended location of the Virtual Machine.
properties object Describes the properties of a Virtual Machine Image.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-virtual-machines-virtual-machine-image-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-virtual-machine-image-schema.json",
  "title": "VirtualMachineImage",
  "description": "Describes a Virtual Machine Image.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-virtualmachineimages-api-openapi.yml#/components/schemas/VirtualMachineImage",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/VirtualMachineImageProperties",
      "description": "Describes the properties of a Virtual Machine Image.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/VirtualMachineImageResource"
    }
  ],
  "$defs": {
    "AlternativeOption": {
      "type": "object",
      "description": "Describes the alternative option specified by the Publisher for this image when this image is deprecated.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AlternativeType",
          "description": "Describes the type of the alternative option."
        },
        "value": {
          "type": "string",
          "description": "Indicates the alternative option value specified by the Publisher. This is the Offer name when the type is Offer or the Plan name when the type is Plan."
        }
      }
    },
    "AlternativeType": {
      "type": "string",
      "description": "Describes the type of the alternative option.",
      "enum": [
        "None",
        "Offer",
        "Plan"
      ],
      "x-ms-enum": {
        "name": "AlternativeType",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None"
          },
          {
            "name": "Offer",
            "value": "Offer"
          },
          {
            "name": "Plan",
            "value": "Plan"
          }
        ]
      }
    },
    "ArchitectureTypes": {
      "type": "string",
      "description": "Specifies the Architecture Type",
      "enum": [
        "x64",
        "Arm64"
      ],
      "x-ms-enum": {
        "name": "ArchitectureTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "x64",
            "value": "x64"
          },
          {
            "name": "Arm64",
            "value": "Arm64"
          }
        ]
      }
    },
    "AutomaticOSUpgradeProperties": {
      "type": "object",
      "description": "Describes automatic OS upgrade properties on the image.",
      "properties": {
        "automaticOSUpgradeSupported": {
          "type": "boolean",
          "description": "Specifies whether automatic OS upgrade is supported on the image."
        }
      },
      "required": [
        "automaticOSUpgradeSupported"
      ]
    },
    "Common.OperatingSystemTypes": {
      "type": "string",
      "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**",
      "enum": [
        "Windows",
        "Linux"
      ],
      "x-ms-enum": {
        "name": "OperatingSystemTypes",
        "modelAsString": false
      }
    },
    "DataDiskImage": {
      "type": "object",
      "description": "Contains the data disk images information.",
      "properties": {
        "lun": {
          "type": "integer",
          "format": "int32",
          "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.",
          "readOnly": true
        }
      }
    },
    "DisallowedConfiguration": {
      "type": "object",
      "description": "Specifies the disallowed configuration for a virtual machine image.",
      "properties": {
        "vmDiskType": {
          "$ref": "#/$defs/VmDiskTypes",
          "description": "VM disk types which are disallowed."
        }
      }
    },
    "ExtendedLocation": {
      "type": "object",
      "description": "The complex type of the extended location.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the extended location."
        },
        "type": {
          "$ref": "#/$defs/ExtendedLocationType",
          "description": "The type of the extended location."
        }
      }
    },
    "ExtendedLocationType": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "HyperVGenerationTypes": {
      "type": "string",
      "description": "Specifies the HyperVGeneration Type",
      "enum": [
        "V1",
        "V2"
      ],
      "x-ms-enum": {
        "name": "HyperVGenerationTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "V1",
            "value": "V1"
          },
          {
            "name": "V2",
            "value": "V2"
          }
        ]
      }
    },
    "ImageDeprecationStatus": {
      "type": "object",
      "description": "Describes image deprecation status properties on the image.",
      "properties": {
        "imageState": {
          "$ref": "#/$defs/ImageState",
          "description": "Describes the state of the image."
        },
        "scheduledDeprecationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time, in future, at which this image will be marked as deprecated. This scheduled time is chosen by the Publisher."
        },
        "alternativeOption": {
          "$ref": "#/$defs/AlternativeOption",
          "description": "Describes the alternative option specified by the Publisher for this image when this image is deprecated."
        }
      }
    },
    "ImageState": {
      "type": "string",
      "description": "Describes the state of the image.",
      "enum": [
        "Active",
        "ScheduledForDeprecation",
        "Deprecated"
      ],
      "x-ms-enum": {
        "name": "ImageState",
        "modelAsString": true,
        "values": [
          {
            "name": "Active",
            "value": "Active"
          },
          {
            "name": "ScheduledForDeprecation",
            "value": "ScheduledForDeprecation"
          },
          {
            "name": "Deprecated",
            "value": "Deprecated"
          }
        ]
      }
    },
    "OSDiskImage": {
      "type": "object",
      "description": "Contains the os disk image information.",
      "properties": {
        "operatingSystem": {
          "$ref": "#/$defs/Common.OperatingSystemTypes",
          "description": "The operating system of the osDiskImage."
        }
      },
      "required": [
        "operatingSystem"
      ]
    },
    "PurchasePlan": {
      "type": "object",
      "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.",
      "properties": {
        "publisher": {
          "type": "string",
          "description": "The publisher ID."
        },
        "name": {
          "type": "string",
          "description": "The plan ID."
        },
        "product": {
          "type": "string",
          "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
        }
      },
      "required": [
        "publisher",
        "name",
        "product"
      ]
    },
    "SubResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource Id"
        }
      }
    },
    "VirtualMachineImageFeature": {
      "type": "object",
      "description": "Specifies additional capabilities supported by the image",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the feature."
        },
        "value": {
          "type": "string",
          "description": "The corresponding value for the feature."
        }
      }
    },
    "VirtualMachineImageProperties": {
      "type": "object",
      "description": "Describes the properties of a Virtual Machine Image.",
      "properties": {
        "plan": {
          "$ref": "#/$defs/PurchasePlan",
          "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
        },
        "osDiskImage": {
          "$ref": "#/$defs/OSDiskImage",
          "description": "Contains the os disk image information."
        },
        "dataDiskImages": {
          "type": "array",
          "description": "The list of data disk images information.",
          "items": {
            "$ref": "#/$defs/DataDiskImage"
          },
          "x-ms-identifiers": [
            "lun"
          ]
        },
        "automaticOSUpgradeProperties": {
          "$ref": "#/$defs/AutomaticOSUpgradeProperties",
          "description": "Describes automatic OS upgrade properties on the image."
        },
        "hyperVGeneration": {
          "$ref": "#/$defs/HyperVGenerationTypes",
          "description": "Specifies the HyperVGeneration Type"
        },
        "disallowed": {
          "$ref": "#/$defs/DisallowedConfiguration",
          "description": "Specifies disallowed configuration for the VirtualMachine created from the image"
        },
        "features": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/VirtualMachineImageFeature"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "architecture": {
          "$ref": "#/$defs/ArchitectureTypes",
          "description": "Specifies the Architecture Type"
        },
        "imageDeprecationStatus": {
          "$ref": "#/$defs/ImageDeprecationStatus",
          "description": "Describes image deprecation status properties on the image."
        }
      }
    },
    "VirtualMachineImageResource": {
      "type": "object",
      "description": "Virtual machine image resource information.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the resource."
        },
        "location": {
          "type": "string",
          "description": "The supported Azure location of the resource."
        },
        "tags": {
          "type": "object",
          "description": "Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).",
          "additionalProperties": {
            "type": "string"
          }
        },
        "extendedLocation": {
          "$ref": "#/$defs/ExtendedLocation",
          "description": "The extended location of the Virtual Machine."
        }
      },
      "required": [
        "name",
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ]
    },
    "VmDiskTypes": {
      "type": "string",
      "description": "VM disk types which are disallowed.",
      "enum": [
        "None",
        "Unmanaged"
      ],
      "x-ms-enum": {
        "name": "VmDiskTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None"
          },
          {
            "name": "Unmanaged",
            "value": "Unmanaged"
          }
        ]
      }
    }
  }
}

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-virtual-machine-image"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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