180 строки
6.0 KiB
JSON
180 строки
6.0 KiB
JSON
{
|
|
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
|
"contentVersion": "1.0.0.0",
|
|
"parameters": {
|
|
"batchAccounts_trainer_name": {
|
|
"type": "string"
|
|
},
|
|
"storageAccounts_browseclouddiag_name": {
|
|
"type": "string"
|
|
},
|
|
"storageAccounts_browsecloudapppackage_name": {
|
|
"type": "string"
|
|
},
|
|
"storageAccounts_browsecloudmodelfiles_name": {
|
|
"type": "string"
|
|
},
|
|
"storageAccounts_browsecloudtrainingdata_name": {
|
|
"type": "string"
|
|
},
|
|
"accounts_browsecloud_sentiment_name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"variables": {},
|
|
"resources": [
|
|
{
|
|
"type": "Microsoft.CognitiveServices/accounts",
|
|
"apiVersion": "2016-02-01-preview",
|
|
"name": "[parameters('accounts_browsecloud_sentiment_name')]",
|
|
"location": "westus2",
|
|
"sku": {
|
|
"name": "S"
|
|
},
|
|
"kind": "TextAnalytics",
|
|
"properties": {}
|
|
},
|
|
{
|
|
"type": "Microsoft.Storage/storageAccounts",
|
|
"apiVersion": "2019-04-01",
|
|
"name": "[parameters('storageAccounts_browsecloudapppackage_name')]",
|
|
"location": "eastus",
|
|
"sku": {
|
|
"name": "Standard_RAGRS",
|
|
"tier": "Standard"
|
|
},
|
|
"kind": "StorageV2",
|
|
"properties": {
|
|
"networkAcls": {
|
|
"bypass": "AzureServices",
|
|
"virtualNetworkRules": [],
|
|
"ipRules": [],
|
|
"defaultAction": "Allow"
|
|
},
|
|
"supportsHttpsTrafficOnly": true,
|
|
"encryption": {
|
|
"services": {
|
|
"file": {
|
|
"enabled": true
|
|
},
|
|
"blob": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"keySource": "Microsoft.Storage"
|
|
},
|
|
"accessTier": "Hot"
|
|
}
|
|
},
|
|
{
|
|
"type": "Microsoft.Storage/storageAccounts",
|
|
"apiVersion": "2019-04-01",
|
|
"name": "[parameters('storageAccounts_browseclouddiag_name')]",
|
|
"location": "eastus",
|
|
"sku": {
|
|
"name": "Standard_LRS",
|
|
"tier": "Standard"
|
|
},
|
|
"kind": "Storage",
|
|
"properties": {
|
|
"networkAcls": {
|
|
"bypass": "AzureServices",
|
|
"virtualNetworkRules": [],
|
|
"ipRules": [],
|
|
"defaultAction": "Allow"
|
|
},
|
|
"supportsHttpsTrafficOnly": false,
|
|
"encryption": {
|
|
"services": {
|
|
"file": {
|
|
"enabled": true
|
|
},
|
|
"blob": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"keySource": "Microsoft.Storage"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Microsoft.Storage/storageAccounts",
|
|
"apiVersion": "2019-04-01",
|
|
"name": "[parameters('storageAccounts_browsecloudmodelfiles_name')]",
|
|
"location": "eastus",
|
|
"sku": {
|
|
"name": "Standard_RAGRS",
|
|
"tier": "Standard"
|
|
},
|
|
"kind": "StorageV2",
|
|
"properties": {
|
|
"networkAcls": {
|
|
"bypass": "AzureServices",
|
|
"virtualNetworkRules": [],
|
|
"ipRules": [],
|
|
"defaultAction": "Allow"
|
|
},
|
|
"supportsHttpsTrafficOnly": true,
|
|
"encryption": {
|
|
"services": {
|
|
"file": {
|
|
"enabled": true
|
|
},
|
|
"blob": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"keySource": "Microsoft.Storage"
|
|
},
|
|
"accessTier": "Hot"
|
|
}
|
|
},
|
|
{
|
|
"type": "Microsoft.Storage/storageAccounts",
|
|
"apiVersion": "2019-04-01",
|
|
"name": "[parameters('storageAccounts_browsecloudtrainingdata_name')]",
|
|
"location": "centralus",
|
|
"sku": {
|
|
"name": "Standard_RAGRS",
|
|
"tier": "Standard"
|
|
},
|
|
"kind": "StorageV2",
|
|
"properties": {
|
|
"networkAcls": {
|
|
"bypass": "AzureServices",
|
|
"virtualNetworkRules": [],
|
|
"ipRules": [],
|
|
"defaultAction": "Allow"
|
|
},
|
|
"supportsHttpsTrafficOnly": true,
|
|
"encryption": {
|
|
"services": {
|
|
"file": {
|
|
"enabled": true
|
|
},
|
|
"blob": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"keySource": "Microsoft.Storage"
|
|
},
|
|
"accessTier": "Hot"
|
|
}
|
|
},
|
|
{
|
|
"type": "Microsoft.Batch/batchAccounts",
|
|
"apiVersion": "2017-09-01",
|
|
"name": "[parameters('batchAccounts_trainer_name')]",
|
|
"location": "eastus",
|
|
"dependsOn": [
|
|
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_browsecloudapppackage_name'))]"
|
|
],
|
|
"properties": {
|
|
"autoStorage": {
|
|
"storageAccountId": "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_browsecloudapppackage_name'))]"
|
|
},
|
|
"poolAllocationMode": "BatchService"
|
|
}
|
|
}
|
|
]
|
|
} |