Create Packer image using private ip subnet

Dear Team,

I’m trying to create an Azure Image using Packer. Currently it is creating a VM and connect to it by ssh through public ip assigned.
For some security concerns, we have restricted assigning external ip for a vm in GCP as well as in Azure.
I have used the following key values in packer .json script for GCP.
“omit_external_ip”: “true”,
“use_internal_ip”: “true”,

I’m able to connect the packer created VM through ssh using the private IP.

I want to know if I could achieve the same for Azure also. Please guide me with the correct parameters to be used in packer (.json) build script.

Appreciate your quick response!

Guru Mohan G