Skip to content

Commit 6852114

Browse files
authored
Merge pull request #261107 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 1b6dee2 + 2a831b3 commit 6852114

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

articles/active-directory-b2c/client-credentials-grant-flow.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ The OAuth 2.0 client credentials grant flow permits an app (confidential client)
2121

2222
In the client credentials flow, permissions are granted directly to the application itself by an administrator. When the app presents a token to a resource, the resource enforces that the app itself has authorization to perform an action since there's no user involved in the authentication. This article covers the steps needed to authorize an application to call an API, and how to get the tokens needed to call that API.
2323

24-
**This feature is in public preview.**
24+
> [!NOTE]
25+
> **This feature is in public preview.**
2526
2627
## App registration overview
2728

articles/active-directory-b2c/string-transformations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,16 +217,16 @@ Determines whether a claim value is equal to the input parameter value. Check ou
217217

218218
### Example of CompareClaimToValue
219219

220-
Use this claims transformation to check if a claim is equal to a value you specified. For example, the following claims transformation checks if the value of the **termsOfUseConsentVersion** claim is equal to `v1`.
220+
Use this claims transformation to check if a claim is equal to a value you specified. For example, the following claims transformation checks if the value of the **termsOfUseConsentVersion** claim is equal to `V2`.
221221

222222
```xml
223223
<ClaimsTransformation Id="IsTermsOfUseConsentRequiredForVersion" TransformationMethod="CompareClaimToValue">
224224
<InputClaims>
225225
<InputClaim ClaimTypeReferenceId="termsOfUseConsentVersion" TransformationClaimType="inputClaim1" />
226226
</InputClaims>
227227
<InputParameters>
228-
<InputParameter Id="compareTo" DataType="string" Value="V1" />
229-
<InputParameter Id="operator" DataType="string" Value="not equal" />
228+
<InputParameter Id="compareTo" DataType="string" Value="V2" />
229+
<InputParameter Id="operator" DataType="string" Value="NOT EQUAL" />
230230
<InputParameter Id="ignoreCase" DataType="string" Value="true" />
231231
</InputParameters>
232232
<OutputClaims>
@@ -238,8 +238,8 @@ Use this claims transformation to check if a claim is equal to a value you speci
238238
- Input claims:
239239
- **inputClaim1**: v1
240240
- Input parameters:
241-
- **compareTo**: V1
242-
- **operator**: EQUAL
241+
- **compareTo**: V2
242+
- **operator**: NOT EQUAL
243243
- **ignoreCase**: true
244244
- Output claims:
245245
- **outputClaim**: true

articles/ai-services/Anomaly-Detector/includes/quickstarts/anomaly-detector-client-library-csharp-multivariate.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ internal class Program
174174
Console.WriteLine(string.Format("Result ID: {0}", result.ResultId.ToString()));
175175
Console.WriteLine(string.Format("Result summary: {0}", result.Summary.ToString()));
176176
Console.WriteLine(string.Format("Result length: {0}", result.Results.Count));
177+
Console.WriteLine(string.Format("Anomalies found: {0}", result.Results.Where(r => r.Value.IsAnomaly).Count()));
177178
}
178179

179180
// delete
@@ -215,11 +216,11 @@ internal class Program
215216
// Wait until the model is ready. It usually takes several minutes
216217
ModelStatus? model_status = null;
217218
int tryout_count = 1;
218-
response = client.GetMultivariateModelValue(trained_model_id);
219+
response = client.GetMultivariateModel(trained_model_id);
219220
while (tryout_count < max_tryout & model_status != ModelStatus.Ready & model_status != ModelStatus.Failed)
220221
{
221222
Thread.Sleep(1000);
222-
response = client.GetMultivariateModelValue(trained_model_id);
223+
response = client.GetMultivariateModel(trained_model_id);
223224
model_status = response.ModelInfo.Status;
224225
Console.WriteLine(string.Format("try {0}, model_id: {1}, status: {2}.", tryout_count, trained_model_id, model_status));
225226
tryout_count += 1;
@@ -267,13 +268,13 @@ internal class Program
267268
Console.WriteLine(string.Format("result id is: {0}", result_id));
268269

269270
// get detection result
270-
MultivariateDetectionResult resultResponse = client.GetMultivariateBatchDetectionResultValue(result_id);
271+
MultivariateDetectionResult resultResponse = client.GetMultivariateBatchDetectionResult(result_id);
271272
MultivariateBatchDetectionStatus result_status = resultResponse.Summary.Status;
272273
int tryout_count = 0;
273274
while (tryout_count < max_tryout & result_status != MultivariateBatchDetectionStatus.Ready & result_status != MultivariateBatchDetectionStatus.Failed)
274275
{
275276
Thread.Sleep(1000);
276-
resultResponse = client.GetMultivariateBatchDetectionResultValue(result_id);
277+
resultResponse = client.GetMultivariateBatchDetectionResult(result_id);
277278
result_status = resultResponse.Summary.Status;
278279
Console.WriteLine(string.Format("try: {0}, result id: {1} Detection status is {2}", tryout_count, result_id, result_status.ToString()));
279280
Console.Out.Flush();

articles/ai-services/openai/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ POST https://{your-resource-name}.openai.azure.com/openai/deployments/{deploymen
661661

662662
| Parameter | Type | Required? | Default | Description |
663663
|--|--|--|--|--|
664-
| `prompt` | string | Required | | A text description of the desired image(s). The maximum length is 1000 characters. |
664+
| `prompt` | string | Required | | A text description of the desired image(s). The maximum length is 4000 characters. |
665665
| `n` | integer | Optional | 1 | The number of images to generate. Only `n=1` is supported for DALL-E 3. |
666666
| `size` | string | Optional | `1024x1024` | The size of the generated images. Must be one of `1792x1024`, `1024x1024`, or `1024x1792`. |
667667
| `quality` | string | Optional | `standard` | The quality of the generated images. Must be `hd` or `standard`. |

0 commit comments

Comments
 (0)