How to get linux machine name from a subscription using azurerm_virtual_machine

how to get all linux machine names which are created from a subscription using data “azurerm_virtual_machine”