I am writing a script and I would have the private IP address, is their way to fetch Instance Name and resource group from az cli
az vm list-ip-addresses --output