DataReplicationProtectedItemCollection.GetAllAsync(CancellationToken) メソッド

定義

指定されたコンテナー内の保護された項目の一覧を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems
  • 操作IdProtectedItem_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataReplicationProtectedItemResource)

パラメーター

cancellationToken
CancellationToken

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

戻り値

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

適用対象