https://pulumi.com logo
Title
n

nice-application-79035

05/25/2023, 7:46 PM
Hello Team, I am using Azure native servicebus topic and queue https://www.pulumi.com/registry/packages/azure-native/api-docs/servicebus/topic/. I have specified a premium sku tier for servicebus. How can I specify the message size for the queues and topics? There's a property to set the max size for the queue but doesn't see the configuration for setting the message size.
m

melodic-tomato-39005

05/26/2023, 3:14 PM
Hi @nice-application-79035, it seems that message size was added in a later Azure API version. You can import
AzureNative.ServiceBus.v20221001preview
instead of just
AzureNative.ServiceBus
and you should see a property
maxMessageSizeInKilobytes
.
n

nice-application-79035

05/30/2023, 4:47 AM
Thank you so much @melodic-tomato-39005! This actually worked. Can you please tell me where can I actually refer to the versioning information? That would be helpful for future reference.
m

melodic-tomato-39005

05/30/2023, 1:35 PM
Unfortunately, these Azure API versions are not reflected in our documentation so far. The size of Azure makes it a bit difficult. We’re tracking this here. In the meantime, you can browse the sdk folder for your language. Your IDE should also surface the available imports.
n

nice-application-79035

05/30/2023, 9:08 PM
Thank you @melodic-tomato-39005!