def detach_model(vmssvm_model, lun):
data_disks = vmssvm_model['<STR_LIT>']['<STR_LIT>']['<STR_LIT>']<EOL>data_disks[:] = [disk for disk in data_disks if disk.get('<STR_LIT>') != lun]<EOL>vmssvm_model['<STR_LIT>']['<STR_LIT>']['<STR_LIT>'] = data_disks<EOL>return vmssvm_model<EOL>
Detach a data disk from a VMSS VM model