vurequi.blogg.se

Azure take snapshot of vm
Azure take snapshot of vm










#This location should be same as the snapshot location #Get all the Azure location using command below: #Get-AzLocation $location = 'westus' $snapshot = Get-AzSnapshot -ResourceGroupName $resourceGroupName -SnapshotName $snapshotName $diskConfig = New-AzDiskConfig -AccountType $storageType -Location $location -CreateOption Copy -SourceResourceId $snapshot.Id westus) where Managed Disks will be located. $storageType = 'Standard_LRS' #Provide the Azure region (e.g. $diskSize = '128' #Provide the storage type for Managed Disk. In this sample, the size of the snapshot is 127 GB. It should be greater than the VHD file size. Until the fix is made available, do not use multi-byte characters in the Azure VM display name.#Provide the name of your resource group $resourceGroupName = 'myResourceGroup' #Provide the name of the snapshot that will be used to create Managed Disks $snapshotName = 'mySnapshot' #Provide the name of theManaged Disk $diskName = 'newOSDisk' #Provide the size of the disks in GB.

azure take snapshot of vm

Microsoft is working on a resolution for this issue. Multi-byte characters are present in the Display name field of an Azure VM.

azure take snapshot of vm

If multi-byte characters are present in the Display name field of an Azure VM, snapshot operation fails.












Azure take snapshot of vm