0 out of 1 rated this helpful - Rate this topic

CloudDrive Class

Represents a Windows Azure drive.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.CloudDrive (in Microsoft.WindowsAzure.CloudDrive.dll)
'Usage
Dim instance As CloudDrive

public class CloudDrive
public class CloudDrive
public class CloudDrive

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.

noteNote
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.


System.Object
  Microsoft.WindowsAzure.StorageClient.CloudDrive
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Compute and Storage Emulator

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.