2026.8.25.2

Overview

Name apimservice
Tag 2026.8.25.2
FullName br:bicepacrdevwcom.azurecr.io/bicep/modules/applicationgateway/apimservice:2026.8.25.2
Last updated 2026-08-25 09:42:22:+00:00
Created 2026-08-25 09:42:22:+00:00
Digest sha256:dc429113c20938e749092c9fa660bb6ff35043992308cc8694d71c1aa511e473

Parameters

Name Type Required Description
env string Yes Environment name (e.g., dev, prd)
suffix string Yes Suffix for resource naming
location string Yes Location for all resources
tags object Yes Tags to apply to all resources
zones array No
[
]
Availability zones for the Application Gateway
userAssignedIdentityResourceId string Yes User assigned identity resource ID
subnetResourceId string Yes Subnet resource ID for the Application Gateway
keyVaultSecretId string Yes Key Vault secret ID for SSL certificate
backendFqdns array Yes Backend FQDNs for the Application Gateway
backendHostName string No
''
Backend host name for the Application Gateway
appgwName string No
format('appgw-{0}-{1}', env, suffix)
Application Gateway name
publicIpName string No
format('appgw-public-ip-{0}-{1}', env, suffix)
Public IP name
skuConfig object No
{
name: 'Standard_v2'
tier: 'Standard_v2'
family: 'Generation_1'
capacity: 1
}
SKU configuration for Application Gateway
frontendConfig object No
{
port: 443
protocol: 'Https'
}
Frontend configuration
backendConfig object No
{
port: 443
protocol: 'Https'
requestTimeout: 30
cookieBasedAffinity: 'Disabled'
pickHostNameFromBackendAddress: if(empty(backendHostName), true(), false())
hostName: if(empty(backendHostName), null(), backendHostName)
}
Backend configuration
healthProbeConfig object No
{
path: '/health/'
interval: 30
timeout: 30
unhealthyThreshold: 3
minServers: 0
statusCodes: [
'200-399'
]
}
Health probe configuration
sslConfig object No
{
name: 'appgw-ssl-cert'
}
SSL certificate configuration
rewriteConfig object No
{
enabled: true
headerName: 'X-Forwarded-For'
headerValue: ''
}
Rewrite rule configuration
usePrivateIp bool No
false
Use private IP for the Application Gateway
privateIPAllocationMethod string No
'Dynamic'
Private IP allocation method
privateIPAddress string No
''
Private IP address
useWaf bool No
false
Use Web Application Firewall
firewallPolicyResourceId string No
''
Firewall policy resource ID
useDiagnosticSettings bool No
false
Use diagnostic settings
logAnalyticsWorkspaceId string No
''
Log Analytics workspace ID
ApplicationGatewayAccessLogEnabled bool No
true
Application Gateway access log enabled
ApplicationGatewayFirewallLogEnabled bool No
true
Application Gateway firewall log enabled

Outputs

Name Type Description
applicationGatewayId string
applicationGatewayName string
publicIpId string
publicIpAddress string
frontendPublicIpAddress string
frontendPrivateIpAddress string

Example

@description('The target environment.')
param env string

@description('The deployment version.')
param version string = '1.0.0.0'

@description('Suffix for resource naming')
param suffix string

@description('Location for all resources')
param location string

@description('Tags to apply to all resources')
param tags object

@description('User assigned identity resource ID')
param userAssignedIdentityResourceId string

@description('Subnet resource ID for the Application Gateway')
param subnetResourceId string

@description('Key Vault secret ID for SSL certificate')
param keyVaultSecretId string

@description('Backend FQDNs for the Application Gateway')
param backendFqdns array


module apimservice 'br:bicepacrdevwcom.azurecr.io/bicep/modules/applicationgateway/apimservice:2026.8.25.2' = {
    name: 'apimservice${env}${version}'
    params: {
      env: env
      suffix: suffix
      location: location
      tags: tags
      userAssignedIdentityResourceId: userAssignedIdentityResourceId
      subnetResourceId: subnetResourceId
      keyVaultSecretId: keyVaultSecretId
      backendFqdns: backendFqdns
    }
}