共用方式為


IVirtualDiskOperations.UpdateAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> UpdateAsync (string deviceId, string diskId, Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualDisk diskDetails, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * string * Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualDisk * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo>
Public Function UpdateAsync (deviceId As String, diskId As String, diskDetails As VirtualDisk, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of TaskStatusInfo)

Parameters

deviceId
String

device id

diskId
String

disk id

diskDetails
VirtualDisk

Parameters supplied to the update virtual disk operation.

customRequestHeaders
CustomRequestHeaders

The Custom Request Headers which client must use.

cancellationToken
CancellationToken

Cancellation token.

Returns

Info about the async task

Applies to