I am trying to add separately managed public IP to Azure APIM (external) using CLI. Command is not giving any error but IP is not getting attached.
Command:
az resource update --ids "<apim-id>" --set properties.publicIPAddresses="20.x.x.x"
Output:
For reference, this is what I am trying to do:
How can I add a separately managed public IP to APIM using automation? (preferably CLI, however powershell will also help). Separately managed IP refers to IP created using create public IP command, and then attaching that to APIM.