DataProtectionBackupExtensions.GetSecondaryRecoveryPointsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource> GetSecondaryRecoveryPointsAsync (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 GetSecondaryRecoveryPointsAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.FetchSecondaryRPsRequestContent * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupRecoveryPointResource>
<Extension()>
Public Function GetSecondaryRecoveryPointsAsync (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 AsyncPageable(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
An async collection of DataProtectionBackupRecoveryPointResource that may take multiple service requests to iterate over.
Exceptions
resourceGroupResource
or content
is null.
Applies to
Azure SDK for .NET