Hello @Alexander Pykavy ,
Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.
Edit:
For Azure AKS, no switching from Dynamic to static and vice versa, create the LB either from scratch, if need to switch delete and create a new one as required.
The steps to use a static IP address are documented here: Use static IP with load balancer - Azure Kubernetes Service | Microsoft Learn
Once created you will need to specify the allocated IP address in their service definition as per the article.
--please don't forget to upvote and accept as answer if the reply is helpful--