A few interfaces like QueueDetails
got exposed by accident from the @azure/service-bus
package in version 1.1.3. The ATOM management client that uses these interfaces is still under works and therefore is not part of the exported public facing API surface. We have a working implementation, but the final design for it is still under discussion and the APIs might change.
Follow https://github.com/Azure/azure-sdk-for-js/issues/7991 and https://github.com/Azure/azure-sdk-for-js/issues/7938 for more on this.
For now, please use the @azure/arm-servicebus
package to fetch details on the queue. If you want these features by using a connection string, then azure-sb
is the recommended package until @azure/service-bus
offers similar capabilities in the near future.
Update as of June 8th, 2020:
Hello all,
We are happy to share that the third preview to v7 (7.0.0-preview.3) of the @azure/service-bus
package now supports the CRUD & list operations on queues, topics, subscriptions and rules via a separate "client" that can be instantiated either via a connection string or an AAD credential.
Please checkout the sample for management operations for more details.
Please note that this is still in preview and the next preview might have some changes in the API based on internal and external feedback.
Please give it a try and let us know if you have any feedback by logging issues at https://github.com/Azure/azure-sdk-for-js