Recipe
azure-api-management
Adds an API serving a model to an Azure API Management instance that already exists, rendered as an Azure Resource Manager template: the API, its chat completions operation, the backend it forwards to and its policy. Reach for it where the instance exists and the Release deploys an Azure Resource Manager template; reach for terraform/azure-api-management where it deploys Terraform, and for the helm or compose reference where the API is configured outside the Release. It creates no instance: the template declares the instance as an existing resource, which ARM reads and never deploys, so a Release without one creates it outside first. The API goes into the instance's resource group, the one the template deploys to, so the boundary deploys into that group. The policy sends each request to the backend, removes the caller's subscription key from what it forwards, and authenticates as infra.backend_authentication says. With provider_key, a core/referenced-secret bound to arm/key-vault-secret, the key stays in Key Vault: the template writes a named value the instance reads from that secret with its managed identity, which needs read access to it, and the backend sends it, so the template carries no credential. No policy control is realized on arm: attaching core/semantic-caching, core/period-budget, core/prompt-injection-shield or core/retry-policy to the gateway halts the build at recipe resolution, because no arm FeatureRecipe writes a policy element for it. Deploying it is outside any build: whether the API then behaves as Microsoft documents is not observed by the compiler.
Nguồn gốc
- Digest nội dung
- sha256:59aadd4f9cfd22005612e9b806305ea18f6ad99b96baba20a0e9ee80de9c788f
- Đã xuất bản
- 2026-11-19T08:03:46Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:f9ce93d7ba9547a886163b2abda2606c1d29e8d3feb0b5001d25e3b8438543fe
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/arm/azure-api-management:1.0.0- Đích
- —
- Triển khai
- core/gateway/azure-api-management:1.0.0
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| endpoint | {{ .locals.gateway_url }}/{{ .infra.api_path }} |
| model | {{ .values.model }} |
Workload
Chưa khai báo mẫu khối lượng công việc nào.
Giá trị cục bộ
| Tên | Mẫu |
|---|---|
| api_name | {{ .infra.api_path | replace "/" "-" }} |
| gateway_url | {{ default (printf "https://%s.azure-api.net" .infra.api_management_name) (optional .infra "gateway_url" "") }} |
| symbol | {{ capitalizedWords .context.instance_id }} |
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khaihợp đồng tương thích
core/gateway/azure-api-management:1.0.0
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.