IVirtualDiskOperations.UpdateAsync(String, String, VirtualDisk, CustomRequestHeaders, CancellationToken) 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
System.String

device id

diskId
System.String

disk id

diskDetails
VirtualDisk

Parameters supplied to the update virtual disk operation.

customRequestHeaders
CustomRequestHeaders

The Custom Request Headers which client must use.

cancellationToken
System.Threading.CancellationToken

Cancellation token.

Returns

System.Threading.Tasks.Task<TaskStatusInfo>

Info about the async task

Applies to