Hello does anybody knows how to get the connection...
# general
Hello does anybody knows how to get the connection string for a azure servicebus queue ?
👍 1
Hello, I am a colleague of Timon. What we are looking for is basically this: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/servicebus_queue_authorization_rule The attribute "primary_connection_string" on an authorization rule object. We were already able to create the object in Pulumi using "new azure_native.servicebus.QueueAuthorizationRule(...)"
Are you using Azure Native or Azure Classic? Azure Native connects directly to Azure's resource model; docs are at https://www.pulumi.com/registry/packages/azure-native/api-docs/servicebus/queueauthorizationrule/. For that package, though, I think you want to use the
function and ask for the output
(see https://www.pulumi.com/registry/packages/azure-native/api-docs/servicebus/listqueuekeys/). We generally recommend Azure Native as it's more closely tied to Azure, so it gets updates faster. Azure Classic uses the original Terraform bridge, so you would use these docs at https://www.pulumi.com/registry/packages/azure/api-docs/servicebus/queueauthorizationrule/ and pull the
❤️ 1
Thank you @great-queen-39697 🙂 We already get an answere from the pulumi support ! Thank you very much.
🎉 1
and we use azure native