Udostępnij za pośrednictwem


MockableDataMigrationSubscriptionResource.GetDataMigrationServices Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of service resources in a subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to