Skip to main content

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:

NameTypeRequiredDescription
typestringYes-

Returns: BuildVersion

Example:

resource = session.ztw.Image()
result = resource.get_next_build_version(type="value")
print(result)

Attributes​

NameTypeRequiredDescription
idintegerYes-
namestringYes-
typestringYes-
versionstringNo-
pathstringYes-
download_urlstringYes-
release_notes_urlstringNo-
release_typestringNo-
deletedbooleanNo-
created_atlongNo-
created_byintegerNo-
  • Image - Data structure definition
  • Logging guide - enable verbose logs while debugging this resource