DataBoxEdgeExtensions.GetAvailableSkusAsync Method

Definition

List all the available Skus and information related to them. <item> Mocking. To mock this method, please mock GetAvailableSkusAsync(CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.DataBoxEdge.Models.AvailableDataBoxEdgeSku> GetAvailableSkusAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailableSkusAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataBoxEdge.Models.AvailableDataBoxEdgeSku>
<Extension()>
Public Function GetAvailableSkusAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AvailableDataBoxEdgeSku)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to