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
| Name | Type | Description |
|---|---|---|
id | string | Unique 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
| Name | Type | Required | Description |
|---|---|---|---|
host | string | No | - |
idm_client | EntityReference | No | - |
last_modified_time | integer | No | - |
modified_by | EntityReference | No | - |
num_documents | integer | No | - |
port | integer | No | - |
profile_desc | string | No | - |
profile_dir_path | string | No | - |
profile_id | integer | Yes | - |
profile_name | string | No | - |
profile_type | string | No | - |
schedule_day | integer | No | - |
schedule_day_of_month | ScheduleDayOfMonthEnumCollection | No | - |
schedule_day_of_week | ScheduleDayOfWeekEnumCollection | No | - |
schedule_disabled | boolean | No | - |
schedule_time | integer | No | - |
schedule_type | string | No | - |
upload_status | string | No | - |
user_name | string | No | - |
version | integer | No | - |
volume_of_documents | long | No | - |
Related
- IdmProfile - Data structure definition
- Logging guide - enable verbose logs while debugging this resource