Skip to content

Commit ed7dd81

Browse files
committed
readme update
1 parent e0b294a commit ed7dd81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.MD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ pip install cloudshell-sandbox-rest
1717
### Basic Usage
1818
```python
1919
from cloudshell.sandbox_rest.sandbox_api import SandboxRestApiSession
20+
21+
2022
api = SandboxRestApiSession(host="localhost", username="admin", password="admin", domain="Global")
2123
start_response = api.start_sandbox(blueprint_id="<MY_BLUEPRINT_NAME>", sandbox_name="My Rest Api Blueprint")
2224
sandbox_id = start_response["id"]
2325
components_response = api.get_sandbox_components(sandbox_id)
26+
2427
print(f"total components in sandbox: {len(components_response)}")
2528
```
2629

0 commit comments

Comments
 (0)