Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris
This template demonstrates how to create a instance of Azure API Management with custom hostname for portal and multiple custom hostnames for proxy
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 |
---|---|
publisherEmail | The email address of the owner of the service |
publisherName | The name of the owner of the service |
sku | The pricing tier of this API Management service |
skuCount | The instance size of this API Management service. |
proxyCustomHostname1 | Proxy Custom hostname 1. |
proxyCustomHostnameBase64EncodedPfxCertificate1 | Base-64 encoded SSL .pfx Certificate for proxy custom hostname. |
proxySSLCertificatePassword1 | Proxy SSL certificate password. |
proxyCustomHostname2 | Proxy Custom hostname. |
proxyCustomHostnameBase64EncodedPfxCertificate2 | Base-64 encoded SSL .pfx Certificate for proxy custom hostname. |
proxySSLCertificatePassword2 | Proxy SSL certificate password. |
portalCustomHostname | Portal Custom hostname. |
portalCustomHostnameBase64EncodedPfxCertificate | Base-64 encoded SSL .pfx Certificate for portal custom hostname. |
portalSSLCertificatePassword | Portal SSL certificate password. |
location | Location for all resources. |
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.apimanagement/api-management-create-with-hostname/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.apimanagement/api-management-create-with-hostname/azuredeploy.json