We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b961f45 + a21ecc8 commit 3ec6e86Copy full SHA for 3ec6e86
articles/private-link/create-private-endpoint-cli.md
@@ -103,7 +103,7 @@ az network private-dns link vnet create --resource-group myResourceGroup \
103
--registration-enabled false
104
105
#Query for the network interface ID
106
-az network private-endpoint show --name myPrivateEndpoint --resource-group myResourceGroup --query 'networkInterfaces[0].id'
+networkInterfaceId=$(az network private-endpoint show --name myPrivateEndpoint --resource-group myResourceGroup --query 'networkInterfaces[0].id' -o tsv)
107
108
109
az resource show --ids $networkInterfaceId --api-version 2019-04-01 -o json
0 commit comments