better-shampoo-48884
03/05/2021, 7:15 AMfrontendIPConfigurations: [{
name: "appGwPublicFrontendIp",
publicIPAddress: {
id: pubIp.id
}
}],
frontendPorts: appGw.frontendPorts,
gatewayIPConfigurations: appGwIPC,
httpListeners: [{
frontendIPConfiguration: {
id: rg.id.apply(id => `${id}/providers/Microsoft.Network/applicationGateways/${rgInfo.nodeName}${appGw.suffix}/frontendIPConfigurations/appGwPublicFrontendIp`),
},
frontendPort: {
id: rg.id.apply(id => `${id}/providers/Microsoft.Network/applicationGateways/${rgInfo.nodeName}${appGw.suffix}/frontendPorts/frontendPortName`),
},
name: appGw.httpListeners[0].name,
protocol: "Http",
}],
(where rg
is my resourceGroup defenition, rgInfo.name + appGw.suffix
is the name of the appGw as defined on top)