EdgeOrderExtensions.GetEdgeOrdersAsync Method

Definition

Overloads

Name Description
GetEdgeOrdersAsync(ResourceGroupResource, String, Nullable<Int32>, CancellationToken)

List orders at resource group level. <item> Mocking. To mock this method, please mock GetEdgeOrdersAsync(String, Nullable<Int32>, CancellationToken) instead. </item>

GetEdgeOrdersAsync(SubscriptionResource, String, Nullable<Int32>, CancellationToken)

List orders at subscription level. <item> Mocking. To mock this method, please mock GetEdgeOrdersAsync(String, Nullable<Int32>, CancellationToken) instead. </item>

GetEdgeOrdersAsync(ResourceGroupResource, String, Nullable<Int32>, CancellationToken)

Source:
EdgeOrderExtensions.cs

List orders at resource group level. <item> Mocking. To mock this method, please mock GetEdgeOrdersAsync(String, Nullable<Int32>, CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.EdgeOrder.EdgeOrderResource> GetEdgeOrdersAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string skipToken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEdgeOrdersAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EdgeOrder.EdgeOrderResource>
<Extension()>
Public Function GetEdgeOrdersAsync (resourceGroupResource As ResourceGroupResource, Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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
Nullable<Int32>

$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

GetEdgeOrdersAsync(SubscriptionResource, String, Nullable<Int32>, CancellationToken)

Source:
EdgeOrderExtensions.cs

List orders at subscription level. <item> Mocking. To mock this method, please mock GetEdgeOrdersAsync(String, Nullable<Int32>, CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.EdgeOrder.EdgeOrderResource> GetEdgeOrdersAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skipToken = default, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEdgeOrdersAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EdgeOrder.EdgeOrderResource>
<Extension()>
Public Function GetEdgeOrdersAsync (subscriptionResource As SubscriptionResource, Optional skipToken As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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
Nullable<Int32>

$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