Share via


EdgeOrderExtensions.GetEdgeOrderItemsAsync Method

Definition

Lists order item at subscription level.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/orderItems
  • Operation Id: ListOrderItemsAtSubscriptionLevel
public static Azure.AsyncPageable<Azure.ResourceManager.EdgeOrder.EdgeOrderItemResource> GetEdgeOrderItemsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, string expand = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEdgeOrderItemsAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EdgeOrder.EdgeOrderItemResource>
<Extension()>
Public Function GetEdgeOrderItemsAsync (subscriptionResource As SubscriptionResource, Optional filter As String = Nothing, Optional expand As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EdgeOrderItemResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

filter
String

$filter is supported to filter based on order id. Filter supports only equals operation.

expand
String

$expand is supported on device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Device Details for order item provides details on the devices of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively.

skipToken
String

$skipToken is supported on Get list of order items, which provides the next page in the list of order items.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of EdgeOrderItemResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to