本頁面由機器翻譯。閱讀英文原文。

Recipe

azure-openai

Creates the Azure OpenAI resource core/ai-model/azure-openai is served from, and its chat model deployment, rendered as Terraform for the azurerm provider: an account of kind OpenAI under the custom subdomain the Release names, and one model deployment named values.deployment_name serving values.model. The published Azure/avm-res-cognitiveservices-account/azurerm module is not sourced, because it calls a module from the Terraform registry, so this Recipe writes the body. Reach for it where the Release is to create the resource; reach for the helm or compose reference where the resource already exists outside the Release. The resource group exists beforehand; the Release names it, the region and the subdomain in infra.overrides. Which models, versions and deployment types a region offers, and the quota the subscription holds for them, are the subscription's and no build sees them: a model the region does not offer, or one beyond the quota, fails when Terraform applies. endpoint is https://<subdomain>.openai.azure.com, the address Azure serves a resource under its custom subdomain, so it is known before the deploy and a consumer on any target can use it; model is the deployment name. The account holds its API keys and the rendered files carry none: a consumer's credential is a key read from the resource once it exists, attached on the consumer's connection. Public network access is the service's default, every network, unless the Release turns it off. It needs hashicorp/azurerm 5, as terraform/azure-api-management does, so it goes in a different terraform boundary from terraform/postgres-flexible-server, which needs azurerm 4.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:d07caa34a13f03cecefa09e4a6734e1dfaddccebca52397d5d6010e191dcef66
發布時間
2026-11-10T10:28:11Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/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:c545c99cbb5630f1eaf07b66b7bd752a7b34bf00fd59b0d475931b99a46671a5

此版本的參照

oci://hub.aggrega.ai/recipe/terraform/azure-openai:1.0.0
目標
—
實作
core/ai-model/azure-openai:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
endpointhttps://{{ .locals.subdomain }}.openai.azure.com
model{{ .values.deployment_name }}

Workload

未宣告任何工作負載範本。

Locals

名稱範本
sku_name{{ optional (optional .infra "overrides" dict) "sku_name" "Standard" }}
sku_capacity{{ optional (optional .infra "overrides" dict) "sku_capacity" 1 }}
subdomain{{ $s := optional (optional .infra "overrides" dict) "custom_subdomain_name" "" }}{{ if typeIs "string" $s }}{{ $s }}{{ end }}

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權