Search

Method createVMSnapshot(AzureResourceGroup resourceGroup, AzureRegion region, AzureVirtualMachine virtualMachine, String snapshotName, String accountType, boolean IsDataDiskSnapshotIncluded)

Snapshot a VM. You can snapshot only managed VM. Determines all disk associated with VM and snapshots them.

Returns

AzureSnapshot[]

Arguments

Name Type Description
resourceGroup AzureResourceGroup
region AzureRegion
virtualMachine AzureVirtualMachine
snapshotName String
accountType String
IsDataDiskSnapshotIncluded boolean