Include computer_name in VM instance facts (#62566)

This commit is contained in:
Arvind Shyamsundar 2019-09-19 21:16:58 -07:00 committed by Yunge Zhu
parent 153a322f54
commit 41bfd2bf0e

View file

@ -221,7 +221,8 @@ class AzureRMVirtualMachineScaleSetVMInfo(AzureRMModuleBase):
'name': d.get('name', None),
'provisioning_state': d.get('provisioning_state', None),
'power_state': power_state,
'vm_id': d.get('vm_id', None)
'vm_id': d.get('vm_id', None),
'computer_name': d.get('os_profile').get('computer_name', None)
}
return d