Share via


DataProtectionBackupExtensions.GetCrossRegionRestoreJobsAsync Method

Definition

Fetches list of Cross Region Restore job belonging to the vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs
  • Operation Id: FetchCrossRegionRestoreJobs_List
  • Default Api Version: 2024-04-01
public static Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource> GetCrossRegionRestoreJobsAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreJobsContent content, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetCrossRegionRestoreJobsAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreJobsContent * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource>
<Extension()>
Public Function GetCrossRegionRestoreJobsAsync (resourceGroupResource As ResourceGroupResource, location As AzureLocation, content As CrossRegionRestoreJobsContent, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataProtectionBackupJobResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

location
AzureLocation

The name of the Azure region.

content
CrossRegionRestoreJobsContent

Request body for operation.

filter
String

OData filter options.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

resourceGroupResource or content is null.

Applies to