az image create
Create a custom Virtual Machine Image from managed disks or snapshots. Azure CLI reference
13 options Its page in the Azure CLI reference
Options
--data-disk-cachingStorage caching type for the image's data disk.--data-disk-sourcesSpace-separated list of data disk sources, including unmanaged blob URI, managed disk ID or name, or snapshot ID or name--edge-zoneThe name of edge zone.--extended-locationThe extended location of the Image.--hyper-v-generationThe hypervisor generation of the Virtual Machine created from the image.--image-name, --name, -nThe name of the image.--os-disk-cachingStorage caching type for the image's OS disk.--source-virtual-machineThe source virtual machine from which Image is created.--sourceOS disk source from the same region, including a virtual machine ID or name, OS disk blob URI, managed OS disk ID or name, or OS snapshot ID or name--storage-profileSpecifies the storage settings for the virtual machine disks.--storage-skuThe SKU of the storage account with which to create the VM image.--tagsResource tags--zone-resilientSpecifies whether an image is zone resilient or not.