Skip to content

Commit cfa41c8

Browse files
committed
change sample link
1 parent 6dfde88 commit cfa41c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ There are two parts to enable data loss prevention. First, the resource property
2626
>[!NOTE]
2727
>
2828
> * The `allowedFqdnList` property value supports a maximum of 1000 URLs.
29-
> * The property supports fully qualified domain names (i.e., `www.microsoft.com`) as values.
29+
> * The property supports fully qualified domain names (i.e., `www.contoso.com`) as values.
3030
> * It can take up to 15 minutes for the updated list to take effect.
3131
3232
# [Azure CLI](#tab/azure-cli)
@@ -52,7 +52,7 @@ There are two parts to enable data loss prevention. First, the resource property
5252
```azurecli-interactive
5353
az rest -m patch \
5454
-u /subscriptions/{subscription ID}/resourceGroups/{resource group}/providers/Microsoft.CognitiveServices/accounts/{account name}?api-version=2024-10-01 \
55-
-b '{"properties": { "restrictOutboundNetworkAccess": true, "allowedFqdnList": [ "microsoft.com" ] }}'
55+
-b '{"properties": { "restrictOutboundNetworkAccess": true, "allowedFqdnList": [ "contoso.com" ] }}'
5656
```
5757
5858
# [PowerShell](#tab/powershell)
@@ -82,7 +82,7 @@ There are two parts to enable data loss prevention. First, the resource property
8282
ResourceType = 'accounts'
8383
Name = 'myaccount'
8484
ApiVersion = '2024-10-01'
85-
Payload = '{"properties": { "restrictOutboundNetworkAccess": true, "allowedFqdnList": [ "microsoft.com" ] }}'
85+
Payload = '{"properties": { "restrictOutboundNetworkAccess": true, "allowedFqdnList": [ "contoso.com" ] }}'
8686
Method = 'PATCH'
8787
}
8888
Invoke-AzRestMethod @patchParams

0 commit comments

Comments
 (0)