Dela via


MockableDataProtectionBackupResourceGroupResource.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 virtual Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource> GetCrossRegionRestoreJobsAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreJobsContent content, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCrossRegionRestoreJobsAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreJobsContent * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource>
override this.GetCrossRegionRestoreJobsAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreJobsContent * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource>
Public Overridable Function GetCrossRegionRestoreJobsAsync (location As AzureLocation, content As CrossRegionRestoreJobsContent, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataProtectionBackupJobResource)

Parameters

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

content is null.

Applies to