Skip to content

Commit db6d89d

Browse files
authored
Merge branch 'MicrosoftDocs:main' into Broken-link-fix-duongau
2 parents 8c3f0ec + 63c485e commit db6d89d

File tree

4 files changed

+31
-27
lines changed

4 files changed

+31
-27
lines changed

articles/azure-monitor/faq.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ sections:
737737
738738
### Querying the telemetry
739739
740-
Use the [REST API](https://dev.applicationinsights.io/) to run [Analytics](./logs/log-query-overview.md) queries.
740+
Use the [REST API](/rest/api/application-insights/) to run [Analytics](./logs/log-query-overview.md) queries.
741741
742742
- question: |
743743
How can I set an alert on an event?

articles/cognitive-services/Translator/reference/v3-0-break-sentence.md

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: nitinme
99
ms.service: cognitive-services
1010
ms.subservice: translator-text
1111
ms.topic: reference
12-
ms.date: 08/06/2020
12+
ms.date: 12/23/2022
1313
ms.author: lajanuar
1414
---
1515

@@ -32,8 +32,8 @@ Request parameters passed on the query string are:
3232
| Query Parameter | Description |
3333
| -------| ----------- |
3434
| api-version <img width=200/> | **Required query parameter**.<br/>Version of the API requested by the client. Value must be `3.0`. |
35-
| language | **Optional query parameter**.<br/>Language tag identifying the language of the input text. If a code is not specified, automatic language detection will be applied. |
36-
| script | **Optional query parameter**.<br/>Script tag identifying the script used by the input text. If a script is not specified, the default script of the language will be assumed. |
35+
| language | **Optional query parameter**.<br/>Language tag identifying the language of the input text. If a code isn't specified, automatic language detection will be applied. |
36+
| script | **Optional query parameter**.<br/>Script tag identifying the script used by the input text. If a script isn't specified, the default script of the language will be assumed. |
3737

3838
Request headers include:
3939

@@ -42,7 +42,7 @@ Request headers include:
4242
| Authentication header(s) <img width=200/> | **Required request header**.<br/>See <a href="/azure/cognitive-services/translator/reference/v3-0-reference#authentication">available options for authentication</a>. |
4343
| Content-Type | **Required request header**.<br/>Specifies the content type of the payload. Possible values are: `application/json`. |
4444
| Content-Length | **Required request header**.<br/>The length of the request body. |
45-
| X-ClientTraceId | **Optional**.<br/>A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
45+
| X-ClientTraceId | **Optional**.<br/>A client-generated GUID to uniquely identify the request. You can omit this header if you include the trace ID in the query string using a query parameter named `ClientTraceId`. |
4646

4747
## Request body
4848

@@ -57,35 +57,39 @@ The body of the request is a JSON array. Each array element is a JSON object wit
5757
The following limitations apply:
5858

5959
* The array can have at most 100 elements.
60-
* The text value of an array element cannot exceed 50,000 characters including spaces.
61-
* The entire text included in the request cannot exceed 50,000 characters including spaces.
60+
* The text value of an array element can't exceed 50,000 characters including spaces.
61+
* The entire text included in the request can't exceed 50,000 characters including spaces.
6262
* If the `language` query parameter is specified, then all array elements must be in the same language. Otherwise, language auto-detection is applied to each array element independently.
6363

6464
## Response body
6565

6666
A successful response is a JSON array with one result for each string in the input array. A result object includes the following properties:
6767

68-
* `sentLen`: An array of integers representing the lengths of the sentences in the text element. The length of the array is the number of sentences, and the values are the length of each sentence.
68+
* `sentLen`: An array of integers representing the lengths of the sentences in the text element. The length of the array is the number of sentences, and the values are the length of each sentence.
6969

70-
* `detectedLanguage`: An object describing the detected language through the following properties:
70+
* `detectedLanguage`: An object describing the detected language through the following properties:
7171

72-
* `language`: Code of the detected language.
72+
* `language`: Code of the detected language.
7373

74-
* `score`: A float value indicating the confidence in the result. The score is between zero and one and a low score indicates a low confidence.
75-
76-
Note that the `detectedLanguage` property is only present in the result object when language auto-detection is requested.
74+
* `score`: A float value indicating the confidence in the result. The score is between zero and one and a low score indicates a low confidence.
75+
76+
The `detectedLanguage` property is only present in the result object when language auto-detection is requested.
7777

7878
An example JSON response is:
7979

8080
```json
8181
[
82-
{
83-
"sentLen": [ 13, 11, 22 ]
84-
"detectedLanguage": {
85-
"language": "en",
86-
"score": 401
87-
},
88-
}
82+
{
83+
"detectedLanguage": {
84+
"language": "en",
85+
"score": 1.0
86+
},
87+
"sentLen": [
88+
13,
89+
11,
90+
22
91+
]
92+
}
8993
]
9094
```
9195

@@ -96,7 +100,7 @@ An example JSON response is:
96100
<th>Description</th>
97101
<tr>
98102
<td>X-RequestId</td>
99-
<td>Value generated by the service to identify the request. It is used for troubleshooting purposes.</td>
103+
<td>Value generated by the service to identify the request. It's used for troubleshooting purposes.</td>
100104
</tr>
101105
</table>
102106

@@ -117,11 +121,11 @@ The following are the possible HTTP status codes that a request returns.
117121
</tr>
118122
<tr>
119123
<td>401</td>
120-
<td>The request could not be authenticated. Check that credentials are specified and valid.</td>
124+
<td>The request couldn't be authenticated. Check that credentials are specified and valid.</td>
121125
</tr>
122126
<tr>
123127
<td>403</td>
124-
<td>The request is not authorized. Check the details error message. This often indicates that all free translations provided with a trial subscription have been used up.</td>
128+
<td>The request isn't authorized. Check the details error message. This response code often indicates that all free translations provided with a trial subscription have been used up.</td>
125129
</tr>
126130
<tr>
127131
<td>429</td>
@@ -145,4 +149,4 @@ The following example shows how to obtain sentence boundaries for a single sente
145149

146150
```curl
147151
curl -X POST "https://api.cognitive.microsofttranslator.com/breaksentence?api-version=3.0" -H "Ocp-Apim-Subscription-Key: <client-secret>" -H "Content-Type: application/json" -d "[{'Text':'How are you? I am fine. What did you do today?'}]"
148-
```
152+
```

articles/governance/blueprints/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@ landingContent:
106106
- text: Azure PowerShell
107107
url: /powershell/module/az.blueprint/#blueprint
108108
- text: Azure SDK for .NET
109-
url: /dotnet/api/overview/azure/blueprints/management
109+
url: /dotnet/api/overview/azure/blueprint/management/management-blueprint
110110
- text: REST
111111
url: /rest/api/blueprints/

articles/governance/management-groups/index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ landingContent:
6666
- text: Azure PowerShell
6767
url: /powershell/module/az.resources/#resources
6868
- text: Azure SDK for .NET
69-
url: /dotnet/api/overview/azure/managementgroups
69+
url: /dotnet/api/overview/azure/management-groups
7070
- text: Azure SDK for Go
7171
url: https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-03-01-preview/managementgroups
7272
- text: Azure SDK for JavaScript
@@ -76,4 +76,4 @@ landingContent:
7676
- text: REST
7777
url: /rest/api/managementgroups
7878
- text: Resource Manager templates
79-
url: /azure/templates/microsoft.management/managementgroups
79+
url: /azure/templates/microsoft.management/managementgroups

0 commit comments

Comments
 (0)