Skip to content

Commit

Permalink
update reasource to avm moudle Add idempotency test
Browse files Browse the repository at this point in the history
update connection array

update hub parameter

update hub module name
  • Loading branch information
Menghua1 committed Oct 14, 2024
1 parent ea4fd9c commit 408cff2
Show file tree
Hide file tree
Showing 6 changed files with 3,964 additions and 239 deletions.
5 changes: 2 additions & 3 deletions avm/ptn/azd/ml-ai-environment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,13 @@ Create Azure Machine Learning workspaces of type 'Hub' and 'Project' and their r
| `Microsoft.KeyVault/vaults/accessPolicies` | [2022-07-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.KeyVault/2022-07-01/vaults/accessPolicies) |
| `Microsoft.KeyVault/vaults/keys` | [2022-07-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.KeyVault/2022-07-01/vaults/keys) |
| `Microsoft.KeyVault/vaults/secrets` | [2022-07-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.KeyVault/2022-07-01/vaults/secrets) |
| `Microsoft.MachineLearningServices/workspaces` | [2024-04-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.MachineLearningServices/2024-04-01/workspaces) |
| `Microsoft.MachineLearningServices/workspaces` | [2024-04-01-preview](https://learn.microsoft.com/en-us/azure/templates/Microsoft.MachineLearningServices/2024-04-01-preview/workspaces) |
| `Microsoft.MachineLearningServices/workspaces/computes` | [2022-10-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.MachineLearningServices/2022-10-01/workspaces/computes) |
| `Microsoft.MachineLearningServices/workspaces/connections` | [2024-04-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.MachineLearningServices/2024-04-01/workspaces/connections) |
| `Microsoft.MachineLearningServices/workspaces/connections` | [2024-04-01-preview](https://learn.microsoft.com/en-us/azure/templates/Microsoft.MachineLearningServices/2024-04-01-preview/workspaces/connections) |
| `Microsoft.ManagedIdentity/userAssignedIdentities` | [2023-01-31](https://learn.microsoft.com/en-us/azure/templates/Microsoft.ManagedIdentity/2023-01-31/userAssignedIdentities) |
| `Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials` | [2023-01-31](https://learn.microsoft.com/en-us/azure/templates/Microsoft.ManagedIdentity/2023-01-31/userAssignedIdentities/federatedIdentityCredentials) |
| `Microsoft.Network/privateEndpoints` | [2023-04-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2023-04-01/privateEndpoints) |
| `Microsoft.Network/privateEndpoints` | [2023-11-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2023-11-01/privateEndpoints) |
| `Microsoft.Network/privateEndpoints` | [2023-04-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2023-04-01/privateEndpoints) |
| `Microsoft.Network/privateEndpoints/privateDnsZoneGroups` | [2023-11-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2023-11-01/privateEndpoints/privateDnsZoneGroups) |
| `Microsoft.Network/privateEndpoints/privateDnsZoneGroups` | [2023-04-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Network/2023-04-01/privateEndpoints/privateDnsZoneGroups) |
| `Microsoft.OperationalInsights/workspaces` | [2022-10-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.OperationalInsights/2022-10-01/workspaces) |
Expand Down Expand Up @@ -540,6 +538,7 @@ This section gives you an overview of all local-referenced module files (i.e., o
| :-- | :-- |
| `br/public:avm/ptn/azd/ml-hub-dependencies:0.1.0` | Remote reference |
| `br/public:avm/ptn/azd/ml-project:0.1.0` | Remote reference |
| `br/public:avm/res/machine-learning-services/workspace:0.8.1` | Remote reference |

## Data Collection

Expand Down
4 changes: 2 additions & 2 deletions avm/ptn/azd/ml-ai-environment/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ resource avmTelemetry 'Microsoft.Resources/deployments@2024-03-01' = if (enableT
}

module hubDependencies 'br/public:avm/ptn/azd/ml-hub-dependencies:0.1.0' = {
name: 'mlHubDependenciesDeployment'
name: '${uniqueString(deployment().name, location)}-mlHubDependenciesDeployment'
params: {
location: location
tags: tags
Expand All @@ -107,7 +107,7 @@ module hubDependencies 'br/public:avm/ptn/azd/ml-hub-dependencies:0.1.0' = {
}

module hub './modules/hub.bicep' = {
name: 'hub'
name: '${uniqueString(deployment().name, location)}-hub'
params: {
location: location
tags: tags
Expand Down
Loading

0 comments on commit 408cff2

Please sign in to comment.