Based on the documentation to create a client to vCenter server is done using create_vsphere_client helper function. The problem is that this Helper function doesn’t seem to provide methods for all the vSphere Automation REST API, like Namespaces Managmement client documented under – https://vmware.github.io/vsphere-automation-sdk-python/vsphere/188.8.131.52/com.vmware.vcenter.html#module-com.vmware.vcenter.namespace_management_client.
My question is what is the best way to initilise the “stubs” for this endpoint and use the functionlity to manage Kubernetes in vSphere 7.0
Also is there documentation on how to properly initialise additional stubs if they are not part of the helper function?
I’ve managed to overcome this by accessing some of the private properties of VsphereClient class. Something in the line of: