Complete the code to create an Application Gateway resource in Azure.
az network application-gateway create --name myAppGateway --resource-group myResourceGroup --location eastus --sku [1]The Standard SKU is a common choice for basic Application Gateway setups.
Complete the code to add a listener to the Application Gateway.
az network application-gateway http-listener create --gateway-name myAppGateway --name myListener --frontend-port [1] --resource-group myResourceGroupPort 80 is the default port for HTTP traffic and commonly used for listeners.
Fix the error in the backend pool configuration by completing the code.
az network application-gateway address-pool create --gateway-name myAppGateway --resource-group myResourceGroup --name myBackendPool --servers [1]The --servers parameter requires IP addresses separated by commas without spaces.
Fill both blanks to configure a routing rule that connects the listener to the backend pool.
az network application-gateway rule create --gateway-name myAppGateway --resource-group myResourceGroup --name myRule --http-listener [1] --rule-type [2] --address-pool myBackendPool
The listener name must match the created listener, and the rule type for simple routing is Basic.
Fill all three blanks to create a health probe for the backend pool.
az network application-gateway probe create --gateway-name myAppGateway --resource-group myResourceGroup --name myHealthProbe --protocol [1] --host [2] --path [3]
The health probe uses HTTP protocol, targets the backend host, and checks the /healthcheck path.