Share via


EdgeOrderItemResource.Update Method

Definition

Updates the properties of an existing order item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}
  • Operation Id: UpdateOrderItem
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EdgeOrder.EdgeOrderItemResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemPatch patch, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemPatch * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EdgeOrder.EdgeOrderItemResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.EdgeOrder.Models.EdgeOrderItemPatch * string * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EdgeOrder.EdgeOrderItemResource>
Public Overridable Function Update (waitUntil As WaitUntil, patch As EdgeOrderItemPatch, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of EdgeOrderItemResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

patch
EdgeOrderItemPatch

order item update parameters from request body.

ifMatch
String

Defines the If-Match condition. The patch will be performed only if the ETag of the order on the server matches this value.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to