sunny7712 commented on issue #9741:
URL: https://github.com/apache/airflow/issues/9741#issuecomment-4161425401

   @feluelle I was going through `azure-batch` and `azure-mgmt-batch` and they 
are not exactly similar to replace one with another. `azure-batch` is a data 
plane SDK used to manage tasks, jobs etc. directly on the batch account. This 
is exactly how it's being used in
   
   
https://github.com/apache/airflow/blob/main/providers/microsoft/azure/src/airflow/providers/microsoft/azure/operators/batch.py
   
https://github.com/apache/airflow/blob/main/providers/microsoft/azure/src/airflow/providers/microsoft/azure/hooks/batch.py
   
   
   Whereas `azure-mgmt-batch` is a control plane SDK used to manage the batch 
accounts. This SDK does not have any APIs to create or delete jobs and tasks.
   
   
https://learn.microsoft.com/en-us/python/api/azure-mgmt-batch/azure.mgmt.batch?view=azure-python
   
   
https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch?view=azure-python
   
   
   
   So, essentially what I am trying to say is both are different and cannot be 
replaced directly. I would love your guidance on this. Please let me know if I 
am missing anything.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to