Azure / azure-sdk-for-go

This repository is for active development of the Azure SDK for Go. For consumers of the SDK we recommend visiting our public developer docs at:
https://docs.microsoft.com/azure/developer/go/
MIT License
1.65k stars 844 forks source link

[Event Hubs] Loosen fully qualified namespace validation #22363

Open jsquire opened 9 months ago

jsquire commented 9 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 9 months ago

//cc: @richardpark-msft