/// <summary> /// Creates a recovery plan with the given details. /// </summary> /// <remarks> /// The operation to create a recovery plan. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='recoveryPlanName'> /// Recovery plan name. /// </param> /// <param name='input'> /// Recovery Plan creation input. /// </param> public static RecoveryPlan Create(this IReplicationRecoveryPlansOperations operations, string recoveryPlanName, CreateRecoveryPlanInput input) { return(operations.CreateAsync(recoveryPlanName, input).GetAwaiter().GetResult()); }