IJobsOperations.MarkDevicesShippedWithHttpMessagesAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Demande de marquer les appareils d’un travail donné comme étant livrés
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> MarkDevicesShippedWithHttpMessagesAsync (string jobName, string resourceGroupName, Microsoft.Azure.Management.DataBox.Models.PackageCarrierInfo deliverToDcPackageDetails, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member MarkDevicesShippedWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.DataBox.Models.PackageCarrierInfo * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function MarkDevicesShippedWithHttpMessagesAsync (jobName As String, resourceGroupName As String, deliverToDcPackageDetails As PackageCarrierInfo, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)
Paramètres
- jobName
- String
Nom de la ressource de travail dans le groupe de ressources spécifié. les noms de travail doivent comporter entre 3 et 24 caractères et utiliser uniquement des caractères alphanumériques et des traits de soulignement
- resourceGroupName
- String
Nom du groupe de ressources
- deliverToDcPackageDetails
- PackageCarrierInfo
Détails du package de livraison
- customHeaders
- Dictionary<String,List<String>>
En-têtes qui seront ajoutés à la demande.
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
Exceptions
Levée lorsque l’opération a retourné un code de status non valide
Levée lorsqu’un paramètre obligatoire a la valeur Null
S’applique à
Azure SDK for .NET