Useful CloudShell Automation API Code Examples
This section provides different code examples that can be used for reference.
📄️ Starting an API Session Outside of CloudShell
This script starts an API session from your IDE. This is useful for performing admin tasks outside of the scope of the blueprint or sandbox.
📄️ Performing Actions on Resources in the Sandbox
Adding resources, connecting L1 routes and setting live status
📄️ Finding Blueprints Containing a Specific Resource, Service or App
The following Python scripts utilize the CloudShell Automation API to print a list of the blueprints that have a specific component and should be run from an IDE that can access the Quali Server.
📄️ Editing Apps in a Sandbox
The EditAppsInReservation API enables you to programmatically modify an App in a sandbox. Generally, the classic flow is to call this API using CloudShell Automation API during the Preparation phase of the setup script (before the Provisioning phase that deploys the Apps).