Skip to content

Commit d087c4a

Browse files
committed
Refactoring Bicep to new Azure APIs
1 parent d737850 commit d087c4a

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

src/deploy/bicep/devBox/devCenter/deployDevCenter.bicep

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ resource deployDevCenter 'Microsoft.DevCenter/devcenters@2024-10-01-preview' = {
3737
projectCatalogSettings: {
3838
catalogItemSyncEnableStatus: 'Enabled'
3939
}
40+
devBoxProvisioningSettings: {
41+
installAzureMonitorAgentEnableStatus: 'Enabled'
42+
}
43+
networkSettings: {
44+
microsoftHostedNetworkEnableStatus: 'Enabled'
45+
}
4046
displayName: name
4147
}
4248
tags: tags
@@ -62,15 +68,6 @@ module devCenterEnvironments 'configureDevCenterEnvironments.bicep' = {
6268
]
6369
}
6470

65-
@description('Dev Center Catalogs')
66-
module configureDevCenterCatalogs 'configureDevCenterCatalogs.bicep' = {
67-
name: '${deployDevCenter.name}-Catalog'
68-
params: {
69-
devCenterName: deployDevCenter.name
70-
catalogInfo: catalogInfo
71-
}
72-
}
73-
7471
@description('Dev Center Network Connection')
7572
module configureDevCenterNetworkConnection 'configureDevCenterNetworkConnection.bicep' = [
7673
for project in projects: {

0 commit comments

Comments
 (0)