CloudDrive Class
Assembly: Microsoft.WindowsAzure.CloudDrive (in Microsoft.WindowsAzure.CloudDrive.dll)
A Windows Azure drive is a Virtual Hard Disk (VHD) stored in a page blob in Windows Azure storage. Each drive can be mounted as an NTFS volume in a role instance, and you can access a drive within your role by using standard APIs for accessing NTFS drives. All data written to a Windows Azure drive is immediately stored in persistent storage; your data is written before an application receives notification that the write operation has completed. A role instance can also transparently cache the drive data in local storage.
Note |
|---|
| When defining the connection string for connecting to the storage account, you must use the HTTP protocol. The HTTPS protocol is not supported for creating a drive. |
For detailed information about using a Windows Azure drive, see Windows Azure Drive.
Development Platforms
Windows Vista, Windows 7 and Windows Server 2008Target Platforms
The VHDs must be fixed size NTFS (not expandable).
Only fixed sized VHDs (not expandable) are supported.
Using SDK 1.6, the compute emulator does not use the storage emulator for VHDs it creates. It just creates an local directory in it's scratch space. So don't be confused if you create a container (in storage emulator) and delete it and the VHD still exists and has same data when container is recreated.
The compute emulator also cannot mount VHDs from page blobs in Azure storage.
The compute emulator mounts VHDs using the subst command or something equivalent. These do not show up in the Windows shell on the local machine, but do from the command-line, just type subst to enumerate.
- 1/11/2012
- _1315964703
- 1/13/2012
- _1315964703
Note