@Samuel.Yan , Thank you for your question.
You can use the azure-mgmt-containerservice
to operate on AKS components (i.e. CRUD operations on an AKS cluster and node pools). Please find more information here.
However, deployments and services are Kubernetes API objects. In order to perform operations on these objects in an AKS cluster, you have to use something like the Kubernetes Python Client. Please find sample codes here.
----------
Hope this helps.
Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.