Hello Team, I am using Azure native servicebus top...
# azure
n
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
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
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
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
Thank you @melodic-tomato-39005!