Dela via


DataReplicationProtectedItemCollection.GetAll(CancellationToken) Method

Definition

Gets the list of protected items in the given vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/protectedItems
  • Operation Id: ProtectedItem_List
public virtual Azure.Pageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationProtectedItemResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataReplicationProtectedItemResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DataReplicationProtectedItemResource that may take multiple service requests to iterate over.

Applies to