Skip to content

Commit

Permalink
update hub parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Menghua1 committed Oct 14, 2024
1 parent 4f89c0c commit 74ab7fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 4 additions & 8 deletions avm/ptn/azd/ml-ai-environment/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "139918832443091761"
"templateHash": "149833058937281725"
},
"name": "Azd Azure Machine Learning Environment",
"description": "Create Azure Machine Learning workspaces of type 'Hub' and 'Project' and their required dependencies.\n\n**Note:** This module is not intended for broad, generic use, as it was designed to cater for the requirements of the AZD CLI product. Feature requests and bug fix requests are welcome if they support the development of the AZD CLI but may not be incorporated if they aim to make this module more generic than what it needs to be for its primary use case.",
Expand Down Expand Up @@ -18987,7 +18987,7 @@
"_generator": {
"name": "bicep",
"version": "0.30.23.60470",
"templateHash": "15986979222145446453"
"templateHash": "7726052800082491375"
}
},
"parameters": {
Expand Down Expand Up @@ -19113,18 +19113,14 @@
"kind": {
"value": "Hub"
},
"associatedApplicationInsightsResourceId": {
"value": "[parameters('applicationInsightsResourceId')]"
},
"associatedKeyVaultResourceId": {
"value": "[parameters('keyVaultResourceId')]"
},
"associatedStorageAccountResourceId": {
"value": "[parameters('storageAccountResourceId')]"
},
"associatedContainerRegistryResourceId": {
"value": "[parameters('containerRegistryResourceId')]"
},
"associatedApplicationInsightsResourceId": "[if(not(empty(parameters('applicationInsightsResourceId'))), createObject('value', parameters('applicationInsightsResourceId')), createObject('value', null()))]",
"associatedContainerRegistryResourceId": "[if(not(empty(parameters('containerRegistryResourceId'))), createObject('value', parameters('containerRegistryResourceId')), createObject('value', null()))]",
"hbiWorkspace": {
"value": false
},
Expand Down
4 changes: 2 additions & 2 deletions avm/ptn/azd/ml-ai-environment/modules/hub.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ module hub 'br/public:avm/res/machine-learning-services/workspace:0.8.1' = {
location: location
tags: tags
kind: 'Hub'
associatedApplicationInsightsResourceId: applicationInsightsResourceId
associatedKeyVaultResourceId: keyVaultResourceId
associatedStorageAccountResourceId: storageAccountResourceId
associatedContainerRegistryResourceId: containerRegistryResourceId
associatedApplicationInsightsResourceId: !empty(applicationInsightsResourceId) ? applicationInsightsResourceId : null
associatedContainerRegistryResourceId: !empty(containerRegistryResourceId) ? containerRegistryResourceId : null
hbiWorkspace: false
managedNetworkSettings: {
isolationMode: 'Disabled'
Expand Down

0 comments on commit 74ab7fc

Please sign in to comment.