EdgeOrderExtensions.GetEdgeOrders 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 |
|---|---|
| GetEdgeOrders(ResourceGroupResource, String, Nullable<Int32>, CancellationToken) |
List orders at resource group level. <item> Mocking. To mock this method, please mock GetEdgeOrders(String, Nullable<Int32>, CancellationToken) instead. </item> |
| GetEdgeOrders(SubscriptionResource, String, Nullable<Int32>, CancellationToken) |
List orders at subscription level. <item> Mocking. To mock this method, please mock GetEdgeOrders(String, Nullable<Int32>, CancellationToken) instead. </item> |
| GetEdgeOrders(ResourceGroupResource) |
Gets a collection of EdgeOrders in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetEdgeOrders() instead. </item> |
GetEdgeOrders(ResourceGroupResource, String, Nullable<Int32>, CancellationToken)
- Source:
- EdgeOrderExtensions.cs
List orders at resource group level. <item> Mocking. To mock this method, please mock GetEdgeOrders(String, Nullable<Int32>, CancellationToken) instead. </item>
public static Azure.Pageable<Azure.ResourceManager.EdgeOrder.EdgeOrderResource> GetEdgeOrders(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string skipToken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEdgeOrders : Azure.ResourceManager.Resources.ResourceGroupResource * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EdgeOrder.EdgeOrderResource>
<Extension()>
Public Function GetEdgeOrders (resourceGroupResource As ResourceGroupResource, Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EdgeOrderResource)
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource the method will execute against.
- skipToken
- String
$skipToken is supported on Get list of orders, which provides the next page in the list of orders.
$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 EdgeOrderResource that may take multiple service requests to iterate over.
Exceptions
resourceGroupResource is null.
Applies to
GetEdgeOrders(SubscriptionResource, String, Nullable<Int32>, CancellationToken)
- Source:
- EdgeOrderExtensions.cs
List orders at subscription level. <item> Mocking. To mock this method, please mock GetEdgeOrders(String, Nullable<Int32>, CancellationToken) instead. </item>
public static Azure.Pageable<Azure.ResourceManager.EdgeOrder.EdgeOrderResource> GetEdgeOrders(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skipToken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEdgeOrders : Azure.ResourceManager.Resources.SubscriptionResource * string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.EdgeOrder.EdgeOrderResource>
<Extension()>
Public Function GetEdgeOrders (subscriptionResource As SubscriptionResource, Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EdgeOrderResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- skipToken
- String
$skipToken is supported on Get list of orders, which provides the next page in the list of orders.
$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 EdgeOrderResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource is null.
Applies to
GetEdgeOrders(ResourceGroupResource)
- Source:
- EdgeOrderExtensions.cs
- Source:
- EdgeOrderExtensions.cs
Gets a collection of EdgeOrders in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetEdgeOrders() instead. </item>
public static Azure.ResourceManager.EdgeOrder.EdgeOrderCollection GetEdgeOrders(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetEdgeOrders : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.EdgeOrder.EdgeOrderCollection
<Extension()>
Public Function GetEdgeOrders (resourceGroupResource As ResourceGroupResource) As EdgeOrderCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource the method will execute against.
Returns
An object representing collection of EdgeOrders and their operations over a EdgeOrderResource.
Exceptions
resourceGroupResource is null.