From 3ffe44c70df131a4b075768b3e0fd02b9a9c5c5a Mon Sep 17 00:00:00 2001
From: Thomas Stringer
Date: Wed, 19 Jul 2017 17:05:46 -0400
Subject: [PATCH] remove param vm_id in VirtualMachine constructor call
(#22974)
---
lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py
index b9ea7a9d779..e8bc76f1677 100644
--- a/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py
+++ b/lib/ansible/modules/cloud/azure/azure_rm_virtualmachine.py
@@ -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']