ReplicationProtectionIntentCollection.GetAll Method

Definition

Gets the list of ASR replication protection intent objects in the vault.

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

Parameters

skipToken
String

The pagination token.

takeToken
String

The page size.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to