Skip to content

Commit 7d69e1b

Browse files
authored
Merge pull request #3651 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-ai-docs (branch main)
2 parents eae6f91 + 8759785 commit 7d69e1b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

articles/ai-services/cognitive-services-data-loss-prevention.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ There are two parts to enable data loss prevention. First, the resource property
4242
4343
```azurecli-interactive
4444
az rest -m get \
45-
-u /subscriptions/{subscription ID}/resourceGroups/{resource group}/providers/Microsoft.CognitiveServices/accounts/{account name}?api-version=2021-04-30 \
45+
-u /subscriptions/{subscription ID}/resourceGroups/{resource group}/providers/Microsoft.CognitiveServices/accounts/{account name}?api-version=2024-10-01 \
4646
```
4747
4848
1. Configure the restrictOutboundNetworkAccess property and update the allowed FqdnList with the approved URLs
4949
5050
```azurecli-interactive
5151
az rest -m patch \
52-
-u /subscriptions/{subscription ID}/resourceGroups/{resource group}/providers/Microsoft.CognitiveServices/accounts/{account name}?api-version=2021-04-30 \
52+
-u /subscriptions/{subscription ID}/resourceGroups/{resource group}/providers/Microsoft.CognitiveServices/accounts/{account name}?api-version=2024-10-01 \
5353
-b '{"properties": { "restrictOutboundNetworkAccess": true, "allowedFqdnList": [ "microsoft.com" ] }}'
5454
```
5555
@@ -65,7 +65,7 @@ There are two parts to enable data loss prevention. First, the resource property
6565
ResourceProviderName = 'Microsoft.CognitiveServices'
6666
ResourceType = 'accounts'
6767
Name = 'myaccount'
68-
ApiVersion = '2021-04-30'
68+
ApiVersion = '2024-10-01'
6969
Method = 'GET'
7070
}
7171
Invoke-AzRestMethod @getParams
@@ -79,7 +79,7 @@ There are two parts to enable data loss prevention. First, the resource property
7979
ResourceProviderName = 'Microsoft.CognitiveServices'
8080
ResourceType = 'accounts'
8181
Name = 'myaccount'
82-
ApiVersion = '2021-04-30'
82+
ApiVersion = '2024-10-01'
8383
Payload = '{"properties": { "restrictOutboundNetworkAccess": true, "allowedFqdnList": [ "microsoft.com" ] }}'
8484
Method = 'PATCH'
8585
}

articles/ai-services/openai/how-to/batch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ When a job failure occurs, you'll find details about the failure in the `errors`
202202
"object": “list”,
203203
"data": [
204204
{
205-
code”: “empty_file,
206-
message”: “The input file is empty. Please ensure that the batch contains at least one request.
205+
"code": "empty_file",
206+
"message": "The input file is empty. Please ensure that the batch contains at least one request."
207207
}
208208
]
209209
},

articles/ai-services/openai/includes/realtime-javascript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
6666
6767
```javascript
6868
import { OpenAIRealtimeWS } from "openai/beta/realtime/ws";
69-
import { AzureOpenAI } from "openai/index.mjs";
69+
import { AzureOpenAI } from "openai";
7070
import { DefaultAzureCredential, getBearerTokenProvider } from "@azure/identity";
7171
async function main() {
7272
// You will need to set these environment variables or edit the following values
@@ -149,7 +149,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
149149
150150
```javascript
151151
import { OpenAIRealtimeWS } from "openai/beta/realtime/ws";
152-
import { AzureOpenAI } from "openai/index.mjs";
152+
import { AzureOpenAI } from "openai";
153153
async function main() {
154154
// You will need to set these environment variables or edit the following values
155155
const endpoint = process.env.AZURE_OPENAI_ENDPOINT || "AZURE_OPENAI_ENDPOINT";

articles/ai-services/openai/includes/realtime-typescript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
7474
7575
```typescript
7676
import { OpenAIRealtimeWS } from "openai/beta/realtime/ws";
77-
import { AzureOpenAI } from "openai/index.mjs";
77+
import { AzureOpenAI } from "openai";
7878
import { DefaultAzureCredential, getBearerTokenProvider } from "@azure/identity";
7979
8080
async function main(): Promise<void> {
@@ -187,7 +187,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
187187
188188
```typescript
189189
import { OpenAIRealtimeWS } from "openai/beta/realtime/ws";
190-
import { AzureOpenAI } from "openai/index.mjs";
190+
import { AzureOpenAI } from "openai";
191191
192192
async function main(): Promise<void> {
193193

0 commit comments

Comments
 (0)