@@ -13,7 +13,7 @@ import { managedIdentityOnlyUserAssignedType } from 'br/public:avm/utl/types/avm
1313param  managedIdentities  managedIdentityOnlyUserAssignedType ?
1414
1515@description ('Optional. Authentication certificates of the application gateway resource.' )
16- param  authenticationCertificates  array  = []
16+ param  authenticationCertificates  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . authenticationCertificates  = []
1717
1818@description ('Optional. Upper bound on number of Application Gateway capacity.' )
1919param  autoscaleMaxCapacity  int  = -1 
@@ -22,13 +22,13 @@ param autoscaleMaxCapacity int = -1
2222param  autoscaleMinCapacity  int  = -1 
2323
2424@description ('Optional. Backend address pool of the application gateway resource.' )
25- param  backendAddressPools  array  = []
25+ param  backendAddressPools  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . backendAddressPools  = []
2626
2727@description ('Optional. Backend http settings of the application gateway resource.' )
28- param  backendHttpSettingsCollection  array  = []
28+ param  backendHttpSettingsCollection  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . backendHttpSettingsCollection  = []
2929
3030@description ('Optional. Custom error configurations of the application gateway resource.' )
31- param  customErrorConfigurations  array  = []
31+ param  customErrorConfigurations  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . customErrorConfigurations  = []
3232
3333@description ('Optional. Whether FIPS is enabled on the application gateway resource.' )
3434param  enableFips  bool  = false 
@@ -40,13 +40,13 @@ param enableHttp2 bool = false
4040param  firewallPolicyResourceId  string ?
4141
4242@description ('Optional. Frontend IP addresses of the application gateway resource.' )
43- param  frontendIPConfigurations  array  = []
43+ param  frontendIPConfigurations  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . frontendIPConfigurations  = []
4444
4545@description ('Optional. Frontend ports of the application gateway resource.' )
46- param  frontendPorts  array  = []
46+ param  frontendPorts  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . frontendPorts  = []
4747
4848@description ('Optional. Subnets of the application gateway resource.' )
49- param  gatewayIPConfigurations  array  = []
49+ param  gatewayIPConfigurations  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . gatewayIPConfigurations  = []
5050
5151@description ('Optional. Enable request buffering.' )
5252param  enableRequestBuffering  bool  = false 
@@ -55,29 +55,29 @@ param enableRequestBuffering bool = false
5555param  enableResponseBuffering  bool  = false 
5656
5757@description ('Optional. Http listeners of the application gateway resource.' )
58- param  httpListeners  array  = []
58+ param  httpListeners  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . httpListeners  = []
5959
6060@description ('Optional. Load distribution policies of the application gateway resource.' )
61- param  loadDistributionPolicies  array  = []
61+ param  loadDistributionPolicies  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . loadDistributionPolicies  = []
6262
6363import  { privateEndpointMultiServiceType  } from  'br/public:avm/utl/types/avm-common-types:0.6.1' 
6464@description ('Optional. Configuration details for private endpoints. For security reasons, it is recommended to use private endpoints whenever possible.' )
6565param  privateEndpoints  privateEndpointMultiServiceType []?
6666
6767@description ('Optional. PrivateLink configurations on application gateway.' )
68- param  privateLinkConfigurations  array  = []
68+ param  privateLinkConfigurations  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . privateLinkConfigurations  = []
6969
7070@description ('Optional. Probes of the application gateway resource.' )
71- param  probes  array  = []
71+ param  probes  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . probes  = []
7272
7373@description ('Optional. Redirect configurations of the application gateway resource.' )
74- param  redirectConfigurations  array  = []
74+ param  redirectConfigurations  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . redirectConfigurations  = []
7575
7676@description ('Optional. Request routing rules of the application gateway resource.' )
77- param  requestRoutingRules  array  = []
77+ param  requestRoutingRules  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . requestRoutingRules  = []
7878
7979@description ('Optional. Rewrite rules for the application gateway resource.' )
80- param  rewriteRuleSets  array  = []
80+ param  rewriteRuleSets  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . rewriteRuleSets  = []
8181
8282@description ('Optional. The name of the SKU for the Application Gateway.' )
8383@allowed ([
@@ -93,40 +93,10 @@ param sku string = 'WAF_v2'
9393param  capacity  int  = 2 
9494
9595@description ('Optional. SSL certificates of the application gateway resource.' )
96- param  sslCertificates  array  = []
96+ param  sslCertificates  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . sslCertificates  = []
9797
9898@description ('Optional. Ssl cipher suites to be enabled in the specified order to application gateway.' )
99- @allowed ([
100-   'TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA' 
101-   'TLS_DHE_DSS_WITH_AES_128_CBC_SHA' 
102-   'TLS_DHE_DSS_WITH_AES_128_CBC_SHA256' 
103-   'TLS_DHE_DSS_WITH_AES_256_CBC_SHA' 
104-   'TLS_DHE_DSS_WITH_AES_256_CBC_SHA256' 
105-   'TLS_DHE_RSA_WITH_AES_128_CBC_SHA' 
106-   'TLS_DHE_RSA_WITH_AES_128_GCM_SHA256' 
107-   'TLS_DHE_RSA_WITH_AES_256_CBC_SHA' 
108-   'TLS_DHE_RSA_WITH_AES_256_GCM_SHA384' 
109-   'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA' 
110-   'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256' 
111-   'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256' 
112-   'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA' 
113-   'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384' 
114-   'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384' 
115-   'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA' 
116-   'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256' 
117-   'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256' 
118-   'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA' 
119-   'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384' 
120-   'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384' 
121-   'TLS_RSA_WITH_3DES_EDE_CBC_SHA' 
122-   'TLS_RSA_WITH_AES_128_CBC_SHA' 
123-   'TLS_RSA_WITH_AES_128_CBC_SHA256' 
124-   'TLS_RSA_WITH_AES_128_GCM_SHA256' 
125-   'TLS_RSA_WITH_AES_256_CBC_SHA' 
126-   'TLS_RSA_WITH_AES_256_CBC_SHA256' 
127-   'TLS_RSA_WITH_AES_256_GCM_SHA384' 
128- ])
129- param  sslPolicyCipherSuites  array  = [
99+ param  sslPolicyCipherSuites  resourceInput <'Microsoft.Network/applicationGateways@2024-07-01' >.properties .sslPolicy .cipherSuites  = [
130100  'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384' 
131101  'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256' 
132102]
@@ -160,16 +130,16 @@ param sslPolicyName string = ''
160130param  sslPolicyType  string  = 'Custom' 
161131
162132@description ('Optional. SSL profiles of the application gateway resource.' )
163- param  sslProfiles  array  = []
133+ param  sslProfiles  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . sslProfiles  = []
164134
165135@description ('Optional. Trusted client certificates of the application gateway resource.' )
166- param  trustedClientCertificates  array  = []
136+ param  trustedClientCertificates  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . trustedClientCertificates  = []
167137
168138@description ('Optional. Trusted Root certificates of the application gateway resource.' )
169- param  trustedRootCertificates  array  = []
139+ param  trustedRootCertificates  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . trustedRootCertificates  = []
170140
171141@description ('Optional. URL path map of the application gateway resource.' )
172- param  urlPathMaps  array  = []
142+ param  urlPathMaps  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . urlPathMaps  = []
173143
174144@description ('Optional. The list of Availability zones to use for the zone-redundant resources.' )
175145@allowed ([
@@ -191,8 +161,8 @@ var formattedUserAssignedIdentities = reduce(
191161
192162var  identity  = !empty (managedIdentities )
193163  ? {
194-       type : !empty (managedIdentities .?userAssignedResourceIds  ?? {}) ? 'UserAssigned'  : null 
195-       userAssignedIdentities : !empty (formattedUserAssignedIdentities ) ? formattedUserAssignedIdentities  : null 
164+       type : !empty (managedIdentities .?userAssignedResourceIds  ?? {}) ? 'UserAssigned'  : 'None' 
165+       userAssignedIdentities : !empty (formattedUserAssignedIdentities ) ? formattedUserAssignedIdentities  : any ( null ) 
196166    }
197167  : null 
198168
@@ -205,16 +175,16 @@ import { roleAssignmentType } from 'br/public:avm/utl/types/avm-common-types:0.5
205175param  roleAssignments  roleAssignmentType []?
206176
207177@description ('Optional. Resource tags.' )
208- param  tags  object ?
178+ param  tags  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. tags ?
209179
210180@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).' )
211- param  backendSettingsCollection  array  = []
181+ param  backendSettingsCollection  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . backendSettingsCollection  = []
212182
213183@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).' )
214- param  listeners  array  = []
184+ param  listeners  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . listeners  = []
215185
216186@description ('Optional. Routing rules of the application gateway resource.' )
217- param  routingRules  array  = []
187+ param  routingRules  resourceInput < 'Microsoft.Network/applicationGateways@2024-07-01' >. properties . routingRules  = []
218188
219189@description ('Optional. Enable/Disable usage telemetry for module.' )
220190param  enableTelemetry  bool  = true 
@@ -265,7 +235,7 @@ resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableT
265235  }
266236}
267237
268- resource  applicationGateway  'Microsoft.Network/applicationGateways@2024-05 -01'  = {
238+ resource  applicationGateway  'Microsoft.Network/applicationGateways@2024-10 -01'  = {
269239  name : name 
270240  location : location 
271241  tags : tags 
0 commit comments