Forum Discussion

CodeFly's avatar
CodeFly
Copper Contributor
Nov 01, 2021
Solved

How to assign an existing Network Interface to a Private Endpoint

When creating a Private Endpoint a Network Interface is automatically created. Instead, I want to manually create a Network Interface (which is possible) and then attach it to a PE. The reason is tha...
  • Niels_Kok's avatar
    Jan 05, 2022
    Hi CodeFly,

    Please try to look at bicep for deploying your resources. This gives you all the control you need.

    This is general information about Bicep:
    https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/overview

    This is the bicep template for a Private Endpoint:
    https://docs.microsoft.com/en-us/azure/templates/microsoft.network/privateendpoints?tabs=bicep

    This is the bicep template for a Network interface:
    https://docs.microsoft.com/en-us/azure/templates/microsoft.network/networkinterfaces?tabs=bicep

    Hope this helps!

    Niels

Resources