Could not update TrafficManagerProfile Endpoint
See original GitHub issueFollowing code does not update traffic manager profile:
tmp.Update().DefineAzureTargetEndpoint(name)
.ToResourceId(id)
.WithTrafficDisabled()
.WithRoutingPriority(11).Attatch().Apply();
Checked the code:
The following line will update the endpoint as expected:
await endpoints.CommitAndGetAllAsync(cancellationToken);
But then next line will reset it back, since ‘Inner’ contains the old state.
ProfileInner profileInner = await Manager.Inner.Profiles.CreateOrUpdateAsync(ResourceGroupName, Name, Inner, cancellationToken);
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Cannot add endpoints to Traffic Manager Profile
Using the Azure Portal to add an endpoint to a WebApp in same region (East US) and resource group as my (new) traffic...
Read more >can't update traffic manager profiles #4734 - Azure/azure-cli
I'm trying to update the DNS TTL from az, however I keep getting this error: Endpoint name '' is invalid. Endpoint names cannot...
Read more >Azure traffic manager endpoint update fails with 'The ...
Azure traffic manager endpoint update fails with 'The resourceTargetId property is invalid or missing' The values for those different flags ...
Read more >Unit 6 Create a Traffic Manager profile using the Azure portal
You will then create a Traffic Manager profile based on endpoint priority. ... On the Monitoring tab, select the No option for Enable...
Read more >azure.azcollection.azure_rm_trafficmanager module
Synopsis . Create, update and delete a Traffic Manager profile. ... No two endpoints can share the same priority value.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hovsepm Thanks for fixing this
@abharath27 1.14 is out. Please upgrade your reference.