Image
Image resource for Zscaler Cloud & Branch Connector.
Resource operations
This resource does not support standard CRUDL methods. Each action listed below is a custom action that takes explicit keyword arguments and returns a value.
Quick Start
import zssdk
import logging
# Enable debug logging for Image
logging.getLogger('zssdk.ztw').setLevel(logging.DEBUG)
logging.basicConfig(level=logging.DEBUG)
session = zssdk.Session(
vanity_domain="your-vanity-domain",
client_id="your-client-id",
client_secret="your-client-secret",
)
# Call get_next_build_version on Image
resource = session.ztw.Image()
result = resource.get_next_build_version(type="value")
print(result)
# Debug output shows HTTP request/response details
Actions
get_next_build_version()
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | - |
Returns: BuildVersion
Example:
resource = session.ztw.Image()
result = resource.get_next_build_version(type="value")
print(result)
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | - |
name | string | Yes | - |
type | string | Yes | - |
version | string | No | - |
path | string | Yes | - |
download_url | string | Yes | - |
release_notes_url | string | No | - |
release_type | string | No | - |
deleted | boolean | No | - |
created_at | long | No | - |
created_by | integer | No | - |
Related
- Image - Data structure definition
- Logging guide - enable verbose logs while debugging this resource