vsphere-automation-sdk-java
vsphere-automation-sdk-java copied to clipboard
Developer APIs for SDDC stretched cluster
- [x] I am using the latest SDK version
- [x] This API is compatible with my vCenter version (You can get the info from the Java API Reference Documentation)
- [x] I have searched existing issues
Environment
- sdk binding version:
- Java version:
-
vSphere version:
-
Operating System/Shell (used to run SDK-based apps):
Steps or code snippet to reproduce
Actual behavior
Expected behavior
I am currently looking for a way to provision stretched cluster SDDCs and perform operations such as Add/Remove host, Add/remove cluster etc through APIs. Currently, there's a way to provision stretched cluster SDDC only through vmc console UI
Hi, you can find the latest vmc APIs here https://code.vmware.com/apis/603/vmware-cloud-on-aws#/sddc. Let me know if you still need help.
I wanted to clarify that I am not looking for documentation on VMC APIs. Presently, the only way to provision a stretched cluster SDDC is through the VMC Console UI
The API for provisioning SDDC has the following request payload when trying to provision a stretched cluster through UI. I got the payload from the network call made in the developer console of firefox browser when I provisioned a stretched cluster SDDC through vmc console UI:
{
"name":"testStretchCluster",
"num_hosts":6,
"provider":"AWS",
"deployment_type":"MultiAZ",
"region":"
This does not look any different from trying to provision a multiAZ SDDC. It looks like creating a stretched cluster SDDC calls some other API in the background. What's the difference in payload when provisioning a multi-AZ SDDC versus stretched cluster SDDC?
It seems like there are no developer APIs available that deals with any stretched cluster SDDC operations. If I am wrong, could you point me to the right resource? If not, please consider this as a feature request