remove param vm_id in VirtualMachine constructor call (#22974)

This commit is contained in:
Thomas Stringer 2017-07-19 17:05:46 -04:00 committed by Sloane Hertel
parent df15583ad0
commit 3ffe44c70d

View file

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