Dela via


VirtualDiskOperationsExtensions.CreateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> CreateAsync (this Microsoft.WindowsAzure.Management.StorSimple.IVirtualDiskOperations operations, string deviceId, Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualDiskRequest diskDetails, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member CreateAsync : Microsoft.WindowsAzure.Management.StorSimple.IVirtualDiskOperations * string * Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualDiskRequest * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo>
<Extension()>
Public Function CreateAsync (operations As IVirtualDiskOperations, deviceId As String, diskDetails As VirtualDiskRequest, customRequestHeaders As CustomRequestHeaders) As Task(Of TaskStatusInfo)

Parameters

operations
IVirtualDiskOperations

Reference to the Microsoft.WindowsAzure.Management.StorSimple.IVirtualDiskOperations.

deviceId
String

Required. device id

diskDetails
VirtualDiskRequest

Required. Parameters supplied to the Create virtual disk operation.

customRequestHeaders
CustomRequestHeaders

Required. The Custom Request Headers which client must use.

Returns

Info about the async task

Applies to