Complete the code to define a backend pool in an Azure Load Balancer configuration.
backendAddressPools: [
{
name: 'myBackendPool',
[1]: [
{ name: 'address1', ipAddress: '10.0.0.4' },
{ name: 'address2', ipAddress: '10.0.0.5' }
]
}
]The backendAddresses property lists the IP addresses of the backend pool members.
Complete the code to define a health probe that checks HTTP on port 80.
healthProbes: [
{
name: 'httpProbe',
protocol: [1],
port: 80,
requestPath: '/health'
}
]The Http protocol is used for HTTP health probes on port 80.
Fix the error in the health probe configuration by selecting the correct property name for the probe interval.
healthProbes: [
{
name: 'tcpProbe',
protocol: 'Tcp',
port: 443,
[1]: 15
}
]The correct property name for the probe interval is intervalInSeconds.
Fill both blanks to configure a backend pool and associate it with a health probe.
loadBalancingRules: [
{
name: 'rule1',
frontendPort: 80,
backendPort: 80,
backendAddressPool: [1],
probe: [2]
}
]The load balancing rule connects the backend pool named myBackendPool with the health probe named httpProbe.
Fill all three blanks to define a health probe with HTTPS protocol, port 443, and a custom request path.
healthProbes: [
{
name: [1],
protocol: [2],
port: [3],
requestPath: '/customhealth'
}
]The health probe is named httpsProbe, uses the Https protocol on port 443 with a custom path.