# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Microsoft Azure ApiManagementClient API Operation Policy API version: 1.0.0 extends: openapi/microsoft-azure-apioperationpolicy-api-openapi.yml actions: - target: $.info update: x-apievangelist-phrasing: method: generated generated: '2026-10-01' generator: build-phrasing.py label: Generated by API Evangelist operations: 5 - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/operations/{operationId}/policies'].get update: x-apievangelist-phrasing: intent: List policies on an API operation in a workspace effect: read questions: - Which policies are applied to a single operation of an API in my API Management workspace? - Can I see all operation-level policy configurations for one API operation? instructions: - text: List the policies on operation {operation} of API {api} in workspace {workspace}, service {service}. slots: operation: path.operationId api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Show all operation-level policy documents for workspace operation {operation}. slots: operation: path.operationId method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/operations/{operationId}/policies/{policyId}'].get update: x-apievangelist-phrasing: intent: Get an API operation's policy effect: read questions: - What does the policy XML on a specific API operation look like? - Can I read the inbound and outbound policy set at the operation level? instructions: - text: Read policy {policy} set on operation {operation} of API {api} in workspace {workspace}, service {service}. slots: policy: path.policyId operation: path.operationId api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Show me the policy XML applied to workspace API operation {operation}. slots: operation: path.operationId method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/operations/{operationId}/policies/{policyId}'].put update: x-apievangelist-phrasing: intent: Set the policy on an API operation effect: write questions: - How do I add a rate limit or rewrite policy to just one API operation? - Can I replace the policy configuration of a single operation in a workspace API? instructions: - text: Create or update policy {policy} on operation {operation} of API {api} in workspace {workspace}, service {service}. slots: policy: path.policyId operation: path.operationId api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Apply a new operation-level policy document to workspace operation {operation}. slots: operation: path.operationId method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/operations/{operationId}/policies/{policyId}'].delete update: x-apievangelist-phrasing: intent: Remove the policy from an API operation effect: destructive questions: - How do I remove a policy from a single API operation? - Can I delete the operation-level policy and fall back to API-level policies? instructions: - text: Delete policy {policy} from operation {operation} of API {api} in workspace {workspace}, service {service}. slots: policy: path.policyId operation: path.operationId api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Remove the operation-level policy configuration from workspace operation {operation}. slots: operation: path.operationId method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/apis/{apiId}/operations/{operationId}/policies/{policyId}'].head update: x-apievangelist-phrasing: intent: Get the ETag of an API operation policy effect: read questions: - How do I get the current ETag of an operation policy before updating it? - Can I check if an operation policy changed without downloading it? instructions: - text: Get the ETag of policy {policy} on operation {operation} of API {api} in workspace {workspace}, service {service}. slots: policy: path.policyId operation: path.operationId api: path.apiId workspace: path.workspaceId service: path.serviceName - text: Fetch just the ETag version of the operation-level policy on workspace operation {operation}. slots: operation: path.operationId method: generated generated: '2026-10-01'