Dela via


EdgeOrderExtensions.GetEdgeOrderItems Method

Definition

Overloads

GetEdgeOrderItems(ResourceGroupResource)

Gets a collection of EdgeOrderItemResources in the ResourceGroupResource. MockingTo mock this method, please mock GetEdgeOrderItems() instead.

GetEdgeOrderItems(SubscriptionResource, String, String, String, CancellationToken)

Lists order item at subscription level.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.EdgeOrder/orderItems
  • Operation Id: ListOrderItemsAtSubscriptionLevel

GetEdgeOrderItems(ResourceGroupResource)

Source:
EdgeOrderExtensions.cs
Source:
EdgeOrderExtensions.cs

Gets a collection of EdgeOrderItemResources in the ResourceGroupResource. MockingTo mock this method, please mock GetEdgeOrderItems() instead.

public static Azure.ResourceManager.EdgeOrder.EdgeOrderItemCollection GetEdgeOrderItems (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetEdgeOrderItems : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.EdgeOrder.EdgeOrderItemCollection
<Extension()>
Public Function GetEdgeOrderItems (resourceGroupResource As ResourceGroupResource) As EdgeOrderItemCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of EdgeOrderItemResources and their operations over a EdgeOrderItemResource.

Exceptions

resourceGroupResource is null.

Applies to

GetEdgeOrderItems(SubscriptionResource, String, String, String, CancellationToken)

Source:
EdgeOrderExtensions.cs
Source:
EdgeOrderExtensions.cs

Lists order item at subscription level.

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

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

Exceptions

subscriptionResource is null.

Applies to