Skip to content

Commit 6b87160

Browse files
committed
walkthrough
1 parent 697acaf commit 6b87160

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

articles/container-registry/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
items:
8181
- name: Limit access with virtual network (preview)
8282
href: container-registry-vnet.md
83+
- name: Integrate with Azure Private Link
84+
href: container-registry-private-link.md
8385
- name: Access behind a firewall
8486
href: container-registry-firewall-access-rules.md
8587
- name: Authentication

articles/container-registry/container-registry-private-link.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Set up private link
33
description: Set up a private endpoint on a container registry and enable a private link in a local virtual network
44
ms.topic: article
5-
ms.date: 03/07/2020
5+
ms.date: 03/10/2020
66
---
77

88
# Configure Azure Private Link for an Azure container registry
@@ -19,7 +19,7 @@ This feature is available in the **Premium** container registry service tier. Fo
1919

2020
## Prerequisites
2121

22-
* To use the Azure CLI steps in this article, Azure CLI version 2.1.1 or later is recommended. If you need to install or upgrade, see [Install Azure CLI][azure-cli]. Or run in [Azure Cloud Shell](../cloud-shell/quickstart.md).
22+
* To use the Azure CLI steps in this article, Azure CLI version 2.2.0 or later is recommended. If you need to install or upgrade, see [Install Azure CLI][azure-cli]. Or run in [Azure Cloud Shell](../cloud-shell/quickstart.md).
2323
* If you don't already have a container registry, create one (Premium tier required) and push a sample image such as `hello-world` from Docker Hub. For example, use the [Azure portal][quickstart-portal] or the [Azure CLI][quickstart-cli] to create a registry.
2424

2525
The Azure CLI examples in this article use the following environment variables. Substitute values appropriate for your environment. All examples are formatted for the Bash shell:
@@ -240,14 +240,6 @@ az network private-dns record-set a add-record \
240240

241241
The private link is now configured and ready for use.
242242

243-
To show details of a registry's private endpoint connection, run the [az acr private-endpoint-connection show][az-acr-private-endpoint-connection-show] command. For example:
244-
245-
```azurecli
246-
az acr private-endpoint-connection show \
247-
--name $registryName \
248-
--private-endpoint-connection-name myPrivateEndpoint
249-
```
250-
251243
## Set up private link - portal
252244

253245
The following steps assume you already have a virtual network and subnet set up with a VM for testing. You can also [create a new virtual network and subnet](../virtual-network/quick-create-portal.md).
@@ -351,7 +343,13 @@ Docker successfully pulls the image to the VM.
351343

352344
Manage a registry's private endpoint connections using the Azure portal, or by using commands in the [az acr private-endpoint-connection][az-acr-private-endpoint-connection] command group. Operations include approve, delete, list, reject, or show details of a registry's private endpoint connections.
353345

354-
By default when you create a private endpoint connection, the registry automatically accepts connections from clients and services that have RBAC permissions on the registry. You can set up the endpoint to require manual approval of connections. For information about approving and rejecting private endpoint connections, see [Manage a Private Endpoint Connection](../private-link/manage-private-endpoint.md).
346+
For example, to list the private endpoint connections of a registry, run the [az acr private-endpoint-connection list][az-acr-private-endpoint-connection-list] command. For example:
347+
348+
```azurecli
349+
az acr private-endpoint-connection list \
350+
--registry-name $registryName
351+
352+
When you set up a private endpoint connection using the steps in this article, the registry automatically accepts connections from clients and services that have RBAC permissions on the registry. You can set up the endpoint to require manual approval of connections. For information about how to approve and reject private endpoint connections, see [Manage a Private Endpoint Connection](../private-link/manage-private-endpoint.md).
355353
356354
## Clean up resources
357355
@@ -384,7 +382,7 @@ To clean up your resources in the portal, navigate to your resource group. Once
384382
[az-acr-repository-list]: /cli/azure/acr/repository#az-acr-repository-list
385383
[az-acr-login]: /cli/azure/acr#az-acr-login
386384
[az-acr-private-endpoint-connection]: /cli/azure/acr/private-endpoint-connection
387-
[az-acr-private-endpoint-connection-show]: /cli/azure/acr/private-endpoint-connection#az-acr-private-endpoint-connection-show
385+
[az-acr-private-endpoint-connection-list]: /cli/azure/acr/private-endpoint-connection#az-acr-private-endpoint-connection-list
388386
[az-acr-private-endpoint-connection-approve]: /cli/azure/acr/private-endpoint-connection#az-acr-private-endpoint-connection-approve
389387
[az-group-create]: /cli/azure/group
390388
[az-role-assignment-create]: /cli/azure/role/assignment#az-role-assignment-create

0 commit comments

Comments
 (0)