共用方式為


IVirtualMachineDiskOperations.ListDisksAsync(CancellationToken) Method

Definition

The List Disks operation retrieves a list of the disks in your image repository. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157176.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineDiskListResponse> ListDisksAsync (System.Threading.CancellationToken cancellationToken);
abstract member ListDisksAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineDiskListResponse>
Public Function ListDisksAsync (cancellationToken As CancellationToken) As Task(Of VirtualMachineDiskListResponse)

Parameters

cancellationToken
CancellationToken

Cancellation token.

Returns

The List Disks operation response.

Applies to