Microsoft Azure · Schema
PolicyAssignmentUpdate
The policy assignment for Patch request.
Microsoft AzureCloudCloud ComputingEnterpriseInfrastructure-as-a-ServicePlatform-as-a-ServiceT1
Properties
| Name | Type | Description |
|---|---|---|
| properties | object | The policy assignment properties for Patch request. |
| location | string | The location of the policy assignment. Only required when utilizing managed identity. |
| identity | object | The managed identity associated with the policy assignment. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-policy-assignment-update-schema.json",
"title": "PolicyAssignmentUpdate",
"description": "The policy assignment for Patch request.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-azure-policyassignments-api-openapi.yml#/components/schemas/PolicyAssignmentUpdate",
"type": "object",
"properties": {
"properties": {
"$ref": "#/$defs/PolicyAssignmentUpdateProperties",
"description": "The policy assignment properties for Patch request.",
"x-ms-client-flatten": true
},
"location": {
"type": "string",
"description": "The location of the policy assignment. Only required when utilizing managed identity."
},
"identity": {
"$ref": "#/$defs/Identity",
"description": "The managed identity associated with the policy assignment."
}
},
"$defs": {
"Identity": {
"type": "object",
"description": "Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity.",
"properties": {
"principalId": {
"type": "string",
"description": "The principal ID of the resource identity. This property will only be provided for a system assigned identity",
"readOnly": true
},
"tenantId": {
"type": "string",
"description": "The tenant ID of the resource identity. This property will only be provided for a system assigned identity",
"readOnly": true
},
"type": {
"$ref": "#/$defs/ResourceIdentityType",
"description": "The identity type. This is the only required field when adding a system or user assigned identity to a resource."
},
"userAssignedIdentities": {
"type": "object",
"description": "The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
"additionalProperties": {
"$ref": "#/$defs/UserAssignedIdentitiesValue"
}
}
}
},
"Override": {
"type": "object",
"description": "The policy property value override.",
"properties": {
"kind": {
"$ref": "#/$defs/OverrideKind",
"description": "The override kind."
},
"value": {
"type": "string",
"description": "The value to override the policy property."
},
"selectors": {
"type": "array",
"description": "The list of the selector expressions.",
"items": {
"$ref": "#/$defs/Selector"
},
"x-ms-identifiers": []
}
}
},
"OverrideKind": {
"type": "string",
"description": "The override kind.",
"enum": [
"policyEffect",
"definitionVersion"
],
"x-ms-enum": {
"name": "OverrideKind",
"modelAsString": true,
"values": [
{
"name": "policyEffect",
"value": "policyEffect",
"description": "It will override the policy effect type."
},
{
"name": "definitionVersion",
"value": "definitionVersion",
"description": "It will override the definition version property value of the policy assignment."
}
]
}
},
"PolicyAssignmentUpdateProperties": {
"type": "object",
"description": "The policy assignment properties for Patch request.",
"properties": {
"resourceSelectors": {
"type": "array",
"description": "The resource selector list to filter policies by resource properties.",
"items": {
"$ref": "#/$defs/ResourceSelector"
},
"x-ms-identifiers": []
},
"overrides": {
"type": "array",
"description": "The policy property value override.",
"items": {
"$ref": "#/$defs/Override"
},
"x-ms-identifiers": []
},
"selfServeExemptionSettings": {
"$ref": "#/$defs/SelfServeExemptionSettings",
"description": "The self-serve exemption settings for the policy assignment."
}
}
},
"ResourceIdentityType": {
"type": "string",
"description": "The identity type. This is the only required field when adding a system or user assigned identity to a resource.",
"enum": [
"SystemAssigned",
"UserAssigned",
"None"
],
"x-ms-enum": {
"name": "ResourceIdentityType",
"modelAsString": false,
"values": [
{
"name": "SystemAssigned",
"value": "SystemAssigned",
"description": "Indicates that a system assigned identity is associated with the resource."
},
{
"name": "UserAssigned",
"value": "UserAssigned",
"description": "Indicates that a user assigned identity is associated with the resource."
},
{
"name": "None",
"value": "None",
"description": "Indicates that no identity is associated with the resource or that the existing identity should be removed."
}
]
}
},
"ResourceSelector": {
"type": "object",
"description": "The resource selector to filter policies by resource properties.",
"properties": {
"name": {
"type": "string",
"description": "The name of the resource selector."
},
"selectors": {
"type": "array",
"description": "The list of the selector expressions.",
"items": {
"$ref": "#/$defs/Selector"
},
"x-ms-identifiers": []
}
}
},
"Selector": {
"type": "object",
"description": "The selector expression.",
"properties": {
"kind": {
"$ref": "#/$defs/SelectorKind",
"description": "The selector kind."
},
"in": {
"type": "array",
"description": "The list of values to filter in.",
"items": {
"type": "string"
}
},
"notIn": {
"type": "array",
"description": "The list of values to filter out.",
"items": {
"type": "string"
}
},
"progress": {
"type": "integer",
"format": "int32",
"description": "The percent of total resources that will be governed by the policy.",
"minimum": 0,
"maximum": 100
}
}
},
"SelectorKind": {
"type": "string",
"description": "The selector kind.",
"enum": [
"resourceLocation",
"resourceType",
"resourceWithoutLocation",
"policyDefinitionReferenceId",
"resourceRolloutPercentage",
"userPrincipalId",
"groupPrincipalId"
],
"x-ms-enum": {
"name": "SelectorKind",
"modelAsString": true,
"values": [
{
"name": "resourceLocation",
"value": "resourceLocation",
"description": "The selector kind to filter policies by the resource location."
},
{
"name": "resourceType",
"value": "resourceType",
"description": "The selector kind to filter policies by the resource type."
},
{
"name": "resourceWithoutLocation",
"value": "resourceWithoutLocation",
"description": "The selector kind to filter policies by the resource without location."
},
{
"name": "policyDefinitionReferenceId",
"value": "policyDefinitionReferenceId",
"description": "The selector kind to filter policies by the policy definition reference ID."
},
{
"name": "resourceRolloutPercentage",
"value": "resourceRolloutPercentage",
"description": "The selector kind to filter policies by the resource rollout percentage."
},
{
"name": "userPrincipalId",
"value": "userPrincipalId",
"description": "The selector kind to filter policies by the user principal ID."
},
{
"name": "groupPrincipalId",
"value": "groupPrincipalId",
"description": "The selector kind to filter policies by the security group membership ID."
}
]
}
},
"SelfServeExemptionSettings": {
"type": "object",
"description": "The self-serve exemption settings for a policy assignment.",
"properties": {
"enabled": {
"type": "boolean",
"description": "Indicates whether self-serve exemption is enabled."
},
"policyDefinitionReferenceIds": {
"type": "array",
"description": "The policy definition reference IDs for self-serve exemption.",
"items": {
"type": "string"
}
}
}
},
"UserAssignedIdentitiesValue": {
"type": "object",
"properties": {
"principalId": {
"type": "string",
"description": "The principal id of user assigned identity.",
"readOnly": true
},
"clientId": {
"type": "string",
"description": "The client id of user assigned identity.",
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-policy-assignment-update"
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.