Skip to main content

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

Source code

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vmware_sddc_manager-9.1.1.0-py3-none-any.whl (391.3 kB view details)

Uploaded Python 3

File details

Details for the file vmware_sddc_manager-9.1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vmware_sddc_manager-9.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61f2d4c9af538cba60b342d424ce20ea092b2dea48c8d88a76294e58318c780d
MD5 cd473d4d9152bf7ac0dbc51f76493b24
BLAKE2b-256 87f1663881fea3a0c93bfa8c9ff2db774b3a9199c7d212f97a79ea7467bd61bd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

9.1.1.0 This release

1 file

9.1.0.0

1 file

9.0.0.0

1 file

0.0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page