MockableDataProtectionBackupResourceGroupResource.GetCrossRegionRestoreJobs 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.
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.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource> GetCrossRegionRestoreJobs (Azure.Core.AzureLocation location, Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreJobsContent content, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCrossRegionRestoreJobs : Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreJobsContent * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource>
override this.GetCrossRegionRestoreJobs : Azure.Core.AzureLocation * Azure.ResourceManager.DataProtectionBackup.Models.CrossRegionRestoreJobsContent * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataProtectionBackup.DataProtectionBackupJobResource>
Public Overridable Function GetCrossRegionRestoreJobs (location As AzureLocation, content As CrossRegionRestoreJobsContent, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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
A collection of DataProtectionBackupJobResource that may take multiple service requests to iterate over.
Exceptions
content
is null.