1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 18:55:27 +02:00

az-image: add page (#14234)

This commit is contained in:
Cristian Bastidas 2024-10-16 00:46:18 -05:00 committed by GitHub
parent 0c8dbebaae
commit 290d122920
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
pages/common/az-image.md Normal file
View file

@ -0,0 +1,25 @@
# az image
> Manage custom Virtual Machine Images in Azure.
> Part of `azure-cli` (also known as `az`).
> More information: <https://learn.microsoft.com/cli/azure/image>.
- List the custom images under a resource group:
`az image list --resource-group {{resource_group}}`
- Create a custom image from managed disks or snapshots:
`az image create --resource-group {{resource_group}} --name {{name}} --os-type {{windows|linux}} --source {{os_disk_source}}`
- Delete a custom image:
`az image delete --name {{name}} --resource-group {{resource_group}}`
- Show details of a custom image:
`az image show --name {{name}} --resource-group {{resource_group}}`
- Update custom images:
`az image update --name {{name}} --resource-group {{resource_group}} --set {{property=value}}`