The dedicated Agic docs are the best source of examples
https://azure.github.io/application-gateway-kubernetes-ingress/annotations/
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: go-server-ingress-overridefrontendport
namespace: test-ag
annotations:
kubernetes.io/ingress.class: azure/application-gateway
appgw.ingress.kubernetes.io/override-frontend-port: "8080"
spec:
rules:
- http:
paths:
- path: /hello/
backend:
service:
name: store-service
port:
number: 80
pathType: Exact
There is a sample of a complex use of AppGateway Ingress using hostname here;
The repo itself focuses on showing end to end tls, which might also be useful to you,