Skip to main content

EusaStatus

Eusa Status resource for Zscaler Internet Access.

Resource operations

This resource supports the following standard methods: load(), update(). They operate on the instance state — set properties with dot notation, then call the method with no arguments.

Quick Start​

import zssdk
import logging

# Enable debug logging for EusaStatus
logging.getLogger('zssdk.zia').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",
)

# Get a specific EusaStatus
resource = session.zia.EusaStatus(id="your-resource-id")
resource.load()
print(resource)

# Debug output shows HTTP request/response details

Identifiers​

NameTypeDescription
idstringUnique identifier

Actions​

load()​

Fetches an existing EusaStatus by id. Only the id identifier is required; load() takes no other arguments.

Returns: EusaStatus

Example:

resource = session.zia.EusaStatus(id="your-resource-id")
resource.load()
print(resource)

update()​

Updates an existing EusaStatus. Call load() first, modify properties, then call update() — this method takes no arguments.

Properties for update:

NameTypeRequiredDescription
accepted_statusbooleanNo-
idintegerNo-
versionEntityReferenceYes-

Returns: EusaStatus

Example:

resource = session.zia.EusaStatus(id="your-resource-id")
resource.load()
# Modify resource attributes here, then call update()
resource.update()

Attributes​

NameTypeRequiredDescription
accepted_statusbooleanNo-
idintegerNo-
versionEntityReferenceYes-