Passer la navigation

The Azure Quickstart templates are currently available in English

Application Gateway with internal API Management and Web App

Dernière mise à jour : 01/12/2021

Application Gateway routing Internet traffic to a virtual network (internal mode) API Management instance which services a web API hosted in an Azure Web App.

Ce modèle ARM (Azure Resource Manager) a été créé par un membre de la communauté et non par Microsoft. Chaque modèle ARM vous est concédé sous licence sous un contrat de licence par son propriétaire, et non par Microsoft. Microsoft ne peut pas être tenu responsable des modèles ARM fournis et concédés sous licence par les membres de la communauté, ni ne vérifie leur sécurité, leur compatibilité ou leurs performances. Les modèles ARM de la communauté ne sont pris en charge par aucun programme ou service de support Microsoft. Ils sont rendus disponibles EN L'ÉTAT sans garantie d'aucune sorte.

Paramètres

Nom du paramètre Description
location The Azure region for the specified resources.
apiManagementPublisherName A unique name for the API Management service. The service name refers to both the service and the corresponding Azure resource. The service name is used to generate a default domain name: <name>.azure-api.net.
apiManagementPublisherEmailAddress The email address to which all the notifications from API Management will be sent.
apiManagementSku The API Management SKU.
apiManagementCustomDnsName A custom domain name to be used for the API Management service.
apiManagementPortalCustomHostname A custom domain name for the API Management service developer portal (e.g., portal.consoto.com).
apiManagementProxyCustomHostname A custom domain name for the API Management service gateway/proxy endpoint (e.g., api.consoto.com).
apiManagementManagementCustomHostname A custom domain name for the API Management service management portal (e.g., management.consoto.com).
apiManagementPortalCertificatePassword Password for corresponding to the certificate for the API Management custom developer portal domain name.
apiManagementPortalCustomHostnameBase64EncodedCertificate Used by Application Gateway, the Base64 encoded PFX certificate corresponding to the API Management custom developer portal domain name.
apiManagementProxyCertificatePassword Password for corresponding to the certificate for the API Management custom proxy domain name.
apiManagementProxyCustomHostnameBase64EncodedCertificate Used by Application Gateway, the Base64 encoded PFX certificate corresponding to the API Management custom proxy domain name.
apiManagementManagementCertificatePassword Password for corresponding to the certificate for the API Management custom management domain name.
apiManagementManagementCustomHostnameBase64EncodedCertificate Used by Application Gateway, the Base64 encoded PFX certificate corresponding to the API Management custom management domain name.
applicationGatewayTrustedRootBase64EncodedCertificate Used by Application Gateway, the Base64 encoded CER/CRT certificate corresponding to the root certificate for Application Gateway.
useWellKnownCertificateAuthority Flag to indicate if certificates used by Application Gateway were signed by a public Certificate Authority.
vnetAddressPrefix The virtual network IP space to use for the new virutal network.
subnetAppServiceIntAddressPrefix The IP space to use for the subnet for Azure App Service regional virtual network integration.
subnetPrivateEndpointAddressPrefix The IP space to use for the subnet for private endpoints.
subnetApiManagementAddressPrefix Address prefix for the api subnet.
subnetApplicationGatewayAddressPrefix Address prefix for the gateway subnet.
webAppSkuName SKU name, must be minimum P1v2

Utiliser le modèle

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 deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.web/private-webapp-with-app-gateway-and-apim/azuredeploy.json
Installer et configurer Azure PowerShell

Ligne de commande

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 deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.web/private-webapp-with-app-gateway-and-apim/azuredeploy.json
Installer et configurer l'interface de ligne de commande multiplateforme Azure

Autres modèles par Michael S. Collier