Share via


DataMigrationExtensions.GetSkusResourceSkusAsync Method

Definition

The skus action returns the list of SKUs that DMS supports.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus
  • Operation Id: ResourceSkus_ListSkus
public static Azure.AsyncPageable<Azure.ResourceManager.DataMigration.Models.ResourceSku> GetSkusResourceSkusAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSkusResourceSkusAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.Models.ResourceSku>
<Extension()>
Public Function GetSkusResourceSkusAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceSku)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ResourceSku that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to