共用方式為


DataMigrationServiceResource.GetSkusAsync(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.AsyncPageable<Azure.ResourceManager.DataMigration.Models.AvailableServiceSku> GetSkusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.Models.AvailableServiceSku>
override this.GetSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.Models.AvailableServiceSku>
Public Overridable Function GetSkusAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AvailableServiceSku)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to