Skip to content

Commit

Permalink
Enclosing natGatewayProfile in networkProfile key
Browse files Browse the repository at this point in the history
  • Loading branch information
pjlewisuk authored Aug 9, 2024
1 parent f7cdd6b commit 92ce3d0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 7 additions & 5 deletions samples/SampleAppMain.json
Original file line number Diff line number Diff line change
Expand Up @@ -1197,11 +1197,13 @@
"aks_addons1": "[if(parameters('ingressApplicationGateway'), union(variables('aks_addons'), if(variables('deployAppGw'), createObject('ingressApplicationGateway', createObject('config', createObject('applicationGatewayId', resourceId('Microsoft.Network/applicationGateways', variables('appgwName'))), 'enabled', true())), createObject('ingressApplicationGateway', createObject('enabled', true(), 'config', createObject('applicationGatewayName', variables('appgwName'), 'subnetCIDR', '10.225.0.0/16'))))), variables('aks_addons'))]",
"aksPrivateDnsZone": "[if(equals(parameters('privateClusterDnsMethod'), 'privateDnsZone'), if(not(empty(parameters('dnsApiPrivateZoneId'))), parameters('dnsApiPrivateZoneId'), 'system'), parameters('privateClusterDnsMethod'))]",
"managedNATGatewayProfile": {
"natGatewayProfile": {
"managedOutboundIPProfile": {
"count": "[parameters('natGwIpCount')]"
},
"idleTimeoutInMinutes": "[parameters('natGwIdleTimeout')]"
"networkProfile": {
"natGatewayProfile": {
"managedOutboundIPProfile": {
"count": "[parameters('natGwIpCount')]"
},
"idleTimeoutInMinutes": "[parameters('natGwIdleTimeout')]"
}
}
},
"azureDefenderSecurityProfile": {
Expand Down
12 changes: 7 additions & 5 deletions samples/SystemPresetExample.json
Original file line number Diff line number Diff line change
Expand Up @@ -1139,11 +1139,13 @@
"aks_addons1": "[if(parameters('ingressApplicationGateway'), union(variables('aks_addons'), if(variables('deployAppGw'), createObject('ingressApplicationGateway', createObject('config', createObject('applicationGatewayId', resourceId('Microsoft.Network/applicationGateways', variables('appgwName'))), 'enabled', true())), createObject('ingressApplicationGateway', createObject('enabled', true(), 'config', createObject('applicationGatewayName', variables('appgwName'), 'subnetCIDR', '10.225.0.0/16'))))), variables('aks_addons'))]",
"aksPrivateDnsZone": "[if(equals(parameters('privateClusterDnsMethod'), 'privateDnsZone'), if(not(empty(parameters('dnsApiPrivateZoneId'))), parameters('dnsApiPrivateZoneId'), 'system'), parameters('privateClusterDnsMethod'))]",
"managedNATGatewayProfile": {
"natGatewayProfile": {
"managedOutboundIPProfile": {
"count": "[parameters('natGwIpCount')]"
},
"idleTimeoutInMinutes": "[parameters('natGwIdleTimeout')]"
"networkProfile": {
"natGatewayProfile": {
"managedOutboundIPProfile": {
"count": "[parameters('natGwIpCount')]"
},
"idleTimeoutInMinutes": "[parameters('natGwIdleTimeout')]"
}
}
},
"azureDefenderSecurityProfile": {
Expand Down

0 comments on commit 92ce3d0

Please sign in to comment.