CmdID / az / az snapshot
az snapshot create
Create a snapshot. Azure CLI reference
23 options Its page in the Azure CLI reference
Options
--completion-percentPercentage complete for the background copy when a resource is created via the CopyStart operation.--copy-completion-errorIndicates the error details if the background copy of a resource created via the CopyStart operation fails.--creation-dataDisk source information.--data-access-auth-modeAdditional authentication requirements when exporting or uploading to a disk or snapshot.--disk-access-id, --disk-accessARM id of the DiskAccess resource for using private endpoints on disks.--disk-size-gbIf creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create.--encryption-settings-collectionEncryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.--encryptionEncryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.--extended-locationThe extended location where the snapshot will be created.--hyper-v-generationThe hypervisor generation of the Virtual Machine.--incrementalWhether a snapshot is incremental.--network-access-policyPolicy for accessing the disk via network.--os-typeThe Operating System type.--public-network-accessPolicy for controlling export on the disk.--purchase-planPurchase plan information for the image from which the source disk for the snapshot was originally created.--secure-vm-disk-encryption-setName or ID of disk encryption set created with ConfidentialVmEncryptedWithCustomerKey encryption type.--security-profileContains the security related information for the resource.--skuThe snapshots sku name.--snapshot-name, --name, -nThe name of the snapshot that is being created.--sourcesource to create the disk/snapshot from, including unmanaged blob uri, managed disk id or name, or snapshot id or name--supported-capabilitiesList of supported capabilities for the image from which the source disk from the snapshot was originally created.--supports-hibernationIndicates the OS on a snapshot supports hibernation.--tagsResource tags