MockableDataProtectionBackupResourceGroupResource.GetSecondaryRecoveryPointsAsync Method

Definition

Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints
  • Operation Id: FetchSecondaryRecoveryPoints_List
  • Default Api Version: 2024-04-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource> GetSecondaryRecoveryPointsAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.DataProtectionBackup.Models.FetchSecondaryRPsRequestContent content, string filter = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecondaryRecoveryPointsAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.FetchSecondaryRPsRequestContent * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource>
override this.GetSecondaryRecoveryPointsAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.FetchSecondaryRPsRequestContent * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource>
Public Overridable Function GetSecondaryRecoveryPointsAsync (location As AzureLocation, content As FetchSecondaryRPsRequestContent, Optional filter As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataProtectionBackupRecoveryPointResource)

Parameters

location
AzureLocation

The name of the Azure region.

content
FetchSecondaryRPsRequestContent

Request body for operation.

filter
String

OData filter options.

skipToken
String

skipToken Filter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

content is null.

Applies to