Azure / azure-libraries-for-net

Azure libraries for .Net
MIT License
379 stars 192 forks source link

[QUERY] Is there a way to get Sql Database connection strings with the SDK? #1255

Open coppercosmo opened 3 years ago

coppercosmo commented 3 years ago

Query/Question Is there a way to get Sql Database connection strings with the SDK? I see that I can get SQL Server Keys with the SDK, but I'm not seeing any properties or methods that would get me the SQL DB connection string. Is this only available through the portal?

Environment:

weidongxu-microsoft commented 3 years ago

@coppercosmo Current I think you had to compose the connection string by yourself, using endpoint, username, password etc.

weidongxu-microsoft commented 3 years ago

For .NET, the development focus has shifted to the next generation of Azure SDKs which follows the new SDK guideline and introduces a set of important new features. Those new packages are currently in preview state and we are actively working on making it production ready. You can visit this link here to see the latest .NET packages: https://devblogs.microsoft.com/azure-sdk/october-2020-management-ga/

We have also published a few blog posts on why we are doing this: https://devblogs.microsoft.com/azure-sdk/introducing-new-previews-for-azure-management-libraries/

With this background, .NET Fluent is currently in a low maintenance mode, and we mostly do security and bug fixes. It is subject to deprecation in the future when the new set of .NET packages become Generally Available (GA). Please let us know if there are further questions, thanks!