Azure cli command to switch routing method of traffic manager profile

Varma 1,385 Reputation points
2024-08-18T09:26:29.9733333+00:00

I want to change the existing routing method of weighted to geographic. could you please give me Azure CLI command for that?

Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
129 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 113.6K Reputation points MVP
    2024-08-18T09:32:08.2233333+00:00

    Hi @Varma ,

    I haven't tested this but you can give it a try:

    az network traffic-manager profile update \
      --resource-group <name of resource group> \
      --name <name of traffic manager profile> \
      --routing-method geographic
    

    Source: az network traffic-manager profile


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.