Skip to main content

DDILConfig

D D I L Config resource for Zscaler Private Access.

Resource operations

This resource supports the following standard methods: create(), load(), update(), delete(). They operate on the instance state — set properties with dot notation, then call the method with no arguments. Any other 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 DDILConfig
logging.getLogger('zssdk.zpa').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 DDILConfig
resource = session.zpa.DDILConfig(id="your-resource-id")
resource.load()
print(resource)

# Debug output shows HTTP request/response details

Identifiers​

NameTypeDescription
idstringUnique identifier

Actions​

create()​

Creates a new DDILConfig. Set properties on the resource instance, then call create() — this method takes no arguments.

Properties for creation:

NameTypeRequiredDescription
customer_idlongYes-
offline_domainstringNo-
meta_dataServiceProviderNo-
new_user_supportbooleanNo-
sitec_preferredbooleanNo-
max_allowed_down_timelongNo-
max_allowed_down_time_unitstringNo-
max_allowed_switch_timelongNo-
max_allowed_switch_time_unitstringNo-
idp_login_urlstringNo-
idp_certstringNo-
idp_entity_idstringNo-
switch_time_enabledbooleanNo-
use_existing_idpbooleanNo-
restriction_typestringNo-
backup_enabledbooleanNo-
backup_basedirstringNo-
backup_schedule_typestringNo-
backup_schedule_valuestringNo-
backup_max_allowed_numintegerNo-
site_SP_cert_idstringNo-
ba_auth_domain_cert_idstringNo-
encrypt_saml_responsebooleanNo-
read_onlybooleanNo-
zscaler_managedbooleanNo-

Returns: DDILConfig

Example:

resource = session.zpa.DDILConfig()
resource.customer_id = "resource-id"
resource.create()
print(f"Created with ID: {resource.id}")

delete()​

Deletes a DDILConfig by id. Only the id identifier is required; delete() takes no other arguments.

Example:

resource = session.zpa.DDILConfig(id="your-resource-id")
resource.delete()

download_meta_data()​

Parameters:

NameTypeRequiredDescription
customer_idlongYes-

Example:

resource = session.zpa.DDILConfig()
result = resource.download_meta_data(customer_id=3600)
print(result)

download_SP_certificate()​

Parameters:

NameTypeRequiredDescription
customer_idlongYes-

Example:

resource = session.zpa.DDILConfig()
result = resource.download_SP_certificate(customer_id=3600)
print(result)

get_all_ddil_config()​

Parameters:

NameTypeRequiredDescription
customer_idlongYes-

Returns: DDILConfig

Example:

resource = session.zpa.DDILConfig()
result = resource.get_all_ddil_config(customer_id=3600)
print(result)

load()​

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

Returns: DDILConfig

Example:

resource = session.zpa.DDILConfig(id="your-resource-id")
resource.load()
print(resource.modified_by)

update()​

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

Properties for update:

NameTypeRequiredDescription
customer_idlongYes-
offline_domainstringNo-
meta_dataServiceProviderNo-
new_user_supportbooleanNo-
sitec_preferredbooleanNo-
max_allowed_down_timelongNo-
max_allowed_down_time_unitstringNo-
max_allowed_switch_timelongNo-
max_allowed_switch_time_unitstringNo-
idp_login_urlstringNo-
idp_certstringNo-
idp_entity_idstringNo-
switch_time_enabledbooleanNo-
use_existing_idpbooleanNo-
restriction_typestringNo-
backup_enabledbooleanNo-
backup_basedirstringNo-
backup_schedule_typestringNo-
backup_schedule_valuestringNo-
backup_max_allowed_numintegerNo-
site_SP_cert_idstringNo-
ba_auth_domain_cert_idstringNo-
encrypt_saml_responsebooleanNo-
read_onlybooleanNo-
zscaler_managedbooleanNo-

Returns: DDILConfig

Example:

resource = session.zpa.DDILConfig(id="your-resource-id")
resource.load()
resource.modified_by = "Updated value"
resource.update()

Attributes​

NameTypeRequiredDescription
modified_timeintegerNo-
creation_timeintegerNo-
modified_bystringNo-
idstringNo-
offline_domainstringNo-
sitesp_signing_certificatestringNo-
sitesp_signing_private_keystringNo-
sitesp_certificatestringNo-
sitesp_private_keystringNo-
sitesp_CA_certificatestringNo-
sitesp_CA_private_keystringNo-
meta_dataServiceProviderNo-
user_idps_meta_dataServiceProviderWrapperCollectionNo-
new_user_supportbooleanNo-
sitec_preferredbooleanNo-
max_allowed_down_timelongNo-
max_allowed_down_time_unitstringNo-
max_allowed_switch_timelongNo-
max_allowed_switch_time_unitstringNo-
idp_login_urlstringNo-
idp_certstringNo-
idp_entity_idstringNo-
switch_time_enabledbooleanNo-
use_existing_idpbooleanNo-
restriction_typestringNo-
backup_enabledbooleanNo-
backup_basedirstringNo-
backup_schedule_typestringNo-
backup_schedule_valuestringNo-
backup_max_allowed_numintegerNo-
site_SP_cert_idstringNo-
site_SP_cert_namestringNo-
ba_auth_domain_cert_idstringNo-
ba_auth_domain_cert_namestringNo-
encrypt_saml_responsebooleanNo-
sitesp_encryption_certificatestringNo-
read_onlybooleanNo-
zscaler_managedbooleanNo-