Share via


DataMigrationServiceResource.GetSkus(CancellationToken) Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. The skus action returns the list of SKUs that a service resource can be updated to.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus
  • Operation Id: Services_ListSkus
public virtual Azure.Pageable<Azure.ResourceManager.DataMigration.Models.AvailableServiceSku> GetSkus (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSkus : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.Models.AvailableServiceSku>
override this.GetSkus : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.Models.AvailableServiceSku>
Public Overridable Function GetSkus (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AvailableServiceSku)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to