0
votes

I know that CloudTableClient.BaseUri.AbsoluteUri returns a string value which represents the primary endpoint. But, in a case of failure does this value update to the secondary endpoint?

1

1 Answers

2
votes

According to the document, CloudTableClient.BaseUri will get the base URI for the table service client at the primary location as you mentioned.

As David Makogon mentioned in your another SO Thread, it is a very rare expection and out of our control. Secondary storage account will be shifted to primary. When use CloudTableClient.BaseUri we will still get the primary endpoint. For more infomation, please refer to what to expect if a Storage failover occurs. There is some snippet from the article.

Your existing storage service endpoints for blobs, tables, queues, and files will remain the same after the failover; the DNS entry will need to be updated to switch from the primary region to the secondary region.