OrdersOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET