Udostępnij za pośrednictwem


OrdersOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates an order.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.Order> BeginCreateOrUpdateAsync (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 BeginCreateOrUpdateAsync : 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 BeginCreateOrUpdateAsync (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