remove param vm_id in VirtualMachine constructor call (#22974)

pull/27084/head
Thomas Stringer 7 years ago committed by Sloane Hertel
parent df15583ad0
commit 3ffe44c70d

@ -789,7 +789,6 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
vhd = VirtualHardDisk(uri=vm_dict['properties']['storageProfile']['osDisk']['vhd']['uri'])
vm_resource = VirtualMachine(
vm_dict['location'],
vm_id=vm_dict['properties']['vmId'],
os_profile=OSProfile(
admin_username=vm_dict['properties']['osProfile']['adminUsername'],
computer_name=vm_dict['properties']['osProfile']['computerName']

Loading…
Cancel
Save