EdgeOrderExtensions.GetEdgeOrderItems 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.
Overloads
| Name | Description |
|---|---|
| GetEdgeOrderItems(SubscriptionResource, String, String, String, Nullable<Int32>, CancellationToken) |
List order items at subscription level. <item> Mocking. To mock this method, please mock GetEdgeOrderItems(String, String, String, Nullable<Int32>, CancellationToken) instead. </item> |
| GetEdgeOrderItems(ResourceGroupResource) |
Gets a collection of EdgeOrderItems in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetEdgeOrderItems() instead. </item> |
GetEdgeOrderItems(SubscriptionResource, String, String, String, Nullable<Int32>, CancellationToken)
- Source:
- EdgeOrderExtensions.cs
List order items at subscription level. <item> Mocking. To mock this method, please mock GetEdgeOrderItems(String, String, String, Nullable<Int32>, CancellationToken) instead. </item>
public static Azure.Pageable<Azure.ResourceManager.EdgeOrder.EdgeOrderItemResource> GetEdgeOrderItems(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, string expand = default, string skipToken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEdgeOrderItems : Azure.ResourceManager.Resources.SubscriptionResource * string * string * string * Nullable<int> * 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 top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EdgeOrderItemResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- filter
- String
$filter is supported to filter based on order id and order Item Type. Filter supports only equals operation.
- expand
- String
$expand is supported on parent device details, device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Parent Device Details for order item provides details on the devices of the product, Device Details for order item provides details on the devices of the child configurations 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.
$top is supported on fetching list of resources. $top=10 means that the first 10 items in the list will be returned to the API caller.
- 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
GetEdgeOrderItems(ResourceGroupResource)
- Source:
- EdgeOrderExtensions.cs
- Source:
- EdgeOrderExtensions.cs
Gets a collection of EdgeOrderItems in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetEdgeOrderItems() instead. </item>
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 the method will execute against.
Returns
An object representing collection of EdgeOrderItems and their operations over a EdgeOrderItemResource.
Exceptions
resourceGroupResource is null.