@@ -26,7 +26,7 @@ There are two parts to enable data loss prevention. First, the resource property
26
26
> [ !NOTE]
27
27
>
28
28
> * 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.
30
30
> * It can take up to 15 minutes for the updated list to take effect.
31
31
32
32
# [ Azure CLI] ( #tab/azure-cli )
@@ -52,7 +52,7 @@ There are two parts to enable data loss prevention. First, the resource property
52
52
```azurecli-interactive
53
53
az rest -m patch \
54
54
-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" ] }}'
56
56
```
57
57
58
58
# [PowerShell](#tab/powershell)
@@ -82,7 +82,7 @@ There are two parts to enable data loss prevention. First, the resource property
82
82
ResourceType = 'accounts'
83
83
Name = 'myaccount'
84
84
ApiVersion = '2024-10-01'
85
- Payload = '{"properties": { "restrictOutboundNetworkAccess": true, "allowedFqdnList": [ "microsoft .com" ] }}'
85
+ Payload = '{"properties": { "restrictOutboundNetworkAccess": true, "allowedFqdnList": [ "contoso .com" ] }}'
86
86
Method = 'PATCH'
87
87
}
88
88
Invoke-AzRestMethod @patchParams
0 commit comments