Share via


VirtualMachineDiskOperationsExtensions.ListDisks Method

Retrieves a list of disks from the user disk repository.

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

Usage

'Usage
Dim operations As IVirtualMachineDiskOperations
Dim returnValue As VirtualMachineDiskListResponse

returnValue = VirtualMachineDiskOperationsExtensions.ListDisks(operations)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListDisks ( _
    operations As IVirtualMachineDiskOperations _
) As VirtualMachineDiskListResponse
[ExtensionAttribute] 
public static VirtualMachineDiskListResponse ListDisks (
    IVirtualMachineDiskOperations operations
)
[ExtensionAttribute] 
public:
static VirtualMachineDiskListResponse^ ListDisks (
    IVirtualMachineDiskOperations^ operations
)
/** @attribute ExtensionAttribute() */ 
public static VirtualMachineDiskListResponse ListDisks (
    IVirtualMachineDiskOperations operations
)
ExtensionAttribute 
public static function ListDisks (
    operations : IVirtualMachineDiskOperations
) : VirtualMachineDiskListResponse

Parameters

Return Value

The VirtualMachineDiskListResponse object that contains the list of disks.

Remarks

For more information about retrieving a list of disks, see the following resources:

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

VirtualMachineDiskOperationsExtensions Class
VirtualMachineDiskOperationsExtensions Members
Microsoft.WindowsAzure.Management.Compute Namespace