Microsoft.ContainerRegistry/registries:创建 Azure 容器注册表 可以在快速入门模板库中找到更多 Azure 容器注册表模板示例。部署Bicep 文件若要部署已创建的文件,请打开 PowerShell 或 Azure CLI。 如果要使用集成的 Visual Studio Code 终端,请选择 ctrl + ` 组合键。 将当前目录更改为 Bicep 文件所在的位置。
您可以在快速入門範本資源庫中找到更多 Azure 容器執行個體範本的範例。部署Bicep 檔案將Bicep 檔案以 main.bicep 儲存至本機電腦。 使用Azure CLI 或 Azure PowerShell 部署 Bicep 檔案。 CLI PowerShell Azure CLI 複製 az group create --name exampleRG --location eastus az deployment group create --...
當您自行將範本規格發佈至 Azure 時,Microsoft Entra 使用者必須獲得授權而可存取包含範本規格資源的資源群組。 同樣地,當您將 Bicep 模組發佈至登錄時,您的 Microsoft Entra 使用者必須對您的組織用於其 Bicep 模組的 Azure Container Registry 執行個體擁有寫入權限。
ファイル パスは、Azure Container Registry ではrepositoryと呼ばれます。/文字で区切ることで、複数のセグメントをファイル パスに含めることができます。 タグは、モジュールのバージョンを指定するために使用します。 次に例を示します。
azure openai service azure kubernetes service cluster azure key vault azure network security group azure container registry azure storage account azure jump-box virtual machine microsoft.resources/deploymentscripts : a deployment script is used to run the install-nginx-via-hel...
If you would like to test that your schema changes are compilable in a Bicep template, you can do so by publishing them toan OCI registryusing the [Bicep CLI](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/). ...
Azure Container Registry Next up we will need to create an Azure Container Registry. In future posts, I'll show you how we can pull images from our container registry and deploy it to a Container App. But for now, we can create our Container Registry in Bicep like so: ...
使用Azure CLI 或 Azure PowerShell 来部署该 Bicep 文件。 CLI PowerShell Azure CLI 复制 az group create --name exampleRG --location eastus az deployment group create --resource-group exampleRG --template-file main.bicep 部署完成后,应会看到一条指出部署成功的消息。查看...
您可以在快速入門範本資源庫中找到更多 Azure 容器執行個體範本的範例。 部署Bicep 檔案 將Bicep 檔案以main.bicep儲存至本機電腦。 使用Azure CLI 或 Azure PowerShell 部署 Bicep 檔案。 CLI PowerShell Azure CLI az group create--nameexampleRG--locationeastusaz deployment group create--resource-groupexampleRG...
Utilisez un modèle Microsoft Bicep pour créer un hub Azure AI Foundry. Ce modèle crée également des ressources requises par le hub.