You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub-device-update/configure-private-endpoints.md
-42Lines changed: 0 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,48 +93,6 @@ The following sections show you how to approve or reject a private endpoint conn
93
93
5. If there are any connections that are pending, you'll see a connection listed with **Pending** in the provisioning state.
94
94
:::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.":::
95
95
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
-
138
96
## Next steps
139
97
140
98
*[Learn about network security concepts](network-security.md).
0 commit comments