/// <summary> /// rehydrate recovery point for restore for a BackupInstance /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group where the backup vault is present. /// </param> /// <param name='vaultName'> /// The name of the backup vault. /// </param> /// <param name='parameters'> /// Request body for operation /// </param> /// <param name='backupInstanceName'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <BackupInstancesTriggerRehydrateHeaders> TriggerRehydrateAsync(this IBackupInstancesOperations operations, string resourceGroupName, string vaultName, AzureBackupRehydrationRequest parameters, string backupInstanceName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.TriggerRehydrateWithHttpMessagesAsync(resourceGroupName, vaultName, parameters, backupInstanceName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Headers); } }