Hi@akhtar,
Sometimes we need to create a custom Virtual Machine image from managed disks or snapshots. In the future, we can launch a VM using our own customized image. The following command shows how to create an image.
$ az image create -g MyResourceGroup -n image1 --os-type Linux --source MyVm1
Also learn how to move an Azure VM image to another resource group for more information.