SiteRecoveryProtectableItemCollection.GetAllAsync 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.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource> GetAllAsync (string filter = default, string take = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource>
override this.GetAllAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryProtectableItemResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional take As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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

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

Applies to