Python client for the CloudShell REST API
- Add Shell - adds a new Shell Entity (supported from CloudShell 7.2)
- Update Shell - updates an existing Shell Entity (supported from CloudShell 7.2)
- Delete Shell - removes an existing Shell Entity (supported from CloudShell 9.2)
- Get Installed Standards - gets a list of standards and matching versions installed on CloudShell (supported from CloudShell 8.1)
Install cloudshell-rest-api Python package from PyPI:
pip install cloudshell-rest-api
Make sure to include this line in the beginning of your file:
from cloudshell.rest.api import PackagingRestApiClient
Login to CloudShell:
client = PackagingRestApiClient('SERVER', 9000, 'USER', 'PASS', 'Global')
Add a new Shell to CloudShell:
client.add_shell('work//NutShell.zip')
- Free software: Apache Software License 2.0