Open jakevc opened 1 year ago
Thank you for your feedback. This has been routed to the support team for assistance.
@jakevc thanks for your issue. We'll investigate and get back to you as soon as possible.
This advice for example, seems to be inaccurate because PoolAddParameter class doesn't actually have an identity field.
Ohh this is a duplicate of this other issue I guess: https://github.com/Azure/azure-sdk-for-python/issues/21811
But still should really be included in this SDK
Very cumbersome to have to use two different Batch clients
@wiboris could you help to answer the question?
Hello @xiangyan99,
Do we have solution yet or any tentative dates for this implementation to be available as part of the package ? Thank You, Renjith R
Ping here again @wiboris @cRui861 @paterasMSFT
@jakevc Thanks for raising this issue. I am trying to set up a Batch pool able to pull from ACR but the fact that PoolAddParameter does not have any identity field makes it very cumbersome. @wiboris & Team, please add such a field in the Python SDK as it is part of the equivalent .NET class. Many thanks!
@datatrigger I ended up refactoring my code so that the pool creation step uses the azure.mgmt.batch,
The Pool class in this package does support passing a managed identity:
And then for the other job and task operations I use azure.batch
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @mksuni @bgklein @mscurrell @cRui861 @paterasMSFT @gingi @dpwatrous.
Bump, this is super valuable for me as well - having to use two different clients is extremely cumbersome.
I think the underlying reason for this is that not all components of azure batch are supported by ARM yet. Basically, the problem runs deep.
Please update the docs to reflect this workaround until a cleaner solution is implemented.
Is your feature request related to a problem? Please describe.
I am unable to find out how to add a user assigned managed identity to the azure batch pool via the python SDK
Describe the solution you'd like
I want to be able to add a user assigned managed identity for the azure batch pool when adding a pool
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.