The SDDC Manager module of the VMware Cloud Foundation SDK provides methods to manage and monitor the physical and virtual infrastructure deployed as part of a VMware Cloud Foundation deployment
Getting started
Prerequisites
- Supported Python versions: 3.10, 3.11, 3.12, 3.13 and 3.14
Install the package
pip install vmware-sddc-manager
Connect to a SDDC Manager Server
import requests
import urllib3
from vmware.vapi.sddc_manager.client import create_sddc_manager_client
session = requests.session()
# Disable cert verification for demo purpose.
# This is not recommended in a production environment.
session.verify = False
# Connect to a SDDC Manager Server using username and password
sddc_client = create_sddc_manager_client(server='<sddc_manager_ip>', username='<username>', password='<password>', session=session)
# Get Domains
sddc_client.v1.Domains.get_domains()
Output in a Python Interpreter:
>>> import requests
>>> import urllib3
>>> from vmware.vapi.sddc_manager.client import create_sddc_manager_client
>>> session = requests.session()
>>> session.verify = False
>>> urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
>>> sddc_client = create_sddc_manager_client(server='<sddc_manager_ip>', username='<username>', password='<password>', session=session)
>>> sddc_client.v1.Domains.get_domains()
Domains Info :
{elements : [Domain(id='7277ed7e-3239-438b-b7c7-a735f1293c08', name='sddcId-1001', org_name='COM', status='ACTIVE', upgrade_state='AVAILABLE', upgrade_status=UpgradeStatus(status='UP_TO_DATE', completed_resources=None, total_resources=None), type='MANAGEMENT', vra_integration_status=None, vrops_integration_status=None
...}
NOTE: If you are using Bash, be sure to use single quote for username and password to preserve the values. If you use double quote, you will have to escape special characters, such as "$". See Bash manual
Release files for vmware-sddc-manager 9.1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vmware_sddc_manager-9.1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / vmware_sddc_manager-9.1.1.0-py3-none-any.whl
| Download URL | vmware_sddc_manager-9.1.1.0-py3-none-any.whl |
|---|---|
| Size | 391.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61f2d4c9af538cba60b342d424ce20ea092b2dea48c8d88a76294e58318c780d
|
|
BLAKE2b-256 checksum How to use checksums |
87f1663881fea3a0c93bfa8c9ff2db774b3a9199c7d212f97a79ea7467bd61bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|