From 92ce3d0888fa4f24c4c085f16a8ac0de136fb7cb Mon Sep 17 00:00:00 2001 From: Paul Lewis Date: Fri, 9 Aug 2024 14:03:12 +0000 Subject: [PATCH] Enclosing `natGatewayProfile` in `networkProfile` key --- samples/SampleAppMain.json | 12 +++++++----- samples/SystemPresetExample.json | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/samples/SampleAppMain.json b/samples/SampleAppMain.json index d2259a057..a1fc781f9 100644 --- a/samples/SampleAppMain.json +++ b/samples/SampleAppMain.json @@ -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": { diff --git a/samples/SystemPresetExample.json b/samples/SystemPresetExample.json index ce798f360..67c1f5561 100644 --- a/samples/SystemPresetExample.json +++ b/samples/SystemPresetExample.json @@ -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": {