Skip to content

Commit

Permalink
Donnadonnam/.gitignore - AI [GitHub] - Visual Studio...github.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnadonnam authored Feb 12, 2023
1 parent babd0c0 commit 1a30960
Showing 1 changed file with 1 addition and 115 deletions.
116 changes: 1 addition & 115 deletions AzureDeployment/AzureML/azureML.json
Original file line number Diff line number Diff line change
@@ -1,115 +1 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"azureMLName": {
"type": "string"
},
"location": {
"type": "string"
},
"uniqueKey": {
"type": "string"
}
},
"variables": {
"azureMLSku": "basic",
"appInsights": "[resourceId('Microsoft.Insights/components', variables('appInsightsName'))]",
"appInsightsName": "[concat('appInsights-', parameters('uniqueKey'))]",
"keyVault": "[resourceId('Microsoft.KeyVault/vaults', variables('keyVaultName'))]",
"keyVaultName": "[concat('keyVault-', parameters('uniqueKey'))]",
"dataAccount": "[resourceId('Microsoft.Storage/storageAccounts', variables('dataAccountName'))]",
"dataAccountName": "[concat('storage', parameters('uniqueKey'))]",
"dataAccountType": "Standard_LRS"
},
"resources": [
{
"comments": "Application Insights for AzureML Workspace",
"type": "Microsoft.Insights/components",
"apiVersion": "2020-02-02-preview",
"name": "[variables('appInsightsName')]",
"location": "[if(or(equals(parameters('location'),'eastus2'), equals(parameters('location'),'westcentralus')),'southcentralus',parameters('location'))]",
"kind": "web",
"properties": {
"Application_Type": "web"
}
},
{
"comments": "KeyVault for AzureML Workspace",
"type": "Microsoft.KeyVault/vaults",
"apiVersion": "2019-09-01",
"name": "[variables('keyVaultName')]",
"location": "[parameters('location')]",
"properties": {
"accessPolicies": [],
"enableSoftDelete": true,
"softDeleteRetentionInDays": 30,
"sku": {
"family": "A",
"name": "standard"
},
"tenantId": "[subscription().tenantId]"
}
},
{
"comments": "Storage account for AzureML Workspace",
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2019-06-01",
"name": "[variables('dataAccountName')]",
"location": "[parameters('location')]",
"sku": {
"name": "[variables('dataAccountType')]"
},
"kind": "StorageV2",
"properties": {
"encryption": {
"keySource": "Microsoft.Storage",
"services": {
"blob": {
"enabled": true
},
"file": {
"enabled": true
}
}
},
"supportsHttpsTrafficOnly": true
}
},
{
"comments": "AzureML Workspace",
"type": "Microsoft.MachineLearningServices/workspaces",
"apiVersion": "2020-06-01",
"name": "[parameters('azureMLName')]",
"location": "[parameters('location')]",
"sku": {
"name": "[variables('azureMLSku')]",
"tier": "[variables('azureMLSku')]"
},
"dependsOn": [
"[variables('appInsights')]",
"[variables('dataAccount')]",
"[variables('keyVault')]"
],
"properties": {
"applicationInsights": "[variables('appInsights')]",
"friendlyName": "[parameters('azureMLName')]",
"keyVault": "[variables('keyVault')]",
"storageAccount": "[variables('dataAccount')]"
},
"identity": {
"type": "SystemAssigned"
}
}
],
"outputs": {
"resourceId": {
"type": "string",
"value": "[resourceId('Microsoft.MachineLearningServices/workspaces', parameters('azureMLName'))]"
},
"keyVaultName": {
"type": "string",
"value": "[variables('keyVaultName')]"
}
}
}
#

0 comments on commit 1a30960

Please sign in to comment.