azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Azure CLI support to read and write messages to ServiceBus queue?

Open foobar008 opened this issue 7 years ago • 6 comments

Azure CLI has support to manage Servicebus queues, but don't support for reading/writing from/to queues. Is this option supported?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

foobar008 avatar Feb 05 '19 18:02 foobar008

Howdy @foobar008, you are correct. Data-plane Service Bus interaction isn't supported today. Mind describing the scenario you had in mind for using the CLI to publish Service Bus messages or subscribe to queues/subscriptions?

More and more of our SDKs are providing support for data-plane Service Bus interactions. Until it's supported here, I would checkout out:

  • https://github.com/Azure/azure-service-bus-dotnet
  • https://github.com/Azure/azure-service-bus-java
  • https://github.com/Azure/azure-service-bus-go
  • https://github.com/Azure/azure-service-bus-python
  • https://github.com/Azure/azure-service-bus-node

marstr avatar Feb 06 '19 17:02 marstr

Because we're not planning on adding this for the moment, and because the question is answered I'm going to close this issue. However, I'd love to continue to use this thread to discuss your scenario.

marstr avatar Feb 06 '19 17:02 marstr

I made it here because I'm migrating from az storage queue to service bus. I assumed there'd be a similar set of methods as described here for service bus queues/messages. I use the cli for testing/development of queue clients. Was hoping to have the same capability for dev of service bus clients.

evancarey avatar May 19 '20 06:05 evancarey

@marstr Howdy. I'm wonder what is the best way to send a message to Service Bus from my Azure Devops CI/CD Release pipeline? If I cant run C# code here and Azure CLI does not support it what should I do?

AlexanderAnishchik avatar Dec 24 '20 17:12 AlexanderAnishchik

Can you please provide us the AZURE CLI command to create a service bus premium pricing tier?. I heard at present this is not supported. Can you please provide an ETA on that ?

santoshsinha100 avatar Apr 29 '21 18:04 santoshsinha100

Howdy, I'm no longer on the Azure CLI team and have no operational knowledge of when Service Bus data-plane operations will be supported.

marstr avatar Apr 29 '21 23:04 marstr