AKS only have rest API to control cluster itself. see this, https://learn.microsoft.com/en-us/rest/api/aks/. For your concern, I think you can use https://github.com/kubernetes-client to save your work.
Azure AKS - API to get details on Docker containers running in AKS cluster
Hi Team,
We have a custom apps which is currently using Mirantis Kuberenes API to get details of container running (container name, image tags, deployment annotations etc.) and same info collected will be displayed in the app screen.
Now we are migrating the custom application to Azure. In this regard we will move Mirantis kubernetes engine to AKS.
But we are not sure about AKS Rest endpoint to collect same info regarding running container name, image and tag used by container during running state etc.
Do you please help us to identify Kubernetes API endpoint from AKS to resolve it ?
Thanks.