Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Prepare Azure environments for new workloads—subscriptions, networking, identity, and landing zones
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/services/functions/templates/recipes/servicebus/eval/python.md
1# Service Bus Recipe - Python Eval23## MCP Template Validation45| Criteria | Expected | Status |6|----------|----------|--------|7| Template discovery | `functions_template_get(language: "python")` returns list | ✅ PASS |8| Filter by resource | `resource == "servicebus"` finds matches | ✅ PASS |9| Template scaffolded | `servicebus-trigger-python-azd` | ✅ PASS |10| Has trigger code | `@app.service_bus_queue_trigger` decorator in output | ✅ PASS |11| Has IaC | `projectFiles[]` includes Bicep | ✅ PASS |12| Has RBAC | Service Bus Data Receiver/Sender role | ✅ PASS |1314## Agent Behavior Validation1516```text171. Agent calls: functions_template_get(language: "python")182. Agent scans templateList.triggers[] descriptions and resource field193. Agent selects: template where resource == "servicebus" → servicebus-trigger-python-azd204. Agent calls: functions_template_get(language: "python", template: "servicebus-trigger-python-azd")215. Agent writes: functionFiles[] + projectFiles[]22```2324## Code Indicators Verified2526- `@app.service_bus_queue_trigger` with queue_name27- `connection="ServiceBusConnection"` (UAMI pattern)28- `ServiceBusConnection__fullyQualifiedNamespace` binding29- Extension bundle v43031## Test Date32332026-04-223435## Verdict3637**PASS** - MCP template provides complete Service Bus trigger with IaC, RBAC, and UAMI binding.38