I have a traffic manager profile in azure and I want to add endpoints to my traffic manager using my python script. I referred to the python sdk for azure to add the endpoints.
We can add or update endpoint using this function
tm_client.endpoints.create_or_update()
But I don't seem to understand the parameters which needs to be passed in this function. If anyone could post a sample code or help me out with it.
If you want to add an endpoint to Azure traffic manager, you need to define
Endpointobject,profileName,groupNameandendpointType. Besides, please note that we have to define differentEndpointobject according to the endpoint type and traffic routing method. For more details, please refer to here.For example. My traffic routing method is
Priorityand the endpoint type isAzureEndpointsFor example
Contributorrole to the sp