Skip to content

Commit 1458e56

Browse files
authored
Merge branch 'MicrosoftDocs:main' into deploy-arc-data-ad
2 parents 04d28e2 + 97505dd commit 1458e56

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1318
-151
lines changed

articles/active-directory/governance/create-access-review.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ For more information, see [License requirements](access-reviews-overview.md#lice
7373
> [!NOTE]
7474
> If you selected **All Microsoft 365 groups with guest users**, your only option is to review **Guest users only**.
7575
76-
1. Or if you are conducting group membership review, you can create access reviews only for inactive users in the group (preview). In the *Users scope* section, check the box next to **Inactive users (on tenant level)**. If you check the box, the scope of the review will focus on inactive users only. Then, specify **Days inactive** with a number of days inactive up to 730 days (two years). Users in the group inactive for the specified number of days will be the only users in the review.
76+
1. Or if you are conducting group membership review, you can create access reviews for only the inactive users in the group (preview). In the *Users scope* section, check the box next to **Inactive users (on tenant level)**. If you check the box, the scope of the review will focus on inactive users only, those who have not signed in either interactively or non-interactively to the tenant. Then, specify **Days inactive** with a number of days inactive up to 730 days (two years). Users in the group inactive for the specified number of days will be the only users in the review.
7777

7878
1. Select **Next: Reviews**.
7979

articles/azure-app-configuration/TOC.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@
3737
href: quickstart-feature-flag-azure-functions-csharp.md
3838
- name: Java Spring
3939
href: quickstart-feature-flag-spring-boot.md
40+
- name: Bicep
41+
href: quickstart-bicep.md
42+
displayName: ARM, Resource Manager, Template
4043
- name: ARM template
4144
href: quickstart-resource-manager.md
42-
displayName: ARM, azure resource manager template
45+
displayName: Resource Manager
4346
- name: .NET App in Visual Studio
4447
href: /visualstudio/azure/vs-azure-tools-connected-services-app-configuration
4548
- name: Tutorials
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
title: Create an Azure App Configuration store using Bicep
3+
titleSuffix: Azure App Configuration
4+
description: Learn how to create an Azure App Configuration store using Bicep.
5+
author: schaffererin
6+
ms.author: v-eschaffer
7+
ms.date: 05/06/2022
8+
ms.service: azure-app-configuration
9+
ms.topic: quickstart
10+
ms.custom: subject-armqs, devx-track-azurepowershell, mode-arm
11+
---
12+
13+
# Quickstart: Create an Azure App Configuration store using Bicep
14+
15+
This quickstart describes how you can use Bicep to:
16+
17+
- Deploy an App Configuration store.
18+
- Create key-values in an App Configuration store.
19+
- Read key-values in an App Configuration store.
20+
21+
[!INCLUDE [About Bicep](../../includes/resource-manager-quickstart-bicep-introduction.md)]
22+
23+
## Prerequisites
24+
25+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
26+
27+
## Review the Bicep file
28+
29+
The Bicep file used in this quickstart is from [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/app-configuration-store-kv/).
30+
31+
:::code language="bicep" source="~/quickstart-templates/quickstarts/microsoft.appconfiguration/app-configuration-store-kv/main.bicep":::
32+
33+
Two Azure resources are defined in the Bicep file:
34+
35+
- [Microsoft.AppConfiguration/configurationStores](/azure/templates/microsoft.appconfiguration/2020-07-01-preview/configurationstores): create an App Configuration store.
36+
- [Microsoft.AppConfiguration/configurationStores/keyValues](/azure/templates/microsoft.appconfiguration/2020-07-01-preview/configurationstores/keyvalues): create a key-value inside the App Configuration store.
37+
38+
With this Bicep file, we create one key with two different values, one of which has a unique label.
39+
40+
## Deploy the Bicep file
41+
42+
1. Save the Bicep file as **main.bicep** to your local computer.
43+
1. Deploy the Bicep file using either Azure CLI or Azure PowerShell.
44+
45+
# [CLI](#tab/CLI)
46+
47+
```azurecli
48+
az group create --name exampleRG --location eastus
49+
az deployment group create --resource-group exampleRG --template-file main.bicep --parameters configStoreName=<store-name>
50+
```
51+
52+
# [PowerShell](#tab/PowerShell)
53+
54+
```azurepowershell
55+
New-AzResourceGroup -Name exampleRG -Location eastus
56+
New-AzResourceGroupDeployment -ResourceGroupName exampleRG -TemplateFile ./main.bicep -configStoreName "<store-name>"
57+
```
58+
59+
---
60+
61+
> [!NOTE]
62+
> Replace **\<store-name\>** with the name of the App Configuration store.
63+
64+
When the deployment finishes, you should see a message indicating the deployment succeeded.
65+
66+
## Review deployed resources
67+
68+
Use Azure CLI or Azure PowerShell to list the deployed resources in the resource group.
69+
70+
# [CLI](#tab/CLI)
71+
72+
```azurecli-interactive
73+
az resource list --resource-group exampleRG
74+
```
75+
76+
# [PowerShell](#tab/PowerShell)
77+
78+
```azurepowershell-interactive
79+
Get-AzResource -ResourceGroupName exampleRG
80+
```
81+
82+
---
83+
84+
You can also use the Azure portal to list the resources:
85+
86+
1. Sign in to the Azure portal.
87+
1. In the search box, enter *App Configuration*, then select **App Configuration** from the list.
88+
1. Select the newly created App Configuration resource.
89+
1. Under **Operations**, select **Configuration explorer**.
90+
1. Verify that two key-values exist.
91+
92+
## Clean up resources
93+
94+
When no longer needed, use Azure CLI or Azure PowerShell to delete the resource group and its resources.
95+
96+
# [CLI](#tab/CLI)
97+
98+
```azurecli-interactive
99+
az group delete --name exampleRG
100+
```
101+
102+
# [PowerShell](#tab/PowerShell)
103+
104+
```azurepowershell-interactive
105+
Remove-AzResourceGroup -Name exampleRG
106+
```
107+
108+
---
109+
110+
You can also use the Azure portal to delete the resource group:
111+
112+
1. Navigate to your resource group.
113+
1. Select **Delete resource group**.
114+
1. A tab will appear. Enter the resource group name and select **Delete**.
115+
116+
## Next steps
117+
118+
To learn about adding feature flag and Key Vault reference to an App Configuration store, check out the ARM template examples.
119+
120+
- [app-configuration-store-ff](https://azure.microsoft.com/resources/templates/app-configuration-store-ff/)
121+
- [app-configuration-store-keyvaultref](https://azure.microsoft.com/resources/templates/app-configuration-store-keyvaultref/)

articles/azure-resource-manager/bicep/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
href: ../../dms/create-dms-bicep.md?toc=/azure/azure-resource-manager/bicep/toc.json
9494
- name: DevOps
9595
items:
96+
- name: App Configuration
97+
href: ../../azure-app-configuration/quickstart-bicep.md?toc=/azure/azure-resource-manager/bicep/toc.json
9698
- name: DevTest Labs
9799
href: ../../devtest-labs/create-lab-windows-vm-bicep.md?toc=/azure/azure-resource-manager/bicep/toc.json
98100
- name: Integration

articles/azure-resource-manager/management/resource-name-rules.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Resource naming restrictions
33
description: Shows the rules and restrictions for naming Azure resources.
44
ms.topic: conceptual
5-
ms.date: 04/28/2022
5+
author: tfitzmac
6+
ms.author: tomfitz
7+
ms.date: 05/06/2022
68
---
79

810
# Naming rules and restrictions for Azure resources
@@ -731,7 +733,7 @@ In the following tables, the term alphanumeric refers to:
731733
> | servers / databases | server | 1-128 | Can't use:<br>`<>*%&:\/?` or control characters<br><br>Can't end with period or space. |
732734
> | servers / databases / syncGroups | database | 1-150 | Alphanumerics, hyphens, and underscores. |
733735
> | servers / elasticPools | server | 1-128 | Can't use:<br>`<>*%&:\/?` or control characters<br><br>Can't end with period or space. |
734-
> | servers / failoverGroups | global | 1-63 | Lowercase letters, numbers, and hyphens.<br><br>Can't start or end with hyphen. <br><br> Can't have hyphen twice in both third and fourth place. For example, `ab--cde` is not allowed. |
736+
> | servers / failoverGroups | global | 1-63 | Lowercase letters, numbers, and hyphens.<br><br>Can't start or end with hyphen. |
735737
> | servers / firewallRules | server | 1-128 | Can't use:<br>`<>*%&:;\/?` or control characters<br><br>Can't end with period. |
736738
> | servers / keys | server | | Must be in format:<br>`VaultName_KeyName_KeyVersion`. |
737739

articles/cognitive-services/Computer-vision/overview-ocr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ The Read API includes the following features.
6363
* Select pages and page ranges from large, multi-page documents
6464
* Natural reading order option for text line output (Latin only)
6565
* Handwriting classification for text lines (Latin only)
66-
* Available as Distroless Docker container for on-premise deployment
66+
* Available as Distroless Docker container for on-premises deployment
6767

6868
Learn [how to use the OCR features](./vision-api-how-to-topics/call-read-api.md).
6969

70-
## Use the cloud API or deploy on-premise
70+
## Use the cloud API or deploy on-premises
7171
The Read 3.x cloud APIs are the preferred option for most customers because of ease of integration and fast productivity out of the box. Azure and the Computer Vision service handle scale, performance, data security, and compliance needs while you focus on meeting your customers' needs.
7272

73-
For on-premise deployment, the [Read Docker container (preview)](./computer-vision-how-to-install-containers.md) enables you to deploy the new OCR capabilities in your own local environment. Containers are great for specific security and data governance requirements.
73+
For on-premises deployment, the [Read Docker container (preview)](./computer-vision-how-to-install-containers.md) enables you to deploy the new OCR capabilities in your own local environment. Containers are great for specific security and data governance requirements.
7474

7575
> [!WARNING]
7676
> The Computer Vision [RecognizeText](https://westus.dev.cognitive.microsoft.com/docs/services/5cd27ec07268f6c679a3e641/operations/587f2c6a1540550560080311) and [ocr](https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a499f20d) operations are no longer maintained, and are in the process of being deprecated in favor of the new [Read API](#read-api) covered in this article. Existing customers should [transition to using Read operations](upgrade-api-versions.md).

articles/cognitive-services/Speech-Service/captioning-concepts.md

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.subservice: speech-service
1010
ms.topic: conceptual
1111
ms.date: 04/12/2022
1212
ms.author: eur
13-
zone_pivot_groups: programming-languages-speech-sdk
13+
zone_pivot_groups: programming-languages-speech-sdk-cli
1414
---
1515

1616
# Captioning with speech to text
@@ -27,12 +27,37 @@ The following are aspects to consider when using captioning:
2727
* Center captions horizontally on the screen, in a large and prominent font.
2828
* Consider whether to use partial results, when to start displaying captions, and how many words to show at a time.
2929
* Learn about captioning protocols such as [SMPTE-TT](https://ieeexplore.ieee.org/document/7291854).
30-
* Consider output formats such as SRT (SubRip Subtitle) and WebVTT (Web Video Text Tracks). These can be loaded onto most video players such as VLC, automatically adding the captions on to your video.
30+
* Consider output formats such as SRT (SubRip Text) and WebVTT (Web Video Text Tracks). These can be loaded onto most video players such as VLC, automatically adding the captions on to your video.
3131

3232
> [!TIP]
3333
> Try the [Azure Video Indexer](/azure/azure-video-indexer/video-indexer-overview) as a demonstration of how you can get captions for videos that you upload.
3434
35-
Captioning can accompany real time or pre-recorded speech. Whether you're showing captions in real time or with a recording, you can use the [Speech SDK](speech-sdk.md) to recognize speech and get transcriptions. You can also use the [Batch transcription API](batch-transcription.md) for pre-recorded video.
35+
Captioning can accompany real time or pre-recorded speech. Whether you're showing captions in real time or with a recording, you can use the [Speech SDK](speech-sdk.md) or [Speech CLI](spx-overview.md) to recognize speech and get transcriptions. You can also use the [Batch transcription API](batch-transcription.md) for pre-recorded video.
36+
37+
## Caption output format
38+
39+
The Speech service supports output formats such as SRT (SubRip Text) and WebVTT (Web Video Text Tracks). These can be loaded onto most video players such as VLC, automatically adding the captions on to your video.
40+
41+
The [SRT](https://docs.fileformat.com/video/srt/) (SubRip Text) timespan output format is `hh:mm:ss,fff`.
42+
43+
```srt
44+
1
45+
00:00:00,180 --> 00:00:03,230
46+
Welcome to applied Mathematics course 201.
47+
```
48+
49+
The [WebVTT](https://www.w3.org/TR/webvtt1/#introduction) (Web Video Text Tracks) timespan output format is `hh:mm:ss,fff`.
50+
51+
```
52+
WEBVTT
53+
54+
00:00:00.180 --> 00:00:03.230
55+
Welcome to applied Mathematics course 201.
56+
{
57+
"ResultId": "8e89437b4b9349088a933f8db4ccc263",
58+
"Duration": "00:00:03.0500000"
59+
}
60+
```
3661

3762
## Input audio to the Speech service
3863

@@ -61,7 +86,7 @@ For captioning of prerecorded speech or wherever latency isn't a concern, you co
6186

6287
Real time captioning presents tradeoffs with respect to latency versus accuracy. You could show the text from each `Recognizing` event as soon as possible. However, if you can accept some latency, you can improve the accuracy of the caption by displaying the text from the `Recognized` event. There's also some middle ground, which is referred to as "stable partial results".
6388

64-
You can request that the Speech service return fewer `Recognizing` events that are more accurate. This is done by setting the `SpeechServiceResponse_StablePartialResultThreshold` property to a value between `0` and `2147483647`. The value that you set is the number of times a word has to be recognized before the Speech service returns a `Recognizing` event. For example, if you set the `SpeechServiceResponse_StablePartialResultThreshold` value to `5`, the Speech service will affirm recognition of a word at least five times before returning the partial results to you with a `Recognizing` event.
89+
You can request that the Speech service return fewer `Recognizing` events that are more accurate. This is done by setting the `SpeechServiceResponse_StablePartialResultThreshold` property to a value between `0` and `2147483647`. The value that you set is the number of times a word has to be recognized before the Speech service returns a `Recognizing` event. For example, if you set the `SpeechServiceResponse_StablePartialResultThreshold` property value to `5`, the Speech service will affirm recognition of a word at least five times before returning the partial results to you with a `Recognizing` event.
6590

6691
::: zone pivot="programming-language-csharp"
6792
```csharp
@@ -103,6 +128,11 @@ self.speechConfig!.setPropertyTo(5, by: SPXPropertyId.speechServiceResponseStabl
103128
speech_config.set_property(property_id = speechsdk.PropertyId.SpeechServiceResponse_StablePartialResultThreshold, value = 5)
104129
```
105130
::: zone-end
131+
::: zone pivot="programming-language-cli"
132+
```console
133+
spx recognize --file caption.this.mp4 --format any --property SpeechServiceResponse_StablePartialResultThreshold=5 --output vtt file - --output srt file -
134+
```
135+
::: zone-end
106136

107137
Requesting more stable partial results will reduce the "flickering" or changing text, but it can increase latency as you wait for higher confidence results.
108138

@@ -183,6 +213,11 @@ self.speechConfig!.setProfanityOptionTo(SPXSpeechConfigProfanityOption_Profanity
183213
speech_config.set_profanity(speechsdk.ProfanityOption.Removed)
184214
```
185215
::: zone-end
216+
::: zone pivot="programming-language-cli"
217+
```console
218+
spx recognize --file caption.this.mp4 --format any --profanity masked --output vtt file - --output srt file -
219+
```
220+
::: zone-end
186221

187222
Profanity filter is applied to the result `Text` and `MaskedNormalizedForm` properties. Profanity filter isn't applied to the result `LexicalForm` and `NormalizedForm` properties. Neither is the filter applied to the word level results.
188223

@@ -204,5 +239,5 @@ There are some situations where [training a custom model](custom-speech-overview
204239

205240
## Next steps
206241

207-
* [Get started with speech to text](get-started-speech-to-text.md)
242+
* [Captioning quickstart](captioning-quickstart.md)
208243
* [Get speech recognition results](get-speech-recognition-results.md)
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: "Create captions with speech to text quickstart - Speech service"
3+
titleSuffix: Azure Cognitive Services
4+
description: In this quickstart, you convert speech to text as captions.
5+
services: cognitive-services
6+
author: eric-urban
7+
manager: nitinme
8+
ms.service: cognitive-services
9+
ms.subservice: speech-service
10+
ms.topic: quickstart
11+
ms.date: 04/23/2022
12+
ms.author: eur
13+
ms.devlang: cpp, csharp
14+
zone_pivot_groups: programming-languages-speech-sdk-cli
15+
---
16+
17+
# Quickstart: Create captions with speech to text
18+
19+
::: zone pivot="programming-language-csharp"
20+
[!INCLUDE [C# include](includes/quickstarts/captioning/csharp.md)]
21+
::: zone-end
22+
23+
::: zone pivot="programming-language-cpp"
24+
[!INCLUDE [C++ include](includes/quickstarts/captioning/cpp.md)]
25+
::: zone-end
26+
27+
::: zone pivot="programming-language-go"
28+
[!INCLUDE [Go include](includes/quickstarts/captioning/go.md)]
29+
::: zone-end
30+
31+
::: zone pivot="programming-language-java"
32+
[!INCLUDE [Java include](includes/quickstarts/captioning/java.md)]
33+
::: zone-end
34+
35+
::: zone pivot="programming-language-javascript"
36+
[!INCLUDE [JavaScript include](includes/quickstarts/captioning/javascript.md)]
37+
::: zone-end
38+
39+
::: zone pivot="programming-language-objectivec"
40+
[!INCLUDE [ObjectiveC include](includes/quickstarts/captioning/objectivec.md)]
41+
::: zone-end
42+
43+
::: zone pivot="programming-language-swift"
44+
[!INCLUDE [Swift include](includes/quickstarts/captioning/swift.md)]
45+
::: zone-end
46+
47+
::: zone pivot="programming-language-python"
48+
[!INCLUDE [Python include](./includes/quickstarts/captioning/python.md)]
49+
::: zone-end
50+
51+
::: zone pivot="programming-language-cli"
52+
[!INCLUDE [CLI include](includes/quickstarts/captioning/cli.md)]
53+
::: zone-end
54+
55+
## Next steps
56+
57+
> [!div class="nextstepaction"]
58+
> [Learn more about speech recognition](how-to-recognize-speech.md)

articles/cognitive-services/Speech-Service/get-speech-recognition-results.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: how-to
1111
ms.date: 03/31/2022
1212
ms.author: eur
1313
ms.devlang: cpp, csharp, golang, java, javascript, objective-c, python
14-
zone_pivot_groups: programming-languages-speech-sdk
14+
zone_pivot_groups: programming-languages-speech-sdk-cli
1515
keywords: speech to text, speech to text software
1616
---
1717

@@ -49,6 +49,10 @@ keywords: speech to text, speech to text software
4949
[!INCLUDE [Python include](./includes/how-to/recognize-speech-results/python.md)]
5050
::: zone-end
5151

52+
::: zone pivot="programming-language-cli"
53+
[!INCLUDE [CLI include](./includes/how-to/recognize-speech-results/cli.md)]
54+
::: zone-end
55+
5256
## Next steps
5357

5458
* [Try the speech to text quickstart](get-started-speech-to-text.md)

articles/cognitive-services/Speech-Service/improve-accuracy-phrase-list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ Now try Speech Studio to see how phrase list can improve recognition accuracy.
5353
1. Sign in to [Speech Studio](https://speech.microsoft.com/).
5454
1. Select **Real-time Speech-to-text**.
5555
1. You test speech recognition by uploading an audio file or recording audio with a microphone. For example, select **record audio with a microphone** and then say "Hi Rehaan, this is Jessie from Contoso bank. " Then select the red button to stop recording.
56-
1. You should see the transcription result in the **Test results** text box. If "Rehaan", "Jesse", or "Contoso" were recognized incorrectly, you can add the terms to a phrase list in the next step.
56+
1. You should see the transcription result in the **Test results** text box. If "Rehaan", "Jessie", or "Contoso" were recognized incorrectly, you can add the terms to a phrase list in the next step.
5757
1. Select **Show advanced options** and turn on **Phrase list**.
5858
1. Enter "Contoso;Jessie;Rehaan" in the phrase list text box. Note that multiple phrases need to be separated by a semicolon.
5959
:::image type="content" source="./media/custom-speech/phrase-list-after-zoom.png" alt-text="Screenshot of a phrase list applied in Speech Studio." lightbox="./media/custom-speech/phrase-list-after-full.png":::
60-
1. Use the microphone to test recognition again. Otherwise you can select the retry arrow next to your audio file to re-run your audio. The terms "Rehaan", "Jesse", or "Contoso" should be recognized.
60+
1. Use the microphone to test recognition again. Otherwise you can select the retry arrow next to your audio file to re-run your audio. The terms "Rehaan", "Jessie", or "Contoso" should be recognized.
6161

6262
## Implement phrase list
6363

0 commit comments

Comments
 (0)