Azure / azure-libraries-for-java

Azure Management Libraries for Java
https://docs.microsoft.com/en-us/java/azure/
MIT License
94 stars 98 forks source link

force deletion on resource group #1354

Closed weidongxu-microsoft closed 3 years ago

weidongxu-microsoft commented 3 years ago

https://github.com/Azure/azure-libraries-for-java/pull/1354/commits/a91bf8a83c6cebb815455f890968e08ab42c5ee2 is the code change.

weidongxu-microsoft commented 3 years ago

Have this been tested on local?

Yes, but no way to tell whether it is "force" or now, just see the query parameter is on url.

xseeseesee commented 3 years ago

Have this been tested on local?

Yes, but no way to tell whether it is "force" or now, just see the query parameter is on url.

Not sure if it gets supported all regions now. For compute force delete, it could throw errors when testing on unsupported regions.

weidongxu-microsoft commented 3 years ago

Have this been tested on local?

Yes, but no way to tell whether it is "force" or now, just see the query parameter is on url.

Not sure if it gets supported all regions now. For compute force delete, it could throw errors when testing on unsupported regions.

Yes, I saw that on VM delete.

But apparently this cannot be for resource group delete. This need to be successful, regardless force or not, EUAP or not. (delete is success on normal region)