-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure_deploy.json
51 lines (51 loc) · 1.43 KB
/
azure_deploy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.15.31.15270",
"templateHash": "17000396405303018145"
}
},
"parameters": {
"cognitiveServiceName": {
"type": "string",
"defaultValue": "[format('CognitiveService-{0}', uniqueString(resourceGroup().id))]",
"metadata": {
"description": "That name is the name of our application. It has to be unique.Type a name followed by your resource group name. (<name>-<resourceGroupName>)"
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources."
}
},
"sku": {
"type": "string",
"defaultValue": "S0",
"allowedValues": [
"S0"
]
}
},
"resources": [
{
"type": "Microsoft.CognitiveServices/accounts",
"apiVersion": "2021-10-01",
"name": "[parameters('cognitiveServiceName')]",
"location": "[parameters('location')]",
"sku": {
"name": "[parameters('sku')]"
},
"kind": "SpeechServices",
"properties": {
"apiProperties": {
"statisticsEnabled": false
}
}
}
]
}