Azure Virtual Machines · Schema
RunCommandDocument
Describes the properties of a Run Command.
Cloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual Machines
Properties
| Name | Type | Description |
|---|---|---|
| $schema | string | The VM run command schema. |
| id | string | The VM run command id. |
| osType | object | The Operating System type. |
| label | string | The VM run command label. |
| description | string | The VM run command description. |
| script | array | The script to be executed. |
| parameters | array | The parameters used by the script. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-run-command-document-schema.json",
"title": "RunCommandDocument",
"description": "Describes the properties of a Run Command.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-azure-virtual-machines-virtualmachineruncommands-api-openapi.yml#/components/schemas/RunCommandDocument",
"type": "object",
"properties": {
"script": {
"type": "array",
"description": "The script to be executed.",
"items": {
"type": "string"
}
},
"parameters": {
"type": "array",
"description": "The parameters used by the script.",
"items": {
"$ref": "#/$defs/RunCommandParameterDefinition"
},
"x-ms-identifiers": [
"name",
"type"
]
}
},
"required": [
"script"
],
"allOf": [
{
"$ref": "#/$defs/RunCommandDocumentBase"
}
],
"$defs": {
"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
}
},
"RunCommandDocumentBase": {
"type": "object",
"description": "Describes the properties of a Run Command metadata.",
"properties": {
"$schema": {
"type": "string",
"description": "The VM run command schema.",
"x-ms-client-name": "schema"
},
"id": {
"type": "string",
"description": "The VM run command id."
},
"osType": {
"$ref": "#/$defs/Common.OperatingSystemTypes",
"description": "The Operating System type."
},
"label": {
"type": "string",
"description": "The VM run command label."
},
"description": {
"type": "string",
"description": "The VM run command description."
}
},
"required": [
"$schema",
"id",
"osType",
"label",
"description"
]
},
"RunCommandParameterDefinition": {
"type": "object",
"description": "Describes the properties of a run command parameter.",
"properties": {
"name": {
"type": "string",
"description": "The run command parameter name."
},
"type": {
"type": "string",
"description": "The run command parameter type."
},
"defaultValue": {
"type": "string",
"description": "The run command parameter default value."
},
"required": {
"type": "boolean",
"description": "The run command parameter required."
}
},
"required": [
"name",
"type"
]
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-virtual-machines-run-command-document"
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.