Azure Policy · Schema

CheckRestrictionsResult

The result of a check policy restrictions evaluation on a resource.

ComplianceGovernancePolicyResource Management

Properties

Name Type Description
fieldRestrictions array The restrictions that will be placed on various fields in the resource by policy.
contentEvaluationResult object Evaluation results for the provided partial resource content.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-policy-check-restrictions-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-policy/json-schema/microsoft-azure-policy-check-restrictions-result-schema.json",
  "title": "CheckRestrictionsResult",
  "description": "The result of a check policy restrictions evaluation on a resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-policy-providers-api-openapi.yml#/components/schemas/CheckRestrictionsResult",
  "type": "object",
  "properties": {
    "fieldRestrictions": {
      "type": "array",
      "description": "The restrictions that will be placed on various fields in the resource by policy.",
      "items": {
        "$ref": "#/$defs/FieldRestrictions"
      },
      "readOnly": true,
      "x-ms-identifiers": []
    },
    "contentEvaluationResult": {
      "$ref": "#/$defs/CheckRestrictionsResultContentEvaluationResult",
      "description": "Evaluation results for the provided partial resource content.",
      "readOnly": true
    }
  },
  "$defs": {
    "CheckRestrictionEvaluationDetails": {
      "type": "object",
      "description": "Policy evaluation details.",
      "properties": {
        "evaluatedExpressions": {
          "type": "array",
          "description": "Details of the evaluated expressions.",
          "items": {
            "$ref": "#/$defs/ExpressionEvaluationDetails"
          },
          "x-ms-identifiers": []
        },
        "ifNotExistsDetails": {
          "$ref": "#/$defs/IfNotExistsEvaluationDetails",
          "description": "Evaluation details of IfNotExists effect."
        },
        "reason": {
          "type": "string",
          "description": "The reason for the evaluation result.",
          "readOnly": true
        }
      }
    },
    "CheckRestrictionsResultContentEvaluationResult": {
      "type": "object",
      "description": "Evaluation results for the provided partial resource content.",
      "properties": {
        "policyEvaluations": {
          "type": "array",
          "description": "Policy evaluation results against the given resource content. This will indicate if the partial content that was provided will be denied as-is.",
          "items": {
            "$ref": "#/$defs/PolicyEvaluationResult"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "ExpressionEvaluationDetails": {
      "type": "object",
      "description": "Evaluation details of policy language expressions.",
      "properties": {
        "result": {
          "type": "string",
          "description": "Evaluation result."
        },
        "expression": {
          "type": "string",
          "description": "Expression evaluated."
        },
        "expressionKind": {
          "type": "string",
          "description": "The kind of expression that was evaluated.",
          "readOnly": true
        },
        "path": {
          "type": "string",
          "description": "Property path if the expression is a field or an alias."
        },
        "expressionValue": {
          "description": "Value of the expression."
        },
        "targetValue": {
          "description": "Target value to be compared with the expression value."
        },
        "operator": {
          "type": "string",
          "description": "Operator to compare the expression value and the target value."
        }
      }
    },
    "FieldRestriction": {
      "type": "object",
      "description": "The restrictions on a field imposed by a specific policy.",
      "properties": {
        "result": {
          "$ref": "#/$defs/FieldRestrictionResult",
          "description": "The type of restriction that is imposed on the field.",
          "readOnly": true
        },
        "defaultValue": {
          "type": "string",
          "description": "The value that policy will set for the field if the user does not provide a value.",
          "readOnly": true
        },
        "values": {
          "type": "array",
          "description": "The values that policy either requires or denies for the field.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "policy": {
          "$ref": "#/$defs/PolicyReference",
          "description": "The details of the policy that is causing the field restriction.",
          "readOnly": true
        },
        "policyEffect": {
          "type": "string",
          "description": "The effect of the policy that is causing the field restriction. http://aka.ms/policyeffects",
          "readOnly": true
        },
        "reason": {
          "type": "string",
          "description": "The reason for the restriction.",
          "readOnly": true
        }
      }
    },
    "FieldRestrictionResult": {
      "type": "string",
      "description": "The type of restriction that is imposed on the field.",
      "enum": [
        "Required",
        "Removed",
        "Deny",
        "Audit"
      ],
      "x-ms-enum": {
        "name": "FieldRestrictionResult",
        "modelAsString": true,
        "values": [
          {
            "name": "Required",
            "value": "Required",
            "description": "The field and/or values are required by policy."
          },
          {
            "name": "Removed",
            "value": "Removed",
            "description": "The field will be removed by policy."
          },
          {
            "name": "Deny",
            "value": "Deny",
            "description": "The field and/or values will be denied by policy."
          },
          {
            "name": "Audit",
            "value": "Audit",
            "description": "The field and/or values will be audited by policy."
          }
        ]
      }
    },
    "FieldRestrictions": {
      "type": "object",
      "description": "The restrictions that will be placed on a field in the resource by policy.",
      "properties": {
        "field": {
          "type": "string",
          "description": "The name of the field. This can be a top-level property like 'name' or 'type' or an Azure Policy field alias.",
          "readOnly": true
        },
        "restrictions": {
          "type": "array",
          "description": "The restrictions placed on that field by policy.",
          "items": {
            "$ref": "#/$defs/FieldRestriction"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "IfNotExistsEvaluationDetails": {
      "type": "object",
      "description": "Evaluation details of IfNotExists effect.",
      "properties": {
        "resourceId": {
          "type": "string",
          "description": "ID of the last evaluated resource for IfNotExists effect."
        },
        "totalResources": {
          "type": "integer",
          "format": "int32",
          "description": "Total number of resources to which the existence condition is applicable."
        }
      }
    },
    "PolicyEffectDetails": {
      "type": "object",
      "description": "The details of the effect that was applied to the resource.",
      "properties": {
        "policyEffect": {
          "type": "string",
          "description": "The effect that was applied to the resource. http://aka.ms/policyeffects",
          "readOnly": true
        }
      }
    },
    "PolicyEvaluationResult": {
      "type": "object",
      "description": "The result of a non-compliant policy evaluation against the given resource content.",
      "properties": {
        "policyInfo": {
          "$ref": "#/$defs/PolicyReference",
          "description": "The details of the policy that was evaluated.",
          "readOnly": true
        },
        "evaluationResult": {
          "type": "string",
          "description": "The result of the policy evaluation against the resource. This will typically be 'NonCompliant' but may contain other values if errors were encountered.",
          "readOnly": true
        },
        "evaluationDetails": {
          "$ref": "#/$defs/CheckRestrictionEvaluationDetails",
          "description": "The detailed results of the policy expressions and values that were evaluated.",
          "readOnly": true
        },
        "effectDetails": {
          "$ref": "#/$defs/PolicyEffectDetails",
          "description": "The details of the effect that was applied to the resource.",
          "readOnly": true
        }
      }
    },
    "PolicyReference": {
      "type": "object",
      "description": "Resource identifiers for a policy.",
      "properties": {
        "policyDefinitionId": {
          "type": "string",
          "description": "The resource identifier of the policy definition.",
          "readOnly": true
        },
        "policySetDefinitionId": {
          "type": "string",
          "description": "The resource identifier of the policy set definition.",
          "readOnly": true
        },
        "policyDefinitionReferenceId": {
          "type": "string",
          "description": "The reference identifier of a specific policy definition within a policy set definition.",
          "readOnly": true
        },
        "policyAssignmentId": {
          "type": "string",
          "description": "The resource identifier of the policy assignment.",
          "readOnly": true
        }
      }
    }
  }
}

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-policy-check-restrictions-result"
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.