CheckRestrictionsRequest
The check policy restrictions parameters describing the resource that is being evaluated.
Properties
| Name | Type | Description |
|---|---|---|
| resourceDetails | object | The information about the resource that will be evaluated. |
| pendingFields | array | The list of fields and values that should be evaluated for potential restrictions. |
| includeAuditEffect | boolean | Whether to include policies with the 'audit' effect in the results. Defaults to false. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-azure-policy/json-schema/microsoft-azure-policy-check-restrictions-request-schema.json",
"title": "CheckRestrictionsRequest",
"description": "The check policy restrictions parameters describing the resource that is being evaluated.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-azure-policy-subscriptions-api-openapi.yml#/components/schemas/CheckRestrictionsRequest",
"type": "object",
"properties": {
"resourceDetails": {
"$ref": "#/$defs/CheckRestrictionsResourceDetails",
"description": "The information about the resource that will be evaluated."
},
"pendingFields": {
"type": "array",
"description": "The list of fields and values that should be evaluated for potential restrictions.",
"items": {
"$ref": "#/$defs/PendingField"
},
"x-ms-identifiers": []
},
"includeAuditEffect": {
"type": "boolean",
"description": "Whether to include policies with the 'audit' effect in the results. Defaults to false.",
"default": false
}
},
"required": [
"resourceDetails"
],
"$defs": {
"CheckRestrictionsResourceDetails": {
"type": "object",
"description": "The information about the resource that will be evaluated.",
"properties": {
"resourceContent": {
"description": "The resource content. This should include whatever properties are already known and can be a partial set of all resource properties."
},
"apiVersion": {
"type": "string",
"description": "The api-version of the resource content."
},
"scope": {
"type": "string",
"description": "The scope where the resource is being created. For example, if the resource is a child resource this would be the parent resource's resource ID."
}
},
"required": [
"resourceContent"
]
},
"PendingField": {
"type": "object",
"description": "A field that should be evaluated against Azure Policy to determine restrictions.",
"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."
},
"values": {
"type": "array",
"description": "The list of potential values for the field that should be evaluated against Azure Policy.",
"items": {
"type": "string"
}
}
},
"required": [
"field"
]
}
}
}
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-policy-check-restrictions-request"
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.