Skip to main content

Python wrapper for CloudShell Sandbox API

Project description


pip install cloudshell_sandboxapi_wrapper

Example Usage

from cloudshell_sandboxapi_wrapper.SandboxAPI import SandboxAPI
sandbox = SandboxAPI(host=SERVER_NAME, username=USERNAME, password=PASSWORD, domain=DOMAIN, port=SERVER_PORT)
blueprints = sandbox.get_blueprints()
blueprint_id = sandbox.get_blueprint_details(blueprint_id=BLUEPRINT_NAME)['id']
sandbox_id = sandbox.start_sandbox(BLUEPRINT_NAME, PT23H, SANDBOX_NAME)

Note:Tested on cloudshell 9.3 with Python 2.7/3.7/3.8. For API details, please refer to CloudShell Sandbox API help: CloudShell Sandbox API

Project details

Download files

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

Source Distribution

cloudshell_sandboxapi_wrapper-1.0.0.tar.gz (3.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page