Skip to main content

IdmProfile

Idm Profile resource for Zscaler Internet Access.

Resource operations

This resource supports the following standard methods: load(). 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 IdmProfile
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 IdmProfile
resource = session.zia.IdmProfile(id="your-resource-id")
resource.load()
print(resource)

# Debug output shows HTTP request/response details

Identifiers​

NameTypeDescription
idstringUnique identifier

Actions​

load()​

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

Returns: IdmProfile

Example:

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

Attributes​

NameTypeRequiredDescription
hoststringNo-
idm_clientEntityReferenceNo-
last_modified_timeintegerNo-
modified_byEntityReferenceNo-
num_documentsintegerNo-
portintegerNo-
profile_descstringNo-
profile_dir_pathstringNo-
profile_idintegerYes-
profile_namestringNo-
profile_typestringNo-
schedule_dayintegerNo-
schedule_day_of_monthScheduleDayOfMonthEnumCollectionNo-
schedule_day_of_weekScheduleDayOfWeekEnumCollectionNo-
schedule_disabledbooleanNo-
schedule_timeintegerNo-
schedule_typestringNo-
upload_statusstringNo-
user_namestringNo-
versionintegerNo-
volume_of_documentslongNo-