Complete the code to create a Private Endpoint in Azure.
az network private-endpoint create --name myPrivateEndpoint --resource-group myResourceGroup --vnet-name myVNet --subnet mySubnet --private-connection-resource-id [1] --group-ids blob --connection-name myConnectionThe --private-connection-resource-id must point to the resource you want to connect privately, such as a Storage Account.
Complete the code to approve a Private Endpoint connection request.
az network private-endpoint-connection [1] --resource-group myResourceGroup --name myStorageAccount --private-endpoint-connection-name myConnection --approval-description "Approved"
The command approve is used to approve a Private Endpoint connection request.
Fix the error in the command to create a Private DNS Zone for Private Link.
az network private-dns zone create --resource-group myResourceGroup --name [1]The Private DNS Zone name must match the service's private link zone, such as privatelink.storage.windows.net for Storage Accounts.
Fill both blanks to create a Private Endpoint and link it to a Private DNS Zone.
az network private-endpoint create --name myPrivateEndpoint --resource-group myResourceGroup --vnet-name myVNet --subnet mySubnet --private-connection-resource-id [1] --group-ids [2] --connection-name myConnection
The --private-connection-resource-id should be the SQL Server resource ID, and the --group-ids should be 'sqlServer' for SQL Private Link.
Fill all three blanks to configure a Private Endpoint, approve the connection, and link the Private DNS Zone.
az network private-endpoint create --name [1] --resource-group myResourceGroup --vnet-name myVNet --subnet mySubnet --private-connection-resource-id [2] --group-ids [3] --connection-name myConnection
Use myPrivateEndpoint as the endpoint name, the Storage Account resource ID, and 'blob' as the group ID for Storage Private Link.