Megosztás a következőn keresztül:


ServiceServiceTaskCollection.GetAllAsync(String, CancellationToken) Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of service level tasks owned by a service resource. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks
  • Operation Id: ServiceTasks_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.DataMigration.ServiceServiceTaskResource> GetAllAsync (string taskType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.ServiceServiceTaskResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.ServiceServiceTaskResource>
Public Overridable Function GetAllAsync (Optional taskType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceServiceTaskResource)

Parameters

taskType
String

Filter tasks by task type.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to