Skip to content

Commit d87fee5

Browse files
committed
Changed the deletion of vnet resource group
1 parent 84220ba commit d87fee5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

healthcheck/healthcheck_webapps_refarch.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ def main(tenant_id_arg, client_id_arg, client_secret_arg, subscription_id_arg, u
123123
deployment_deletion = DeployOp.delete_resourcegroup(credentials, subscription_id, resource_group_name)
124124
ct = datetime.datetime.now()
125125
print("Date time after deployment and deletion of stack:-", ct)
126+
# Delete deployment with virtual network
127+
DeployOp.delete_resourcegroup(credentials, subscription_id, resource_name_vnet)
128+
ct = datetime.datetime.now()
129+
print("Deleted the deployment which contains the virtual network:-", ct)
126130

127131
if existingVPC=='true':
128132
# Delete deployment with virtual network

0 commit comments

Comments
 (0)