question

Mahitha-6559 avatar image
0 Votes"
Mahitha-6559 asked MayankBargali-MSFT edited

ARM template format for premium Azure servicebus queue

I am trying to find the properties for queue creation on a premium servicebus namespace. i can see the below doc also shows template format for standard sku only.

https://docs.microsoft.com/en-us/azure/templates/microsoft.servicebus/namespaces/queues?tabs=json

Need help on properties for premium namespace.

azure-service-bus
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered MayankBargali-MSFT edited

@Mahitha-6559 The Microsoft.ServiceBus namespaces/queues section remains same for both standard and premium namespace. The document has the description of the object and name that are supported.

For your reference I have created the ARM template using the document which creates the premium namepace and one queue under your premium namespace. You can modify it as per your requirement.

Update:
To define the Max message size (in KB) you need to define maxMessageSizeInKilobytes in your ARM template. I have reached out to the docmentation team to reflect the same.

Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


arm.txt (3.0 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your response.

But I dont see property like max message size in the properties. Please let me know if that is available.

0 Votes 0 ·

@Mahitha-6559 Microsoft.ServiceBus/namespaces/queues object have the properties which is of type SBQueueProperties object and its is avaiable and the document covers the same.

131962-image.png

0 Votes 0 ·
image.png (23.6 KiB)
Mahitha-6559 avatar image Mahitha-6559 MayankBargali-MSFT ·

We have two options Queue size and message size . The above one can be used for providing queue size.

Please refer to the below image for better understanding


131860-image.png


0 Votes 0 ·
image.png (20.2 KiB)
Show more comments