CmdID

CmdID / Commands

az-image

Manage custom Virtual Machine Images in Azure. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Manage custom Virtual Machine Images in Azure. Part of azure-cli (also known as az).

List the custom images under a resource group

az image list --resource-group resource_groupIdentify
--resource-groupName of resource group. Azure CLI reference

Create a custom image from managed disks or snapshots

az image create --resource-group resource_group --name name --os-type windows --source os_disk_sourceIdentify
--resource-groupName of resource group. Azure CLI reference
--nameThe name of the image. Azure CLI reference
--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 Azure CLI reference

Delete a custom image

az image delete --name name --resource-group resource_groupIdentify
--nameThe name of the image. Azure CLI reference
--resource-groupName of resource group. Azure CLI reference

Show details of a custom image

az image show --name name --resource-group resource_groupIdentify
--nameThe name of the image. Azure CLI reference
--resource-groupName of resource group. Azure CLI reference

Update custom images

az image update --name name --resource-group resource_group --set property=valueIdentify
--nameThe name of the image. Azure CLI reference
--resource-groupName of resource group. Azure CLI reference