Share via


VirtualMachineDiskCreateResponse.UsageDetails Property

Optional. Contains properties that specify a virtual machine that is currently using the disk. A disk cannot be deleted as long as it is attached to a virtual machine.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As VirtualMachineDiskCreateResponse
Dim value As VirtualMachineDiskUsageDetails

value = instance.UsageDetails

instance.UsageDetails = value

Syntax

'Declaration
Public Property UsageDetails As VirtualMachineDiskUsageDetails
public VirtualMachineDiskUsageDetails UsageDetails { get; set; }
public:
property VirtualMachineDiskUsageDetails^ UsageDetails {
    VirtualMachineDiskUsageDetails^ get ();
    void set (VirtualMachineDiskUsageDetails^ value);
}
/** @property */
public VirtualMachineDiskUsageDetails get_UsageDetails ()

/** @property */
public void set_UsageDetails (VirtualMachineDiskUsageDetails value)
public function get UsageDetails () : VirtualMachineDiskUsageDetails

public function set UsageDetails (value : VirtualMachineDiskUsageDetails)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VirtualMachineDiskCreateResponse Class
VirtualMachineDiskCreateResponse Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace