Skip to content

Commit e59e763

Browse files
Merge pull request #208054 from laujan/1977770-translator-sovereign-cloud-update
update sovereign cloud
2 parents dea0615 + b9ec52f commit e59e763

File tree

1 file changed

+35
-10
lines changed

1 file changed

+35
-10
lines changed

articles/cognitive-services/Translator/sovereign-clouds.md

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: translator-text
1010
ms.topic: reference
11-
ms.date: 02/24/2022
11+
ms.date: 08/15/2022
1212
ms.author: lajanuar
1313
---
1414

@@ -30,6 +30,8 @@ The following table lists the base URLs for Azure sovereign cloud endpoints:
3030
| Azure portal for US Government | `https://portal.azure.us` |
3131
| Azure portal China operated by 21 Vianet | `https://portal.azure.cn` |
3232

33+
<!-- markdownlint-disable MD033 -->
34+
3335
## Translator: sovereign clouds
3436

3537
### [Azure US Government](#tab/us)
@@ -41,7 +43,7 @@ The following table lists the base URLs for Azure sovereign cloud endpoints:
4143
|Azure portal | <ul><li>[Azure Government Portal](https://portal.azure.us/)</li></ul>|
4244
| Available regions</br></br>The region-identifier is a required header when using Translator for the government cloud. | <ul><li>`usgovarizona` </li><li> `usgovvirginia`</li></ul>|
4345
|Available pricing tiers|<ul><li>Free (F0) and Standard (S0). See [Translator pricing](https://azure.microsoft.com/pricing/details/cognitive-services/translator/)</li></ul>|
44-
|Supported Features | <ul><li>Text Translation</li><li>Document Translation</li><li>Custom Translation</li></ul>|
46+
|Supported Features | <ul><li>[Text Translation](https://docs.azure.cn/cognitive-services/translator/reference/v3-0-reference)</li><li>[Document Translation](document-translation/overview.md)</li><li>[Custom Translator](custom-translator/overview.md)</li></ul>|
4547
|Supported Languages| <ul><li>[Translator language support](language-support.md)</li></ul>|
4648

4749
<!-- markdownlint-disable MD036 -->
@@ -77,10 +79,8 @@ https://api.cognitive.microsofttranslator.us/
7779

7880
#### Document Translation custom endpoint
7981

80-
Replace the `<your-custom-domain>` parameter with your [custom domain endpoint](document-translation/get-started-with-document-translation.md#what-is-the-custom-domain-endpoint).
81-
8282
```http
83-
https://<your-custom-domain>.cognitiveservices.azure.us/
83+
https://<NAME-OF-YOUR-RESOURCE>.cognitiveservices.azure.us/translator/text/batch/v1.0
8484
```
8585

8686
#### Custom Translator portal
@@ -122,7 +122,7 @@ The Azure China cloud is a physical and logical network-isolated instance of clo
122122
|---|---|
123123
|Azure portal |<ul><li>[Azure China 21 Vianet Portal](https://portal.azure.cn/)</li></ul>|
124124
|Regions <br></br>The region-identifier is a required header when using a multi-service resource. | <ul><li>`chinanorth` </li><li> `chinaeast2`</li></ul>|
125-
|Supported Feature|<ul><li>[Text Translation](https://docs.azure.cn/cognitive-services/translator/reference/v3-0-reference)</li></ul>|
125+
|Supported Feature|<ul><li>[Text Translation](https://docs.azure.cn/cognitive-services/translator/reference/v3-0-reference)</li><li>[Document Translation](document-translation/overview.md)</li></ul>|
126126
|Supported Languages|<ul><li>[Translator language support.](https://docs.azure.cn/cognitive-services/translator/language-support)</li></ul>|
127127

128128
<!-- markdownlint-disable MD036 -->
@@ -152,7 +152,7 @@ https://<region-identifier>.api.cognitive.azure.cn/sts/v1.0/issueToken
152152
https://api.translator.azure.cn/translate
153153
```
154154

155-
### Example API translation request
155+
### Example text translation request
156156

157157
Translate a single sentence from English to Simplified Chinese.
158158

@@ -174,12 +174,37 @@ curl -X POST "https://api.translator.azure.cn/translate?api-version=3.0&from=en&
174174
]
175175
```
176176

177-
> [!div class="nextstepaction"]
178-
> [Azure China: Translator Text reference](https://docs.azure.cn/cognitive-services/translator/reference/v3-0-reference)
177+
#### Document Translation custom endpoint
178+
179+
#### Document Translation custom endpoint
180+
181+
```http
182+
https://<NAME-OF-YOUR-RESOURCE>.cognitiveservices.azure.us/translator/text/batch/v1.0
183+
```
184+
185+
### Example batch translation request
186+
187+
```json
188+
{
189+
"inputs": [
190+
{
191+
"source": {
192+
"sourceUrl": "https://my.blob.core.windows.net/source-en?sv=2019-12-12&st=2021-03-05T17%3A45%3A25Z&se=2021-03-13T17%3A45%3A00Z&sr=c&sp=rl&sig=SDRPMjE4nfrH3csmKLILkT%2Fv3e0Q6SWpssuuQl1NmfM%3D"
193+
},
194+
"targets": [
195+
{
196+
"targetUrl": "https://my.blob.core.windows.net/target-zh-Hans?sv=2019-12-12&st=2021-03-05T17%3A49%3A02Z&se=2021-03-13T17%3A49%3A00Z&sr=c&sp=wdl&sig=Sq%2BYdNbhgbq4hLT0o1UUOsTnQJFU590sWYo4BOhhQhs%3D",
197+
"language": "zh-Hans"
198+
}
199+
]
200+
}
201+
]
202+
}
203+
```
179204

180205
---
181206

182-
## Next step
207+
## Next steps
183208

184209
> [!div class="nextstepaction"]
185210
> [Learn more about Translator](index.yml)

0 commit comments

Comments
 (0)