Skip to content

Commit b53b2fa

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into us297578-content-curation
2 parents 128b502 + ddd365c commit b53b2fa

File tree

594 files changed

+3752
-2919
lines changed

Some content is hidden

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

594 files changed

+3752
-2919
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,12 @@
410410
"branch": "main",
411411
"branch_mapping": {}
412412
},
413+
{
414+
"path_to_root": "azure-search-static-web-app",
415+
"url": "https://github.com/Azure-Samples/azure-search-static-web-app",
416+
"branch": "main",
417+
"branch_mapping": {}
418+
},
413419
{
414420
"path_to_root": "samples-personalizer",
415421
"url": "https://github.com/Azure-Samples/cognitive-services-personalizer-samples",

articles/ai-services/computer-vision/includes/environment-variables.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ In this example, write your credentials to environment variables on the local ma
1212

1313
[!INCLUDE [find key and endpoint](./find-key.md)]
1414

15-
> [!TIP]
16-
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](../../security-features.md) article for more authentication options like [Azure Key Vault](../../use-key-vault.md).
17-
1815
To set the environment variable for your key and endpoint, open a console window and follow the instructions for your operating system and development environment.
1916

20-
1. To set the `VISION_KEY` environment variable, replace `<your_key>` with one of the keys for your resource.
21-
2. To set the `VISION_ENDPOINT` environment variable, replace `<your_endpoint>` with the endpoint for your resource.
17+
- To set the `VISION_KEY` environment variable, replace `<your_key>` with one of the keys for your resource.
18+
- To set the `VISION_ENDPOINT` environment variable, replace `<your_endpoint>` with the endpoint for your resource.
19+
20+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
2221

2322
#### [Windows](#tab/windows)
2423

articles/ai-services/computer-vision/includes/face-environment-variables.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ In this example, write your credentials to environment variables on the local ma
1010

1111
[!INCLUDE [find key and endpoint](./find-key.md)]
1212

13-
> [!TIP]
14-
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](../../security-features.md) article for more authentication options like [Azure Key Vault](../../use-key-vault.md).
15-
1613
To set the environment variable for your key and endpoint, open a console window and follow the instructions for your operating system and development environment.
1714

18-
1. To set the `FACE_APIKEY` environment variable, replace `<your_key>` with one of the keys for your resource.
19-
2. To set the `FACE_ENDPOINT` environment variable, replace `<your_endpoint>` with the endpoint for your resource.
15+
- To set the `FACE_APIKEY` environment variable, replace `<your_key>` with one of the keys for your resource.
16+
- To set the `FACE_ENDPOINT` environment variable, replace `<your_endpoint>` with the endpoint for your resource.
17+
18+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
2019

2120
#### [Windows](#tab/windows)
2221

articles/ai-services/computer-vision/includes/how-to-guides/analyze-image-40-cpp.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ This guide assumes you have successfully followed the steps mentioned in the [qu
1919

2020
To authenticate against the Image Analysis service, you need a Computer Vision key and endpoint URL.
2121

22-
> [!TIP]
23-
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](/azure/ai-services/security-features) article for more authentication options like [Azure Key Vault](/azure/ai-services/use-key-vault).
22+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
2423

2524
The SDK example assumes that you defined the environment variables `VISION_KEY` and `VISION_ENDPOINT` with your key and endpoint.
2625

articles/ai-services/computer-vision/includes/how-to-guides/analyze-image-40-csharp.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ This guide assumes you've followed the steps mentioned in the [quickstart](/azur
1919

2020
To authenticate against the Image Analysis service, you need a Computer Vision key and endpoint URL. This guide assumes that you've defined the environment variables `VISION_KEY` and `VISION_ENDPOINT` with your key and endpoint.
2121

22-
> [!TIP]
23-
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](/azure/ai-services/security-features) article for more authentication options like [Azure Key Vault](/azure/ai-services/use-key-vault).
22+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
2423

2524
Start by creating a [ImageAnalysisClient](/dotnet/api/azure.ai.vision.imageanalysis.imageanalysisclient) object. For example:
2625

articles/ai-services/computer-vision/includes/how-to-guides/analyze-image-40-java.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ This guide assumes you've followed the steps in the [quickstart](/azure/ai-servi
1919

2020
To authenticate with the Image Analysis service, you need a Computer Vision key and endpoint URL. This guide assumes that you've defined the environment variables `VISION_KEY` and `VISION_ENDPOINT` with your key and endpoint.
2121

22-
> [!TIP]
23-
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](/azure/ai-services/security-features) article for more authentication options like [Azure Key Vault](/azure/ai-services/use-key-vault).
22+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
2423

2524
Start by creating an [ImageAnalysisClient](/java/api/com.azure.ai.vision.imageanalysis.imageanalysisclient) object. For example:
2625

articles/ai-services/computer-vision/includes/how-to-guides/analyze-image-40-js.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ This guide assumes you have followed the steps mentioned in the [quickstart](/az
2020

2121
To authenticate against the Image Analysis service, you need a Computer Vision key and endpoint URL. This guide assumes that you've defined the environment variables `VISION_KEY` and `VISION_ENDPOINT` with your key and endpoint.
2222

23-
> [!TIP]
24-
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](/azure/ai-services/security-features) article for more authentication options like [Azure Key Vault](/azure/ai-services/use-key-vault).
23+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
2524

2625
Start by creating a **ImageAnalysisClient** object. For example:
2726

articles/ai-services/computer-vision/includes/how-to-guides/analyze-image-40-python.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ This guide assumes you've followed the steps of the [quickstart](/azure/ai-servi
2020

2121
To authenticate against the Image Analysis service, you need a Computer Vision key and endpoint URL. This guide assumes that you've defined the environment variables `VISION_KEY` and `VISION_ENDPOINT` with your key and endpoint.
2222

23-
24-
> [!TIP]
25-
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](/azure/ai-services/security-features) article for more authentication options like [Azure Key Vault](/azure/ai-services/use-key-vault).
26-
27-
23+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
2824

2925
Start by creating an [ImageAnalysisClient](/python/api/azure-ai-vision-imageanalysis/azure.ai.vision.imageanalysis.imageanalysisclient) object using one of the constructors. For example:
3026

articles/ai-services/computer-vision/includes/how-to-guides/analyze-image-40-rest.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,12 @@ This guide assumes you have successfully followed the steps mentioned in the [qu
1919

2020
To authenticate against the Image Analysis service, you need a Computer Vision key and endpoint URL.
2121

22-
> [!TIP]
23-
> Don't include the key directly in your code, and never post it publicly. See the Azure AI services [security](/azure/ai-services/security-features) article for more authentication options like [Azure Key Vault](/azure/ai-services/use-key-vault).
22+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
2423

2524
The SDK example assumes that you defined the environment variables `VISION_KEY` and `VISION_ENDPOINT` with your key and endpoint.
2625

27-
2826
Authentication is done by adding the HTTP request header **Ocp-Apim-Subscription-Key** and setting it to your vision key. The call is made to the URL `<endpoint>/computervision/imageanalysis:analyze?api-version=2024-02-01`, where `<endpoint>` is your unique computer vision endpoint URL. You add query strings based on your analysis options.
2927

30-
3128
## Select the image to analyze
3229

3330
The code in this guide uses remote images referenced by URL. You may want to try different images on your own to see the full capability of the Image Analysis features.

articles/ai-services/computer-vision/spatial-analysis-web-app.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ Most of the **Environment Variables** for the IoT Edge Module are already set in
8080
}
8181
```
8282

83+
[!INCLUDE [Azure key vault](~/reusable-content/ce-skilling/azure/includes/ai-services/security/azure-key-vault.md)]
84+
8385
### Configure the operation parameters
8486

8587
If you are using the sample [DeploymentManifest.json](https://github.com/Azure-Samples/cognitive-services-spatial-analysis/blob/main/deployment.json) which already has all of the required configurations (operations, recorded video file urls and zones etc.), then you can skip to the **Execute the deployment** section.

0 commit comments

Comments
 (0)