Delen via


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

Parameters

skipToken
String

The pagination token.

takeToken
String

The page size.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to