• This topic has 2 replies, 2 voices, and was last updated August 28, 2019 by Neal S.

RestAPI blank result from /vpgsettings 7u2

  • This is giving me just a blank square bracket response as a result. Other commands are fine and return data /vpgs etc…

    On-premise VMware, DR to Azure. Both sites updated to 7u2.

    We are trying to be able to have a JSON file we can update and add to to automate adding VMs to a VPG or just creating a new VPG all via code as when running anMOVE to and from DR site you loose all the config ( vNet, VM Sizes, Static IPs etc..) so this can easily update these VPGs if they are changed.

    Hi Lloyd,

    Have you created a vpgsettings  object by sending a POST to https://zvm_ip:9669/v1/vpgsettings ?

    To request a new vpgsettings object, in order to create a new VPG, you can POST with an empty body.  If you then send a GET using that object, you will get a VPG template returned: https://zvm_ip:port/v1/vpgsettings/vpgSettingsIdentifier

    If you want to create a VPGsetings object to view or modify information on an existing VPG, you can POST to https://zvm_ip:9669/v1/vpgsettings with a body containing the existing VPG ID.  Example:

    {
      “VpgIdentifier”:”b030cbc3-3cd1-4a3b-9378-afd2a6e0ee88″
    }

    Once you have this object, you can GET to see information about that VPG or PUT to modify information on that object before committing it with a POST

    I would recommend viewing this document for more information on how to use this API:

    http://s3.amazonaws.com/zertodownload_docs/Latest/Zerto%20Virtual%20Replication%20Zerto%20Virtual%20Manager%20%28ZVM%29%20-%20vSphere%20Online%20Help/index.html?cb=1567010319#page/RestfulAPIs%2FAPIsIntro.2.7.html%23

     

    Neal Stearns

    Zerto Support

You must be logged in to create new topics. Click here to login