'Get the VM with expanded instanceView
:return: VirtualMachine object'

def get_vm(self):

    try:
        vm = self.compute_client.virtual_machines.get(self.resource_group, self.name, expand='instanceview')
        return vm
    except Exception as exc:
        self.fail('Error    getting    virtual    machine    (0)    -    {1}'.format(self.name, str(exc)))
