Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static IResourceBuilder<AzureServiceBusResource> AddAzureServiceBus(this
{
var skuParameter = new ProvisioningParameter("sku", typeof(string))
{
Value = "Standard"
Value = hasPrivateEndpoint ? "Premium" : "Standard"
};
infrastructure.Add(skuParameter);
var resource = new AzureProvisioning.ServiceBusNamespace(infrastructure.AspireResource.GetBicepIdentifier())
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@description('The location for the resource(s) to be deployed.')
param location string = resourceGroup().location

param sku string = 'Standard'
param sku string = 'Premium'

resource servicebus 'Microsoft.ServiceBus/namespaces@2024-01-01' = {
name: take('servicebus-${uniqueString(resourceGroup().id)}', 50)
Expand Down
Loading