mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
remove param vm_id in VirtualMachine constructor call (#22974)
This commit is contained in:
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']
|
||||
|
||||
Reference in New Issue
Block a user