Installation
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) sandbox.stop_sandbox(sandbox_id)
- 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
Metadata
Release files for cloudshell-sandboxapi-wrapper 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloudshell_sandboxapi_wrapper-1.0.0.tar.gz | 3.9 kB | Details |
Release files / cloudshell_sandboxapi_wrapper-1.0.0.tar.gz
| Download URL | cloudshell_sandboxapi_wrapper-1.0.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5afe025327d30b4ed5fac8bcc4b5ec1d0fe95da0ce3fee4d8bf08b7200f40b35
|
|
BLAKE2b-256 checksum How to use checksums |
48b4a2731217adc0d3848fa70b6d8339e3b095641b854f7a311f2f087b8a108d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|