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
1 change: 1 addition & 0 deletions playground/bicep/BicepSample.AppHost/sb.module.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ resource serviceBusNamespace_1RzZvI0LZ 'Microsoft.ServiceBus/namespaces@2021-11-
name: sku
}
properties: {
disableLocalAuth: true
}
}

Expand Down
1 change: 1 addition & 0 deletions playground/bicep/BicepSample.AppHost/storage.module.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ resource storageAccount_1XR3Um8QY 'Microsoft.Storage/storageAccounts@2022-09-01'
networkAcls: {
defaultAction: 'Allow'
}
minimumTlsVersion: 'TLS1_2'
}
}

Expand Down
1 change: 1 addition & 0 deletions playground/cdk/CdkSample.AppHost/servicebus.module.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ resource serviceBusNamespace_eRbchjzJN 'Microsoft.ServiceBus/namespaces@2021-11-
name: sku
}
properties: {
disableLocalAuth: true
}
}

Expand Down
1 change: 1 addition & 0 deletions playground/cdk/CdkSample.AppHost/storage.module.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ resource storageAccount_1XR3Um8QY 'Microsoft.Storage/storageAccounts@2022-09-01'
networkAcls: {
defaultAction: 'Allow'
}
minimumTlsVersion: 'TLS1_2'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static IResourceBuilder<AzureServiceBusResource> AddAzureServiceBus(this
serviceBusNamespace.Properties.Tags["aspire-resource-name"] = construct.Resource.Name;

serviceBusNamespace.AssignProperty(p => p.Sku.Name, new Parameter("sku", defaultValue: "Standard"));
serviceBusNamespace.AssignProperty(p => p.DisableLocalAuth, "true");

var serviceBusDataOwnerRole = serviceBusNamespace.AssignRole(RoleDefinition.ServiceBusDataOwner);
serviceBusDataOwnerRole.AssignProperty(p => p.PrincipalId, construct.PrincipalIdParameter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1711,6 +1711,7 @@ param principalType string
name: sku
}
properties: {
disableLocalAuth: true
}
}

Expand Down