Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.08k stars 1.2k forks source link

[Service Bus] Loosen fully qualified namespace validation #28537

Open jsquire opened 8 months ago

jsquire commented 8 months ago

Summary

Currently, developers are required to pass in a fully qualified namespace name with the assumption that it is formatted as a host name. The intention is that the value would be obtained from the Azure portal, where a Host name field exists as metadata for the resource. However, this restriction causes a poor experience when using the management library, CLI, Bicep, or ARM template to create the namespace, as the resource provider does not return a host name. The resource provider returns only an endpoint attribute the namespace, formatted as "https://my-namespace.servicebus.windows.net". With the current validation, developers must parse the endpoint into the correct format for client use, causing friction.

Scope of work

Success Criteria

jsquire commented 8 months ago

//cc: @jeremymeng