MockableDataProtectionBackupResourceGroupResource.GetCrossRegionRestoreJobsAsync 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.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET