ServiceServiceTaskCollection.GetAll(String, CancellationToken) メソッド

定義

サービス リソースは、Database Migration Serviceを表す最上位レベルのリソースです。 このメソッドは、サービス リソースが所有するサービス レベル タスクの一覧を返します。 一部のタスクの状態が不明である場合があります。これは、そのタスクの状態のクエリ中にエラーが発生したことを示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks
  • 操作IdServiceTasks_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)

パラメーター

taskType
String

タスクの種類でタスクをフィルター処理します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の ServiceServiceTaskResource サービス要求を受け取る可能性がある のコレクション。

適用対象