The problem which I was hitting without if I update disks section of a vm with :
```java
DataDisk newDataDisk = DataDisk.builder().name("managed-disk")
//....
.caching(DataDisk.CachingTypes.READ_WRITE)
//.....
.build();
```
and in request for updating disks of vm it was containing caching unrecognized
which was making Azure ARM to return:
```
error": {
"code": "BadRequest",
"target": "vm.properties.storageProfile.dataDisks[0].caching",
"message": "Error converting value \"Unrecognized\" to type
'System.Nullable`1[Microsoft.WindowsAzure.ComputeResourceProvider.API.Disk+CachingType]'.
Path 'properties.storageProfile.dataDisks[0].caching', line 1, position 815."
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/394#issuecomment-304316839