This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.36k
stars
4.79k
forks
source link
[BUG] Azure database status is 'Online' when its 'Paused' #46513
The core problem appears to be related to Azure Status handling. I have a database 'TestDB' set with an auto-pause delay for testing different statuses. In the SQL Databases section, the status is shown as 'Paused'
However, when querying the same database in Azure Resource Graph Explorer, the status is returned as 'Online', which is also the status reflected in my application. This discrepancy indicates some inconsistencies in how the status is being reported.
after a while (like 6-8 hours) status polled as paused
P.S I created same issue before but pointed on the wrong library
Expected behavior
Database status reflecting correctly with auto-pause delay
Actual behavior
Database status does not reflect correctly with auto-pause delay, Azure Resource Graph Explorer returns status as 'Online' for a few hours when on database UI its 'Paused'
Reproduction Steps
1.Create sql DB
Set auto-pause delay for 1 hour
wait for status to be 'Paused' on UI
Go to Azure Resource Graph Explorer and query for DB
Library name and version
Azure.ResourceManager.Sql
Describe the bug
The core problem appears to be related to Azure Status handling. I have a database 'TestDB' set with an auto-pause delay for testing different statuses. In the SQL Databases section, the status is shown as 'Paused'
However, when querying the same database in Azure Resource Graph Explorer, the status is returned as 'Online', which is also the status reflected in my application. This discrepancy indicates some inconsistencies in how the status is being reported.
after a while (like 6-8 hours) status polled as paused P.S I created same issue before but pointed on the wrong library
Expected behavior
Database status reflecting correctly with auto-pause delay
Actual behavior
Database status does not reflect correctly with auto-pause delay, Azure Resource Graph Explorer returns status as 'Online' for a few hours when on database UI its 'Paused'
Reproduction Steps
1.Create sql DB
Environment
No response