Udostępnij za pośrednictwem


DataMigrationServiceCollection.GetAll(CancellationToken) 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 resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services
  • Operation Id: Services_ListByResourceGroup
public virtual Azure.Pageable<Azure.ResourceManager.DataMigration.DataMigrationServiceResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.DataMigrationServiceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.DataMigrationServiceResource>
Public Overridable Function GetAll (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