Skip to content

Commit 6cedb2c

Browse files
authored
Merge pull request #3748 from SychevIgor/IgorSychev-CognitveServices
Cognitive Service Translation API
2 parents 8c3d181 + 50ba14d commit 6cedb2c

File tree

4 files changed

+63
-0
lines changed

4 files changed

+63
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Cognitve Services Translation API
2+
3+
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-cognitive-services-translate%2Fazuredeploy.json" target="_blank">
4+
<img src="https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazure.png"/>
5+
</a>
6+
<a href="http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-cognitive-services-translate%2Fazuredeploy.json" target="_blank">
7+
<img src="https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/visualizebutton.png"/>
8+
</a>
9+
10+
This template deploys an Cognitve Services Translation API.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters": {
5+
"AccountsName": {
6+
"defaultValue": "translate",
7+
"metadata": {
8+
"description": "Display name of Text Translation API account"
9+
},
10+
"type": "string"
11+
},
12+
"SKU": {
13+
"type": "string",
14+
"metadata": {
15+
"description": "SKU for TextTranslation API"
16+
},
17+
"defaultValue": "F0",
18+
"allowedValues": [
19+
"F0",
20+
"S1",
21+
"S2",
22+
"S3",
23+
"S4"
24+
]
25+
}
26+
},
27+
"resources": [
28+
{
29+
"type": "Microsoft.CognitiveServices/accounts",
30+
"sku": {
31+
"name": "[parameters('SKU')]"
32+
},
33+
"kind": "TextTranslation",
34+
"name": "[parameters('AccountsName')]",
35+
"apiVersion": "2016-02-01-preview",
36+
"location": "global",
37+
"properties": {}
38+
}
39+
]
40+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters": {
5+
}
6+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"itemDisplayName": "Cognitve Services Translation API",
3+
"description": "A template for creating a new Cognitve Services Translation API",
4+
"summary": "A template for creating a new Cognitve Services Translation API. Use this template as the framework for your custom deployment.",
5+
"githubUsername": "sychevigor",
6+
"dateUpdated": "2017-08-02"
7+
}

0 commit comments

Comments
 (0)