Share via


DataProtectionBackupExtensions.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 static Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource> GetSecondaryRecoveryPoints (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataProtectionBackup.Models.FetchSecondaryRPsRequestContent content, string filter = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSecondaryRecoveryPoints : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.FetchSecondaryRPsRequestContent * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource>
<Extension()>
Public Function GetSecondaryRecoveryPoints (resourceGroupResource As ResourceGroupResource, 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

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

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

resourceGroupResource or content is null.

Applies to