共用方式為


DataBoxEdgeOrderResource.CreateOrUpdate Method

Definition

Creates or updates an order.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default
  • Operation Id: Orders_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeOrderResource> CreateOrUpdate (Azure.WaitUntil waitUntil, Azure.ResourceManager.DataBoxEdge.DataBoxEdgeOrderData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.DataBoxEdge.DataBoxEdgeOrderData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeOrderResource>
override this.CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.DataBoxEdge.DataBoxEdgeOrderData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeOrderResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, data As DataBoxEdgeOrderData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of DataBoxEdgeOrderResource)

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.

data
DataBoxEdgeOrderData

The order to be created or updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to