Compartilhar via


DataReplicationProtectedItemCollection.GetAllAsync(CancellationToken) Método

Definição

Obtém a lista de itens protegidos no cofre especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems
  • IdProtectedItem_List de operação
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)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de DataReplicationProtectedItemResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a