Skip to content

Commit 199b0f2

Browse files
authored
Merge pull request #203578 from darkoa-msft/master
Removed CLI section due to missing modules
2 parents 8ddd513 + dc90d7e commit 199b0f2

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

articles/iot-hub-device-update/configure-private-endpoints.md

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -93,48 +93,6 @@ The following sections show you how to approve or reject a private endpoint conn
9393
5. If there are any connections that are pending, you'll see a connection listed with **Pending** in the provisioning state.
9494
:::image type="content" source="./media/configure-private-endpoints/device-update-approval.png" alt-text="Screenshot showing a Pending Connection in the Networking tab in Device Update account.":::
9595

96-
## Use Azure CLI
97-
98-
### Create a private endpoint
99-
100-
To create a private endpoint, use the [az network private-endpoint create](/cli/azure/network/private-endpoint?#az-network-private-endpoint-create) method as shown in the following example:
101-
102-
```azurecli-interactive
103-
az network private-endpoint create \
104-
-g <RESOURCE GROUP NAME> \
105-
-n <PRIVATE ENDPOINT NAME> \
106-
--vnet-name <VIRTUAL NETWORK NAME> \
107-
--subnet <SUBNET NAME> \
108-
--private-connection-resource-id "/subscriptions/<SUBSCRIPTION ID>/resourceGroups/<RESOURCE GROUP NAME>/providers/Microsoft.DeviceUpdate/account/<ACCOUNT NAME> \
109-
--connection-name <PRIVATE LINK SERVICE CONNECTION NAME> \
110-
--location <LOCATION> \
111-
--group-id DeviceUpdate
112-
--request-message "Optional message"
113-
--manual-request
114-
```
115-
116-
For descriptions of the parameters used in the example, see documentation for [az network private-endpoint create](/cli/azure/network/private-endpoint?#az-network-private-endpoint-create). A few points to note in this example are:
117-
118-
- For `private-connection-resource-id`, specify the resource ID of the **account**.
119-
- For `group-id`, specify `DeviceUpdate`.
120-
121-
To delete a private endpoint, use the [az network private-endpoint delete](/cli/azure/network/private-endpoint?#az-network-private-endpoint-delete) method as shown in the following example:
122-
123-
```azurecli-interactive
124-
az network private-endpoint delete -g <RESOURCE GROUP NAME> -n <PRIVATE ENDPOINT NAME>
125-
```
126-
127-
### Approve/reject a private endpoint connection
128-
129-
```azurecli-interactive
130-
az iot device-update account private-endpoint-connection set \
131-
-n <ACCOUNT NAME> \
132-
--cn <PRIVATE LINK SERVICE CONNECTION NAME> \
133-
--status <Approved/Rejected> \
134-
--desc 'Optional description'
135-
```
136-
137-
13896
## Next steps
13997

14098
* [Learn about network security concepts](network-security.md).

0 commit comments

Comments
 (0)