Skip to content

Commit 6804024

Browse files
committed
cli instructions
1 parent de9479c commit 6804024

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

articles/frontdoor/standard-premium/how-to-enable-private-link-storage-account.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ az afd origin create --enabled-state Enabled \
109109

110110
::: zone-end
111111

112-
## Approve private endpoint connection from the storage account
112+
## Approve Front Door private endpoint connection from the storage account
113+
114+
::: zone pivot="front-door-portal"
113115

114116
1. Go to the storage account you configured Private Link for in the previous section.
115117

@@ -121,7 +123,25 @@ az afd origin create --enabled-state Enabled \
121123

122124
:::image type="content" source="../media/how-to-enable-private-link-storage-account/private-endpoint-pending-approval.png" alt-text="Screenshot of pending storage private endpoint request.":::
123125

124-
It takes a few minutes for the connection to fully establish after approval. Once established, you can access your storage account privately through Azure Front Door Premium.
126+
::: zone-end
127+
128+
::: zone pivot="front-door-cli"
129+
130+
1. Use the [az network private-endpoint-connection list](/cli/azure/network/private-endpoint-connection#az-network-private-endpoint-connection-list) command to list the private endpoint connections for your storage account. Note the `Resource ID` of the private endpoint connection from the output.
131+
132+
```azurecli-interactive
133+
az network private-endpoint-connection list --name mystorage --resource-group myResourceGroup --type Microsoft.Storage/storageAccounts
134+
```
135+
136+
2. Use the [az network private-endpoint-connection approve](/cli/azure/network/private-endpoint-connection#az-network-private-endpoint-connection-approve) command to approve the private endpoint connection.
137+
138+
```azurecli-interactive
139+
az network private-endpoint-connection approve --id /subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorage/privateEndpointConnections/mystorage.aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e
140+
```
141+
142+
::: zone-end
143+
144+
It takes a few minutes for the connection to fully establish after approval. Once established, you can access your storage account privately through Azure Front Door Premium. Public internet access to the storage account is disabled once the private endpoint is enabled.
125145
126146
> [!NOTE]
127147
> If the blob or container within the storage account doesn't permit anonymous access, requests made against the blob/container should be authorized. One option for authorizing a request is by using [shared access signatures](../../storage/common/storage-sas-overview.md).
@@ -135,4 +155,5 @@ The following are common mistakes when configuring an origin with Azure Private
135155
136156
## Related content
137157
138-
Learn about [Private Link service with storage account](../../storage/common/storage-private-endpoints.md).
158+
- [Connect Azure Front Door to an internal load balancer origin with Private Link](how-to-enable-private-link-internal-load-balancer.md)
159+
- [Private Link service with storage account](../../storage/common/storage-private-endpoints.md)

0 commit comments

Comments
 (0)