Search

Method create(AzureResourceGroup resourceGroup, AzureRegion region, String snapshotName, AzureDisk sourceDisk, String accountType)

Create a snaphot from disk. Disk cant be attached to VM. You can pass OS or Data disks.

Returns

AzureSnapshot

Arguments

Name Type Description
resourceGroup AzureResourceGroup
region AzureRegion
snapshotName String
sourceDisk AzureDisk
accountType String