Skip to content

Commit 0945c4d

Browse files
committed
change posh and cli samples to .global endpoint and fix some wording
1 parent b87e72d commit 0945c4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/storage/common/storage-network-security.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: storage
55
author: jimmart-dev
66
ms.service: storage
77
ms.topic: how-to
8-
ms.date: 04/09/2023
8+
ms.date: 04/10/2023
99
ms.author: jammart
1010
ms.reviewer: santoshc
1111
ms.subservice: common
@@ -177,7 +177,7 @@ You can manage virtual network rules for storage accounts through the Azure port
177177
> [!NOTE]
178178
> If a service endpoint for Azure Storage wasn't previously configured for the selected virtual network and subnets, you can configure it as part of this operation.
179179
>
180-
> Presently, only virtual networks belonging to the same Azure Active Directory tenant are shown for selection during rule creation. To grant access to a subnet in a virtual network belonging to another tenant, please use , PowerShell, CLI or REST APIs.
180+
> Presently, only virtual networks belonging to the same Azure Active Directory tenant are shown for selection during rule creation. To grant access to a subnet in a virtual network belonging to another tenant, please use PowerShell, Azure CLI or REST APIs.
181181
182182
5. To remove a virtual network or subnet rule, select **...** to open the context menu for the virtual network or subnet, and select **Remove**.
183183
@@ -196,7 +196,7 @@ You can manage virtual network rules for storage accounts through the Azure port
196196
3. Enable service endpoint for Azure Storage on an existing virtual network and subnet.
197197
198198
```powershell
199-
Get-AzVirtualNetwork -ResourceGroupName "myresourcegroup" -Name "myvnet" | Set-AzVirtualNetworkSubnetConfig -Name "mysubnet" -AddressPrefix "10.0.0.0/24" -ServiceEndpoint "Microsoft.Storage" | Set-AzVirtualNetwork
199+
Get-AzVirtualNetwork -ResourceGroupName "myresourcegroup" -Name "myvnet" | Set-AzVirtualNetworkSubnetConfig -Name "mysubnet" -AddressPrefix "10.0.0.0/24" -ServiceEndpoint "Microsoft.Storage.Global" | Set-AzVirtualNetwork
200200
```
201201
202202
4. Add a network rule for a virtual network and subnet.
@@ -232,7 +232,7 @@ You can manage virtual network rules for storage accounts through the Azure port
232232
3. Enable service endpoint for Azure Storage on an existing virtual network and subnet.
233233
234234
```azurecli
235-
az network vnet subnet update --resource-group "myresourcegroup" --vnet-name "myvnet" --name "mysubnet" --service-endpoints "Microsoft.Storage"
235+
az network vnet subnet update --resource-group "myresourcegroup" --vnet-name "myvnet" --name "mysubnet" --service-endpoints "Microsoft.Storage.Global"
236236
```
237237
238238
4. Add a network rule for a virtual network and subnet.

0 commit comments

Comments
 (0)