Share via


SiteRecoveryProtectableItemCollection.GetAll Method

Definition

Lists the protectable items in a protection container.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems
  • Operation Id: ReplicationProtectableItems_ListByReplicationProtectionContainers
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryProtectableItemResource
public virtual Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource> GetAll (string filter = default, string take = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource>
override this.GetAll : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource>
Public Overridable Function GetAll (Optional filter As String = Nothing, Optional take As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SiteRecoveryProtectableItemResource)

Parameters

filter
String

OData filter options.

take
String

take OData query parameter.

skipToken
String

skipToken OData query parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to