question

NC0202-5867 avatar image
0 Votes"
NC0202-5867 asked MayankBargali-MSFT edited

How to apply network configuration after setting custom DNS in VNET

Hi,
We want to setup a custom DNS in the VNET for managed APIM and find this reference.
https://docs.microsoft.com/en-us/azure/api-management/api-management-using-with-vnet

It says running the Apply Network Configuration Operation but the link seems broken.

If you plan to use a Custom DNS server(s) for the VNET, set it up before deploying an API Management service into it. Otherwise, you'll need to update the API Management service each time you change the DNS Server(s) by running the Apply Network Configuration Operation.

Can someone advise how to do this step ?

Thanks

azure-api-management
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@NC0202-5867 I have updated this doc to reflect the correct link and it will be published in few hours. For document bug/enhancement you can always create the github issue navigating to the end of the page and "Submit and view feedback for" github.

1 Vote 1 ·

1 Answer

timleyden-msft avatar image
0 Votes"
timleyden-msft answered

You will need to call the APIM management api apply-network-configuration-updates for some reason the link is incorrect in the docs. There are many ways to call an api. A couple of examples using postman and curl are demonstrated here another possible approach is to use ARMClient


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.