WhatIfOperationResult
Result of the What-If operation. Contains a list of predicted changes and a URL link to get to the next set of results.
Properties
| Name | Type | Description |
|---|---|---|
| status | string | Status of the What-If operation. |
| properties | object | What-If operation properties. |
| error | object | Error when What-If operation fails. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-what-if-operation-result-schema.json",
"title": "WhatIfOperationResult",
"description": "Result of the What-If operation. Contains a list of predicted changes and a URL link to get to the next set of results.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-azure-deployments-api-openapi.yml#/components/schemas/WhatIfOperationResult",
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Status of the What-If operation."
},
"properties": {
"$ref": "#/$defs/WhatIfOperationProperties",
"description": "What-If operation properties.",
"x-ms-client-flatten": true
},
"error": {
"$ref": "#/$defs/ErrorResponse",
"description": "Error when What-If operation fails."
}
},
"$defs": {
"ChangeType": {
"type": "string",
"description": "Type of change that will be made to the resource when the deployment is executed.",
"enum": [
"Create",
"Delete",
"Ignore",
"Deploy",
"NoChange",
"Modify",
"Unsupported"
],
"x-ms-enum": {
"name": "ChangeType",
"modelAsString": false,
"values": [
{
"name": "Create",
"value": "Create",
"description": "The resource does not exist in the current state but is present in the desired state. The resource will be created when the deployment is executed."
},
{
"name": "Delete",
"value": "Delete",
"description": "The resource exists in the current state and is missing from the desired state. The resource will be deleted when the deployment is executed."
},
{
"name": "Ignore",
"value": "Ignore",
"description": "The resource exists in the current state and is missing from the desired state. The resource will not be deployed or modified when the deployment is executed."
},
{
"name": "Deploy",
"value": "Deploy",
"description": "The resource exists in the current state and the desired state and will be redeployed when the deployment is executed. The properties of the resource may or may not change."
},
{
"name": "NoChange",
"value": "NoChange",
"description": "The resource exists in the current state and the desired state and will be redeployed when the deployment is executed. The properties of the resource will not change."
},
{
"name": "Modify",
"value": "Modify",
"description": "The resource exists in the current state and the desired state and will be redeployed when the deployment is executed. The properties of the resource will change."
},
{
"name": "Unsupported",
"value": "Unsupported",
"description": "The resource is not supported by What-If."
}
]
}
},
"DeploymentDiagnosticsDefinition": {
"type": "object",
"properties": {
"level": {
"$ref": "#/$defs/Level",
"description": "Denotes the additional response level.",
"readOnly": true
},
"code": {
"type": "string",
"description": "The error code.",
"readOnly": true
},
"message": {
"type": "string",
"description": "The error message.",
"readOnly": true
},
"target": {
"type": "string",
"description": "The error target.",
"readOnly": true
},
"additionalInfo": {
"type": "array",
"description": "The error additional info.",
"items": {
"$ref": "#/$defs/ErrorAdditionalInfo"
},
"readOnly": true,
"x-ms-identifiers": []
}
},
"required": [
"level",
"code",
"message"
]
},
"DeploymentExtensionConfigItem": {
"type": "object",
"description": "Represents the value for an extension config property.",
"properties": {
"value": {
"description": "The value of the extension config property."
},
"keyVaultReference": {
"$ref": "#/$defs/KeyVaultParameterReference",
"description": "The Azure Key Vault reference used to retrieve the secret value of the extension config property."
}
}
},
"DeploymentExtensionDefinition": {
"type": "object",
"properties": {
"alias": {
"type": "string",
"description": "The alias of the extension as defined in the deployment template.",
"readOnly": true
},
"name": {
"type": "string",
"description": "The extension name.",
"readOnly": true
},
"version": {
"type": "string",
"description": "The extension version.",
"readOnly": true
},
"configId": {
"type": "string",
"description": "The extension configuration ID. It uniquely identifies a deployment target within an extension.",
"readOnly": true
},
"configHash": {
"type": "string",
"description": "The extension configuration hash. Can be used to distinguish different configurations that have the same config ID.",
"readOnly": true
},
"config": {
"type": "object",
"description": "The extension configuration.",
"additionalProperties": {
"$ref": "#/$defs/DeploymentExtensionConfigItem"
},
"readOnly": true
}
}
},
"ErrorAdditionalInfo": {
"type": "object",
"description": "The resource management error additional info.",
"properties": {
"type": {
"type": "string",
"description": "The additional info type.",
"readOnly": true
},
"info": {
"type": "object",
"description": "The additional info.",
"readOnly": true
}
}
},
"ErrorResponse": {
"type": "object",
"description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)",
"properties": {
"code": {
"type": "string",
"description": "The error code.",
"readOnly": true
},
"message": {
"type": "string",
"description": "The error message.",
"readOnly": true
},
"target": {
"type": "string",
"description": "The error target.",
"readOnly": true
},
"details": {
"type": "array",
"description": "The error details.",
"items": {
"$ref": "#/$defs/ErrorResponse"
},
"readOnly": true,
"x-ms-identifiers": [
"message",
"target"
]
},
"additionalInfo": {
"type": "array",
"description": "The error additional info.",
"items": {
"$ref": "#/$defs/ErrorAdditionalInfo"
},
"readOnly": true,
"x-ms-identifiers": []
}
}
},
"KeyVaultParameterReference": {
"type": "object",
"description": "Azure Key Vault parameter reference.",
"properties": {
"keyVault": {
"$ref": "#/$defs/KeyVaultReference",
"description": "Azure Key Vault reference."
},
"secretName": {
"type": "string",
"description": "Azure Key Vault secret name."
},
"secretVersion": {
"type": "string",
"description": "Azure Key Vault secret version."
}
},
"required": [
"keyVault",
"secretName"
]
},
"KeyVaultReference": {
"type": "object",
"description": "Azure Key Vault reference.",
"properties": {
"id": {
"type": "string",
"description": "Azure Key Vault resource id."
}
},
"required": [
"id"
]
},
"Level": {
"type": "string",
"description": "Denotes the additional response level.",
"enum": [
"Warning",
"Info",
"Error"
],
"x-ms-enum": {
"name": "Level",
"modelAsString": true,
"values": [
{
"name": "Warning",
"value": "Warning",
"description": "Warning"
},
{
"name": "Info",
"value": "Info",
"description": "Info"
},
{
"name": "Error",
"value": "Error",
"description": "Error"
}
]
}
},
"PropertyChangeType": {
"type": "string",
"description": "The type of property change.",
"enum": [
"Create",
"Delete",
"Modify",
"Array",
"NoEffect"
],
"x-ms-enum": {
"name": "PropertyChangeType",
"modelAsString": false,
"values": [
{
"name": "Create",
"value": "Create",
"description": "The property does not exist in the current state but is present in the desired state. The property will be created when the deployment is executed."
},
{
"name": "Delete",
"value": "Delete",
"description": "The property exists in the current state and is missing from the desired state. It will be deleted when the deployment is executed."
},
{
"name": "Modify",
"value": "Modify",
"description": "The property exists in both current and desired state and is different. The value of the property will change when the deployment is executed."
},
{
"name": "Array",
"value": "Array",
"description": "The property is an array and contains nested changes."
},
{
"name": "NoEffect",
"value": "NoEffect",
"description": "The property will not be set or updated."
}
]
}
},
"WhatIfChange": {
"type": "object",
"description": "Information about a single resource change predicted by What-If operation.",
"properties": {
"resourceId": {
"type": "string",
"description": "The fully-qualified ARM resource ID for this change."
},
"deploymentId": {
"type": "string",
"description": "The resource id of the Deployment responsible for this change."
},
"symbolicName": {
"type": "string",
"description": "The symbolic name of the resource responsible for this change."
},
"resourceType": {
"type": "string",
"description": "The resource type of the resource."
},
"identifiers": {
"description": "A subset of properties that uniquely identify a Bicep extensible resource because it lacks a resource id like an Azure resource has."
},
"extension": {
"$ref": "#/$defs/DeploymentExtensionDefinition",
"description": "The extension the resource was deployed with."
},
"changeType": {
"$ref": "#/$defs/ChangeType",
"description": "Type of change that will be made to the resource when the deployment is executed."
},
"unsupportedReason": {
"type": "string",
"description": "The explanation about why the resource is unsupported by What-If."
},
"before": {
"description": "The snapshot of the resource before the deployment is executed."
},
"after": {
"description": "The predicted snapshot of the resource after the deployment is executed."
},
"delta": {
"type": "array",
"description": "The predicted changes to resource properties.",
"items": {
"$ref": "#/$defs/WhatIfPropertyChange"
},
"x-ms-identifiers": [
"path"
]
}
},
"required": [
"changeType"
]
},
"WhatIfOperationProperties": {
"type": "object",
"description": "Deployment operation properties.",
"properties": {
"changes": {
"type": "array",
"description": "List of resource changes predicted by What-If operation.",
"items": {
"$ref": "#/$defs/WhatIfChange"
}
},
"potentialChanges": {
"type": "array",
"description": "List of resource changes predicted by What-If operation.",
"items": {
"$ref": "#/$defs/WhatIfChange"
}
},
"diagnostics": {
"type": "array",
"description": "List of resource diagnostics detected by What-If operation.",
"items": {
"$ref": "#/$defs/DeploymentDiagnosticsDefinition"
},
"readOnly": true
}
}
},
"WhatIfPropertyChange": {
"type": "object",
"description": "The predicted change to the resource property.",
"properties": {
"path": {
"type": "string",
"description": "The path of the property."
},
"propertyChangeType": {
"$ref": "#/$defs/PropertyChangeType",
"description": "The type of property change."
},
"before": {
"description": "The value of the property before the deployment is executed."
},
"after": {
"description": "The value of the property after the deployment is executed."
},
"children": {
"type": "array",
"description": "Nested property changes.",
"items": {
"$ref": "#/$defs/WhatIfPropertyChange"
},
"x-ms-identifiers": [
"path"
]
}
},
"required": [
"path",
"propertyChangeType"
]
}
}
}
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
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-what-if-operation-result"
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.