-
-
vCenter Folders issue with REST API
in: Scripting and APIs
Hi – I’ve got an issue with how Zerto is retrieving vCenter folders which is complicated by the REST API. I’m trying to use the REST API to retrieve the ID of a vCenter folder to create a VPG. vCenter uses hierarchical folders, but Zerto seems to only retrieves the folder name, not the […]
-
People: 2
Replies: 1 - November 12, 2016
-
Editing a running VPG
in: Scripting and APIs
I’m trying to to use the reference to changing a VPG’s name in section 7 in “Automating Zerto Virtual Replication with PowerShell & REST APIs Whitepaper” I can call the POST VPGSettings with the appropriate body to convert a VPG to a VPGSettings. However, when I commit, I get a a 400 error Unknown web […]
-
People: 1
Replies: 3 - October 16, 2022
-
VPGSettings Backup Repository ID
in: Scripting and APIs
I’m trying to work with the VPGSettings calls and am looking at the Backup part of the JSON file. How do you retrieve a Peer Sites Backup Repositories? I’m looking at retrieving the backup repository ID.
-
People: 1
Replies: 1 - December 20, 2016
-
Creating a VPG – Build 050121007
in: Scripting and APIs
I’m trying to create a VPG using REST API. Using Powershell the script keeps failing to commit when the script attempts to commit. https://192.168.4.20:9669/v1/vpgSettings Exception : System.Net.WebException: The remote server returned an error: (400) Bad Request. at Microsoft.PowerShell.Commands.WebRequestPSCmdlet. GetResponse(WebRequest request) at Microsoft.PowerShell.Commands.WebRequestPSCmdlet. ProcessRecord() TargetObject : System.Net.HttpWebRequest CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Comm […]
-
People: 3
Replies: 2 - May 13, 2017
-
vCenter Folders issue with REST API