https://pulumi.com logo
Title
t

thousands-lizard-52998

11/23/2022, 9:06 AM
👋 Hi, as i'm doing migration from azure classic to azure native in python. What will be the deletion options for compute VM in azure native which is similar to _delete_data_disks_on_termination_ & _delete_os_disk_on_termination_ which is part of azure classic. Someone can help on this much appreciated.
m

many-telephone-49025

11/23/2022, 2:24 PM
Hi @thousands-lizard-52998, Must be
DeleteOption
on the different subresources like Disk etc. See -> https://www.pulumi.com/registry/packages/azure-native/api-docs/compute/virtualmachine
t

thousands-lizard-52998

11/24/2022, 5:13 AM
Thanks for your response, i'll go through the link.