-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Donnadonnam/.gitignore - AI [GitHub] - Visual Studio...github.dev
- Loading branch information
1 parent
babd0c0
commit 1a30960
Showing
1 changed file
with
1 addition
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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')]" | ||
} | ||
} | ||
} | ||
# |