Partager via


IVirtualDiskOperations.CreateAsync Méthode

Définition

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

Paramètres

deviceId
String

ID d’appareil

diskDetails
VirtualDiskRequest

Paramètres fournis à l’opération Créer un disque virtuel.

customRequestHeaders
CustomRequestHeaders

En-têtes de requête personnalisés que le client doit utiliser.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Informations sur la tâche asynchrone

S’applique à