Condividi tramite


IJobsOperations.MarkDevicesShippedWithHttpMessagesAsync Method

Definition

Request to mark devices for a given job as shipped

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)

Parameters

jobName
String

The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

resourceGroupName
String

The Resource Group Name

deliverToDcPackageDetails
PackageCarrierInfo

Delivery package details

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

Applies to