Share via


MockableDataProtectionBackupResourceGroupResource.GetSecondaryRecoveryPoints 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.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource> GetSecondaryRecoveryPoints (Azure.Core.AzureLocation location, Azure.ResourceManager.DataProtectionBackup.Models.FetchSecondaryRPsRequestContent content, string filter = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecondaryRecoveryPoints : Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.FetchSecondaryRPsRequestContent * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource>
override this.GetSecondaryRecoveryPoints : Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.FetchSecondaryRPsRequestContent * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource>
Public Overridable Function GetSecondaryRecoveryPoints (location As AzureLocation, content As FetchSecondaryRPsRequestContent, Optional filter As String = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Exceptions

content is null.

Applies to