Microsoft Azure · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PolicyClient Policy Assignments API

9 actions 9 updates phrasing extends openapi/microsoft-azure-policyassignments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Microsoft Azure's API. It is a proposal applied on top of the contract, not a document Microsoft Azure publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 9

$.info
$.paths['/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'].get
$.paths['/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'].put
$.paths['/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'].delete
$.paths['/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'].patch
$.paths['/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments'].get
$.paths['/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments'].get
$.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments'].get
$.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for PolicyClient Policy Assignments API
  version: 1.0.0
extends: openapi/microsoft-azure-policyassignments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 8
- target: $.paths['/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a policy assignment
      effect: read
      questions:
      - How do I read one policy assignment at a scope?
      - Can I expand a policy assignment with its latest definition version?
      instructions:
      - text: Get policy assignment {assignment} at scope {scope}.
        slots:
          assignment: path.policyAssignmentName
          scope: path.scope
      - text: Show policy assignment {assignment} at {scope} with {expand} expanded.
        slots:
          assignment: path.policyAssignmentName
          scope: path.scope
          expand: query.$expand
      method: generated
      generated: '2026-11-26'
- target: $.paths['/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update a policy assignment
      effect: write
      questions:
      - How do I assign a policy to a resource group or subscription?
      - Can I give a policy assignment a managed identity?
      instructions:
      - text: Create policy assignment {assignment} at scope {scope}.
        slots:
          assignment: path.policyAssignmentName
          scope: path.scope
      - text: Assign policy {assignment} to {scope} with properties {properties}.
        slots:
          assignment: path.policyAssignmentName
          scope: path.scope
          properties: requestBody.properties
      method: generated
      generated: '2026-11-26'
- target: $.paths['/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a policy assignment
      effect: destructive
      questions:
      - How do I remove a policy assignment from a scope?
      - Can I delete a policy assignment by name and scope?
      instructions:
      - text: Delete policy assignment {assignment} at scope {scope}.
        slots:
          assignment: path.policyAssignmentName
          scope: path.scope
      - text: Remove the {assignment} policy assignment from {scope}.
        slots:
          assignment: path.policyAssignmentName
          scope: path.scope
      method: generated
      generated: '2026-11-26'
- target: $.paths['/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a policy assignment
      effect: write
      questions:
      - How do I change the properties of an existing policy assignment?
      - Can I patch an identity on a policy assignment?
      instructions:
      - text: Update policy assignment {assignment} at scope {scope} with properties {properties}.
        slots:
          assignment: path.policyAssignmentName
          scope: path.scope
          properties: requestBody.properties
      - text: Patch the identity of policy assignment {assignment} at {scope} to {identity}.
        slots:
          assignment: path.policyAssignmentName
          scope: path.scope
          identity: requestBody.identity
      method: generated
      generated: '2026-11-26'
- target: $.paths['/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments'].get
  update:
    x-apievangelist-phrasing:
      intent: List policy assignments on a management group
      effect: read
      questions:
      - Which policy assignments apply to a management group?
      - Can I list only the policy assignments assigned directly to a management group?
      instructions:
      - text: List policy assignments for management group {mg}.
        slots:
          mg: path.managementGroupId
      - text: Show policy assignments on management group {mg} matching {filter}.
        slots:
          mg: path.managementGroupId
          filter: query.$filter
      method: generated
      generated: '2026-11-26'
- target: $.paths['/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments'].get
  update:
    x-apievangelist-phrasing:
      intent: List policy assignments on a subscription
      effect: read
      questions:
      - What policy assignments are applied to my subscription?
      - Can I limit the number of subscription policy assignments returned?
      instructions:
      - text: List policy assignments for subscription {sub}.
        slots:
          sub: path.subscriptionId
      - text: Show the top {top} policy assignments on subscription {sub}.
        slots:
          top: query.$top
          sub: path.subscriptionId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments'].get
  update:
    x-apievangelist-phrasing:
      intent: List policy assignments that apply to a resource
      effect: read
      questions:
      - Which Azure Policy assignments apply to a specific virtual machine or other single resource?
      - Can I see only the policies assigned exactly at one resource, not inherited from containing scopes?
      - What policy definitions are assigned to a single resource, including nested child resources?
      - Can I cap how many policy assignments come back for one resource?
      instructions:
      - text: List policy assignments for resource {resourceName} of type {resourceType} under {resourceProviderNamespace} with parent path {parentResourcePath} in resource group {resourceGroupName}, subscription
          {subscriptionId}.
        slots:
          resourceName: path.resourceName
          resourceType: path.resourceType
          resourceProviderNamespace: path.resourceProviderNamespace
          parentResourcePath: path.parentResourcePath
          resourceGroupName: path.resourceGroupName
          subscriptionId: path.subscriptionId
      - text: Show only policy assignments at the exact scope of resource {resourceName} (type {resourceType}, parent path {parentResourcePath}) using filter {filter}, in {resourceProviderNamespace}, group
          {resourceGroupName}, subscription {subscriptionId}.
        slots:
          resourceName: path.resourceName
          resourceType: path.resourceType
          parentResourcePath: path.parentResourcePath
          filter: query.$filter
          resourceProviderNamespace: path.resourceProviderNamespace
          resourceGroupName: path.resourceGroupName
          subscriptionId: path.subscriptionId
      - text: Show the top {top} policy assignments on resource {resourceName} of type {resourceType}, parent path {parentResourcePath}, provider {resourceProviderNamespace}, group {resourceGroupName},
          subscription {subscriptionId}.
        slots:
          top: query.$top
          resourceName: path.resourceName
          resourceType: path.resourceType
          parentResourcePath: path.parentResourcePath
          resourceProviderNamespace: path.resourceProviderNamespace
          resourceGroupName: path.resourceGroupName
          subscriptionId: path.subscriptionId
      method: generated
      generated: '2026-11-26'
- target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments'].get
  update:
    x-apievangelist-phrasing:
      intent: List policy assignments for a resource group
      effect: read
      questions:
      - Which policy assignments apply to a whole resource group?
      - Can I filter policy assignments for a resource group by policy definition?
      - What Azure Policies are assigned at the resource group scope?
      instructions:
      - text: List policy assignments for resource group {resourceGroupName} in subscription {subscriptionId}.
        slots:
          resourceGroupName: path.resourceGroupName
          subscriptionId: path.subscriptionId
      - text: Show resource group {resourceGroupName} policy assignments matching {filter}.
        slots:
          resourceGroupName: path.resourceGroupName
          filter: query.$filter
      method: generated
      generated: '2026-11-26'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/microsoft-azure-policyassignments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.