ServiceServiceTaskCollection.GetAll(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Pageable<Azure.ResourceManager.DataMigration.ServiceServiceTaskResource> GetAll (string taskType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.ServiceServiceTaskResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.ServiceServiceTaskResource>
Public Overridable Function GetAll (Optional taskType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServiceServiceTaskResource)
Parameters
- taskType
- String
Filter tasks by task type.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ServiceServiceTaskResource that may take multiple service requests to iterate over.