1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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'])
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']