Share via


BackupCrrJobDetailsOperationsExtensions.GetAsync Method

Definition

Get CRR job details from target region.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.JobResource> GetAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.IBackupCrrJobDetailsOperations operations, string azureRegion, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrrJobRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.IBackupCrrJobDetailsOperations * string * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.CrrJobRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.JobResource>
<Extension()>
Public Function GetAsync (operations As IBackupCrrJobDetailsOperations, azureRegion As String, parameters As CrrJobRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobResource)

Parameters

operations
IBackupCrrJobDetailsOperations

The operations group for this extension method.

azureRegion
String

Azure region to hit Api

parameters
CrrJobRequest

CRR Job request

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to