Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions avm/res/network/application-gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

The latest version of the changelog can be found [here](https://github.com/Azure/bicep-registry-modules/blob/main/avm/res/network/application-gateway/CHANGELOG.md).

## 0.7.3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a minor version change to e.g. 0.8.0

Please update version.json and this file and also re-run Set-AVMModule

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version has been updated, and set-avmmodule has rerun


### Changes

- Updated API version to `2025-01-01`
- Updated avm modules to latest versions

### Breaking Changes

- None

## 0.7.2

### Changes
Expand Down
10 changes: 4 additions & 6 deletions avm/res/network/application-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ For examples, please refer to the [Usage Examples](#usage-examples) section.
| `Microsoft.Authorization/locks` | 2020-05-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.authorization_locks.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks)</li></ul> |
| `Microsoft.Authorization/roleAssignments` | 2022-04-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.authorization_roleassignments.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments)</li></ul> |
| `Microsoft.Insights/diagnosticSettings` | 2021-05-01-preview | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.insights_diagnosticsettings.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-05-01-preview/diagnosticSettings)</li></ul> |
| `Microsoft.Network/applicationGateways` | 2024-10-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.network_applicationgateways.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2024-10-01/applicationGateways)</li></ul> |
| `Microsoft.Network/privateEndpoints` | 2024-05-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.network_privateendpoints.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2024-05-01/privateEndpoints)</li></ul> |
| `Microsoft.Network/privateEndpoints/privateDnsZoneGroups` | 2024-05-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.network_privateendpoints_privatednszonegroups.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2024-05-01/privateEndpoints/privateDnsZoneGroups)</li></ul> |
| `Microsoft.Network/applicationGateways` | 2025-01-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.network_applicationgateways.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2025-01-01/applicationGateways)</li></ul> |
| `Microsoft.Network/privateEndpoints` | 2024-10-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.network_privateendpoints.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2024-10-01/privateEndpoints)</li></ul> |
| `Microsoft.Network/privateEndpoints/privateDnsZoneGroups` | 2024-10-01 | <ul style="padding-left: 0px;"><li>[AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.network_privateendpoints_privatednszonegroups.html)</li><li>[Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2024-10-01/privateEndpoints/privateDnsZoneGroups)</li></ul> |

## Usage examples

Expand Down Expand Up @@ -5156,9 +5156,7 @@ This section gives you an overview of all local-referenced module files (i.e., o

| Reference | Type |
| :-- | :-- |
| `br/public:avm/res/network/private-endpoint:0.11.0` | Remote reference |
| `br/public:avm/utl/types/avm-common-types:0.5.1` | Remote reference |
| `br/public:avm/utl/types/avm-common-types:0.6.0` | Remote reference |
| `br/public:avm/res/network/private-endpoint:0.11.1` | Remote reference |
| `br/public:avm/utl/types/avm-common-types:0.6.1` | Remote reference |

## Data Collection
Expand Down
60 changes: 30 additions & 30 deletions avm/res/network/application-gateway/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ param name string
@description('Optional. Location for all resources.')
param location string = resourceGroup().location

import { managedIdentityOnlyUserAssignedType } from 'br/public:avm/utl/types/avm-common-types:0.5.1'
import { managedIdentityOnlyUserAssignedType } from 'br/public:avm/utl/types/avm-common-types:0.6.1'
@description('Optional. The managed identity definition for this resource.')
param managedIdentities managedIdentityOnlyUserAssignedType?

@description('Optional. Authentication certificates of the application gateway resource.')
param authenticationCertificates resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.authenticationCertificates = []
param authenticationCertificates resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.authenticationCertificates = []

@description('Optional. Upper bound on number of Application Gateway capacity.')
param autoscaleMaxCapacity int = -1
Expand All @@ -22,13 +22,13 @@ param autoscaleMaxCapacity int = -1
param autoscaleMinCapacity int = -1

@description('Optional. Backend address pool of the application gateway resource.')
param backendAddressPools resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.backendAddressPools = []
param backendAddressPools resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.backendAddressPools = []

@description('Optional. Backend http settings of the application gateway resource.')
param backendHttpSettingsCollection resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.backendHttpSettingsCollection = []
param backendHttpSettingsCollection resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.backendHttpSettingsCollection = []

@description('Optional. Custom error configurations of the application gateway resource.')
param customErrorConfigurations resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.customErrorConfigurations = []
param customErrorConfigurations resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.customErrorConfigurations = []

@description('Optional. Whether FIPS is enabled on the application gateway resource.')
param enableFips bool = false
Expand All @@ -40,13 +40,13 @@ param enableHttp2 bool = false
param firewallPolicyResourceId string?

@description('Optional. Frontend IP addresses of the application gateway resource.')
param frontendIPConfigurations resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.frontendIPConfigurations = []
param frontendIPConfigurations resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.frontendIPConfigurations = []

@description('Optional. Frontend ports of the application gateway resource.')
param frontendPorts resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.frontendPorts = []
param frontendPorts resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.frontendPorts = []

@description('Optional. Subnets of the application gateway resource.')
param gatewayIPConfigurations resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.gatewayIPConfigurations = []
param gatewayIPConfigurations resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.gatewayIPConfigurations = []

@description('Optional. Enable request buffering.')
param enableRequestBuffering bool = false
Expand All @@ -55,29 +55,29 @@ param enableRequestBuffering bool = false
param enableResponseBuffering bool = false

@description('Optional. Http listeners of the application gateway resource.')
param httpListeners resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.httpListeners = []
param httpListeners resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.httpListeners = []

@description('Optional. Load distribution policies of the application gateway resource.')
param loadDistributionPolicies resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.loadDistributionPolicies = []
param loadDistributionPolicies resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.loadDistributionPolicies = []

import { privateEndpointMultiServiceType } from 'br/public:avm/utl/types/avm-common-types:0.6.1'
@description('Optional. Configuration details for private endpoints. For security reasons, it is recommended to use private endpoints whenever possible.')
param privateEndpoints privateEndpointMultiServiceType[]?

@description('Optional. PrivateLink configurations on application gateway.')
param privateLinkConfigurations resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.privateLinkConfigurations = []
param privateLinkConfigurations resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.privateLinkConfigurations = []

@description('Optional. Probes of the application gateway resource.')
param probes resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.probes = []
param probes resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.probes = []

@description('Optional. Redirect configurations of the application gateway resource.')
param redirectConfigurations resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.redirectConfigurations = []
param redirectConfigurations resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.redirectConfigurations = []

@description('Optional. Request routing rules of the application gateway resource.')
param requestRoutingRules resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.requestRoutingRules = []
param requestRoutingRules resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.requestRoutingRules = []

@description('Optional. Rewrite rules for the application gateway resource.')
param rewriteRuleSets resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.rewriteRuleSets = []
param rewriteRuleSets resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.rewriteRuleSets = []

@description('Optional. The name of the SKU for the Application Gateway.')
@allowed([
Expand All @@ -93,10 +93,10 @@ param sku string = 'WAF_v2'
param capacity int = 2

@description('Optional. SSL certificates of the application gateway resource.')
param sslCertificates resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.sslCertificates = []
param sslCertificates resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.sslCertificates = []

@description('Optional. Ssl cipher suites to be enabled in the specified order to application gateway.')
param sslPolicyCipherSuites resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.sslPolicy.cipherSuites = [
param sslPolicyCipherSuites resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.sslPolicy.cipherSuites = [
'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384'
'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256'
]
Expand Down Expand Up @@ -130,16 +130,16 @@ param sslPolicyName string = ''
param sslPolicyType string = 'Custom'

@description('Optional. SSL profiles of the application gateway resource.')
param sslProfiles resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.sslProfiles = []
param sslProfiles resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.sslProfiles = []

@description('Optional. Trusted client certificates of the application gateway resource.')
param trustedClientCertificates resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.trustedClientCertificates = []
param trustedClientCertificates resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.trustedClientCertificates = []

@description('Optional. Trusted Root certificates of the application gateway resource.')
param trustedRootCertificates resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.trustedRootCertificates = []
param trustedRootCertificates resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.trustedRootCertificates = []

@description('Optional. URL path map of the application gateway resource.')
param urlPathMaps resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.urlPathMaps = []
param urlPathMaps resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.urlPathMaps = []

@description('Optional. The list of Availability zones to use for the zone-redundant resources.')
@allowed([
Expand All @@ -149,7 +149,7 @@ param urlPathMaps resourceInput<'Microsoft.Network/applicationGateways@2024-07-0
])
param availabilityZones int[] = [1, 2, 3]

import { diagnosticSettingFullType } from 'br/public:avm/utl/types/avm-common-types:0.5.1'
import { diagnosticSettingFullType } from 'br/public:avm/utl/types/avm-common-types:0.6.1'
@description('Optional. The diagnostic settings of the service.')
param diagnosticSettings diagnosticSettingFullType[]?

Expand All @@ -166,25 +166,25 @@ var identity = !empty(managedIdentities)
}
: null

import { lockType } from 'br/public:avm/utl/types/avm-common-types:0.6.0'
import { lockType } from 'br/public:avm/utl/types/avm-common-types:0.6.1'
@description('Optional. The lock settings of the service.')
param lock lockType?

import { roleAssignmentType } from 'br/public:avm/utl/types/avm-common-types:0.5.1'
import { roleAssignmentType } from 'br/public:avm/utl/types/avm-common-types:0.6.1'
@description('Optional. Array of role assignments to create.')
param roleAssignments roleAssignmentType[]?

@description('Optional. Resource tags.')
param tags resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.tags?
param tags resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.tags?

@description('Optional. Backend settings of the application gateway resource. For default limits, see [Application Gateway limits](https://learn.microsoft.com/en-us/azure/azure-subscription-service-limits#application-gateway-limits).')
param backendSettingsCollection resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.backendSettingsCollection = []
param backendSettingsCollection resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.backendSettingsCollection = []

@description('Optional. Listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://learn.microsoft.com/en-us/azure/azure-subscription-service-limits#application-gateway-limits).')
param listeners resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.listeners = []
param listeners resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.listeners = []

@description('Optional. Routing rules of the application gateway resource.')
param routingRules resourceInput<'Microsoft.Network/applicationGateways@2024-07-01'>.properties.routingRules = []
param routingRules resourceInput<'Microsoft.Network/applicationGateways@2025-01-01'>.properties.routingRules = []

@description('Optional. Enable/Disable usage telemetry for module.')
param enableTelemetry bool = true
Expand Down Expand Up @@ -235,7 +235,7 @@ resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableT
}
}

resource applicationGateway 'Microsoft.Network/applicationGateways@2024-10-01' = {
resource applicationGateway 'Microsoft.Network/applicationGateways@2025-01-01' = {
name: name
location: location
tags: tags
Expand Down Expand Up @@ -349,7 +349,7 @@ resource applicationGateway_diagnosticSettings 'Microsoft.Insights/diagnosticSet
}
]

module applicationGateway_privateEndpoints 'br/public:avm/res/network/private-endpoint:0.11.0' = [
module applicationGateway_privateEndpoints 'br/public:avm/res/network/private-endpoint:0.11.1' = [
for (privateEndpoint, index) in (privateEndpoints ?? []): {
name: '${uniqueString(deployment().name, location)}-applicationGateway-PrEndpoint-${index}'
scope: resourceGroup(
Expand Down
Loading