remove param vm_id in VirtualMachine constructor call (#22974)
This commit is contained in:
parent
df15583ad0
commit
3ffe44c70d
1 changed files with 0 additions and 1 deletions
|
@ -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']
|
||||||
|
|
Loading…
Reference in a new issue