共用方式為


OrdersOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates an order.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.Order> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataBoxEdge.IOrdersOperations operations, string deviceName, Microsoft.Azure.Management.DataBoxEdge.Models.Order order, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataBoxEdge.IOrdersOperations * string * Microsoft.Azure.Management.DataBoxEdge.Models.Order * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.Order>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IOrdersOperations, deviceName As String, order As Order, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Order)

Parameters

operations
IOrdersOperations

The operations group for this extension method.

deviceName
String

The order details of a device.

order
Order

The order to be created or updated.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to