The azure portal has option to delete list of selected resources in a resource group with single button click..
How to perform the same operation using azure python SDK, instead of deleting the vm's one by one.
Asked
Active
Viewed 408 times
0

Andy Li-MSFT
- 28,712
- 2
- 33
- 55

tamil
- 381
- 1
- 2
- 9
1 Answers
1
The batch endpoint is Portal only and is not supported by SDKs. This issue for discussion: https://github.com/Azure/msrestazure-for-python/issues/74
(I work at MS in the Python team)

Laurent Mazuel
- 3,422
- 13
- 27
-
Okay,Could you refer me to the document where I can achieve the same through the REST API. – tamil Sep 25 '18 at 05:10
-
As discussed in the issue I linked, this endpoint is to not documented and not officially supported. You may want to open a support ticket on your Azure portal asking about this. – Laurent Mazuel Sep 26 '18 at 15:39