Azure Automation · Schema
Runbook
Definition of the runbook type.
AutomationConfiguration ManagementRunbooksUpdate ManagementMicrosoft AzurePowerShell
Properties
| Name | Type | Description |
|---|---|---|
| tags | object | Resource tags. |
| location | string | The geo-location where the resource lives |
| properties | object | Gets or sets the runbook properties. |
| etag | string | Gets or sets the etag of the resource. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-runbook-schema.json",
"title": "Runbook",
"description": "Definition of the runbook type.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-azure-automation-runbook-api-openapi.yml#/components/schemas/Runbook",
"type": "object",
"properties": {
"properties": {
"$ref": "#/$defs/RunbookProperties",
"description": "Gets or sets the runbook properties.",
"x-ms-client-flatten": true
},
"etag": {
"type": "string",
"description": "Gets or sets the etag of the resource."
}
},
"allOf": [
{
"$ref": "#/$defs/TrackedResource"
}
],
"$defs": {
"ContentHash": {
"type": "object",
"description": "Definition of the runbook property type.",
"properties": {
"algorithm": {
"type": "string",
"description": "Gets or sets the content hash algorithm used to hash the content."
},
"value": {
"type": "string",
"description": "Gets or sets expected hash value of the content."
}
},
"required": [
"algorithm",
"value"
]
},
"ContentLink": {
"type": "object",
"description": "Definition of the content link.",
"properties": {
"uri": {
"type": "string",
"description": "Gets or sets the uri of content."
},
"contentHash": {
"$ref": "#/$defs/ContentHash",
"description": "Gets or sets the hash."
},
"version": {
"type": "string",
"description": "Gets or sets the version of the content."
}
}
},
"Resource": {
"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
},
"RunbookDraft": {
"type": "object",
"properties": {
"inEdit": {
"type": "boolean",
"description": "Gets or sets whether runbook is in edit mode."
},
"draftContentLink": {
"$ref": "#/$defs/ContentLink",
"description": "Gets or sets the draft runbook content link."
},
"creationTime": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the creation time of the runbook draft."
},
"lastModifiedTime": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the last modified time of the runbook draft."
},
"parameters": {
"type": "object",
"description": "Gets or sets the runbook draft parameters.",
"additionalProperties": {
"$ref": "#/$defs/RunbookParameter"
}
},
"outputTypes": {
"type": "array",
"description": "Gets or sets the runbook output types.",
"items": {
"type": "string"
}
}
}
},
"RunbookParameter": {
"type": "object",
"description": "Definition of the runbook parameter type.",
"properties": {
"type": {
"type": "string",
"description": "Gets or sets the type of the parameter."
},
"isMandatory": {
"type": "boolean",
"description": "Gets or sets a Boolean value to indicate whether the parameter is mandatory or not."
},
"position": {
"type": "integer",
"format": "int32",
"description": "Get or sets the position of the parameter."
},
"defaultValue": {
"type": "string",
"description": "Gets or sets the default value of parameter."
}
}
},
"RunbookProperties": {
"type": "object",
"description": "Definition of the runbook property type.",
"properties": {
"runtimeEnvironment": {
"type": "string",
"description": "Runtime Environment of the runbook execution."
},
"runbookType": {
"$ref": "#/$defs/RunbookTypeEnum",
"description": "Gets or sets the type of the runbook."
},
"publishContentLink": {
"$ref": "#/$defs/ContentLink",
"description": "Gets or sets the published runbook content link."
},
"state": {
"$ref": "#/$defs/RunbookState",
"description": "Gets or sets the state of the runbook."
},
"logVerbose": {
"type": "boolean",
"description": "Gets or sets verbose log option."
},
"logProgress": {
"type": "boolean",
"description": "Gets or sets progress log option."
},
"logActivityTrace": {
"type": "integer",
"format": "int32",
"description": "Gets or sets the option to log activity trace of the runbook."
},
"jobCount": {
"type": "integer",
"format": "int32",
"description": "Gets or sets the job count of the runbook."
},
"parameters": {
"type": "object",
"description": "Gets or sets the runbook parameters.",
"additionalProperties": {
"$ref": "#/$defs/RunbookParameter"
}
},
"outputTypes": {
"type": "array",
"description": "Gets or sets the runbook output types.",
"items": {
"type": "string"
}
},
"draft": {
"$ref": "#/$defs/RunbookDraft",
"description": "Gets or sets the draft runbook properties."
},
"provisioningState": {
"type": "string",
"description": "Gets or sets the provisioning state of the runbook.",
"enum": [
"Succeeded"
],
"x-ms-enum": {
"modelAsString": false
}
},
"lastModifiedBy": {
"type": "string",
"description": "Gets or sets the last modified by."
},
"creationTime": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the creation time."
},
"lastModifiedTime": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the last modified time."
},
"description": {
"type": "string",
"description": "Gets or sets the description."
}
}
},
"RunbookState": {
"type": "string",
"description": "Gets or sets the state of the runbook.",
"enum": [
"New",
"Edit",
"Published"
],
"x-ms-enum": {
"name": "RunbookState",
"modelAsString": true,
"values": [
{
"name": "New",
"value": "New",
"description": "New"
},
{
"name": "Edit",
"value": "Edit",
"description": "Edit"
},
{
"name": "Published",
"value": "Published",
"description": "Published"
}
]
}
},
"RunbookTypeEnum": {
"type": "string",
"description": "Gets or sets the type of the runbook.",
"enum": [
"Script",
"Graph",
"PowerShellWorkflow",
"PowerShell",
"GraphPowerShellWorkflow",
"GraphPowerShell",
"Python2",
"Python3",
"Python",
"PowerShell72"
],
"x-ms-enum": {
"name": "RunbookTypeEnum",
"modelAsString": true,
"values": [
{
"name": "Script",
"value": "Script",
"description": "Script"
},
{
"name": "Graph",
"value": "Graph",
"description": "Graph"
},
{
"name": "PowerShellWorkflow",
"value": "PowerShellWorkflow",
"description": "PowerShellWorkflow"
},
{
"name": "PowerShell",
"value": "PowerShell",
"description": "PowerShell"
},
{
"name": "GraphPowerShellWorkflow",
"value": "GraphPowerShellWorkflow",
"description": "GraphPowerShellWorkflow"
},
{
"name": "GraphPowerShell",
"value": "GraphPowerShell",
"description": "GraphPowerShell"
},
{
"name": "Python2",
"value": "Python2",
"description": "Python2"
},
{
"name": "Python3",
"value": "Python3",
"description": "Python3"
},
{
"name": "Python",
"value": "Python",
"description": "Python"
},
{
"name": "PowerShell72",
"value": "PowerShell72",
"description": "PowerShell72"
}
]
}
},
"TrackedResource": {
"type": "object",
"title": "Tracked Resource",
"description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
"properties": {
"tags": {
"type": "object",
"description": "Resource tags.",
"additionalProperties": {
"type": "string"
},
"x-ms-mutability": [
"read",
"create",
"update"
]
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives",
"x-ms-mutability": [
"read",
"create"
]
}
},
"required": [
"location"
],
"allOf": [
{
"$ref": "#/$defs/Resource"
}
]
}
}
}
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-automation-runbook"
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.