JobsOperationsExtensions.BookShipmentPickUpAsync(IJobsOperations, String, String, ShipmentPickUpRequest, CancellationToken) Method

Definition

Book shipment pick up.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBox.Models.ShipmentPickUpResponse> BookShipmentPickUpAsync (this Microsoft.Azure.Management.DataBox.IJobsOperations operations, string resourceGroupName, string jobName, Microsoft.Azure.Management.DataBox.Models.ShipmentPickUpRequest shipmentPickUpRequest, System.Threading.CancellationToken cancellationToken = default);
static member BookShipmentPickUpAsync : Microsoft.Azure.Management.DataBox.IJobsOperations * string * string * Microsoft.Azure.Management.DataBox.Models.ShipmentPickUpRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBox.Models.ShipmentPickUpResponse>
<Extension()>
Public Function BookShipmentPickUpAsync (operations As IJobsOperations, resourceGroupName As String, jobName As String, shipmentPickUpRequest As ShipmentPickUpRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ShipmentPickUpResponse)

Parameters

operations
IJobsOperations

The operations group for this extension method.

resourceGroupName
System.String

The Resource Group Name

jobName
System.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

shipmentPickUpRequest
ShipmentPickUpRequest

Details of shipment pick up request.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ShipmentPickUpResponse>

Applies to