Azurerm_kubernetes_cluster - Log Analytics agent deprecation August 31, 2024

The Log Analytics agent is on a deprecation path and won’t be supported after August 31, 2024 Log Analytics agent overview - Azure Monitor | Microsoft Learn

My question is the azurerm_kubernetes_cluster oms_agent block ok to use. Is that effectively deploying the new Azure Monitor Agent (AMA)?

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster#oms_agent

Is there any specific version of azurerm provider or AKS version we need to be on to avoid deprecated issues with the LA agent?