Skip to content

Commit

Permalink
update hub.bicep
Browse files Browse the repository at this point in the history
  • Loading branch information
Menghua1 committed Sep 17, 2024
1 parent 67989c4 commit 63a545e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions avm/ptn/azd/ml-ai-environment/modules/hub.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ param location string = resourceGroup().location
@description('Optional. Tags of the resource.')
param tags object = {}

// ================ //
// Resources //
// ================ //

resource hub 'Microsoft.MachineLearningServices/workspaces@2024-04-01' = {
name: name
location: location
Expand Down Expand Up @@ -130,6 +134,10 @@ resource search 'Microsoft.Search/searchServices@2021-04-01-preview' existing =
name: aiSearchName
}

// ================ //
// Outputs //
// ================ //

output name string = hub.name
output resourceId string = hub.id
output principalId string = hub.identity.principalId

0 comments on commit 63a545e

Please sign in to comment.