다음을 통해 공유


OrdersOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates an order.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.Order> CreateOrUpdateAsync (this Microsoft.Azure.Management.EdgeGateway.IOrdersOperations operations, string deviceName, Microsoft.Azure.Management.EdgeGateway.Models.Order order, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.EdgeGateway.IOrdersOperations * string * Microsoft.Azure.Management.EdgeGateway.Models.Order * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.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 device name.

order
Order

The order to be created or updated.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to