Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris
This example deploys an Azure Function app and an HTTP-triggered function inline in the template. It also deploys a Key Vault and populates a secret with the function app's host key.
Templat Azure Resource Manager ini dibuat oleh anggota komunitas dan bukan oleh Microsoft. Setiap templat Resource Manager dilisensikan kepada Anda berdasarkan perjanjian lisensi oleh pemiliknya, bukan Microsoft. Microsoft tidak bertanggung jawab atas templat Resource Manager yang disediakan dan dilisensikan oleh anggota komunitas dan tidak menyaring keamanan, kompatibilitas, atau performa. Templat Community Resource Manager tidak didukung di bawah program atau layanan dukungan Microsoft apa pun, dan tersedia SEBAGAIMANA ADANYA tanpa jaminan apa pun.
Parameter
Nama Parameter | Deskripsi |
---|---|
location | Specifies region of all resources. |
appNameSuffix | Suffix for function app, storage account, and key vault names. |
keyVaultSku | Key Vault SKU name. |
storageSku | Storage account SKU name. |
Menggunakan templat
Windows PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentMenginstal dan mengonfigurasi Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.web/function-http-trigger/azuredeploy.json
Baris perintah
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentMenginstal dan Mengonfigurasi Azure Cross-Platform Command-Line Interface
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.web/function-http-trigger/azuredeploy.json