AKS is a managed service more of a PaaS. However, the underlying Infra is exposed to CX. But, it is not recommended to manipulation of the IaaS resources.
Azure Container service was more of a Iaas offering which was supporting container orchestration. However, ACS is retired now (ref: doc).
Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.