Udostępnij za pośrednictwem


CrossRegionRestoreOperationsExtensions.TriggerAsync Method

Definition

Restores the specified backed up data in a different region as compared to where the data is backed up.

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

Parameters

operations
ICrossRegionRestoreOperations

The operations group for this extension method.

azureRegion
String

Azure region to hit Api

parameters
CrossRegionRestoreRequest

resource cross region restore request

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to