• This topic has 2 replies, 2 voices, and was last updated February 7, 2023 by Derek L.

Viewing IPv4 Details of a Protected VM

  • Is there a way for the API to return network details for protected VMs? Specifically I want to see information on whether or not the IPv4 address is DHCP or statically assigned for the failover and failover test networks, and if statically assigned, what the address is. I’ve looked on the swagger page and nothing seems to stand out in terms of the JSON returned.

    ZertoAPIWrapper has a command “Export-ZertoVmNicSetting” which exports all the protected VMs and their configured NIC settings, including DHCP or Static information.

    https://github.com/ZertoPublic/ZertoApiWrapper

     

    Bingo. I had looked at the API wrapper, but was looking all over the set of Get-Zerto* commands. Thanks for the heads up! Wish it could return the data in the shell instead of CSV though. Would be easier to use and manipulate.

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