2 Replies Latest reply on Jun 6, 2019 7:53 AM by dtaliafe

    vrops rest api, how to get a list of virtual machines including the powered off ones

    fc989 Novice

      Hi,

       

      I am new to using the vrops rest api.  I am trying to get a list of vm's for a host including the powered off ones.  What I've noticed is that it only gives the running vm's.  I would start by

      getting the resources for the host via the resourceid, for example,  "https://vrops_server/suite-api/api/resources/id_number", then to get the vm's, I would use the "relationsofResource" link that it returned.  I see all the running vm's but not the powered off ones.  Would anyone know how to achieve this?

       

      thanks in advance,