Share via


DataMigrationExtensions.GetSkusResourceSkus 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.Pageable<Azure.ResourceManager.DataMigration.Models.ResourceSku> GetSkusResourceSkus (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSkusResourceSkus : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.Models.ResourceSku>
<Extension()>
Public Function GetSkusResourceSkus (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ResourceSku)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to