Skip to main content

ApplicationProfile

Application Profile resource for Zscaler Client Connector.

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 ApplicationProfile
logging.getLogger('zssdk.zcc').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 ApplicationProfile
resource = session.zcc.ApplicationProfile(id="your-resource-id")
resource.load()
print(resource)

# Debug output shows HTTP request/response details

Identifiers​

NameTypeDescription
idstringUnique identifier

Actions​

load()​

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

Returns: ApplicationProfile

Example:

resource = session.zcc.ApplicationProfile(id="your-resource-id")
resource.load()
print(resource.name)

update()​

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

Properties for update:

NameTypeRequiredDescription
descriptionstringNo-
pac_urlstringNo-
activeintegerNo-
rule_orderintegerNo-
log_modeintegerNo-
log_levelintegerNo-
log_file_sizeintegerNo-
reauth_periodstringNo-
reactivate_web_security_minutesstringNo-
highlight_active_controlintegerNo-
send_disable_service_reasonintegerNo-
enable_device_groupsintegerNo-
groupsGroupWrapperCollectionNo-
device_groupsDeviceGroupWrapperCollectionNo-
on_net_policyForwardingProfileNo-
notification_template_contractNotificationTemplateNo-
notification_template_idlongNo-
policy_tokenstringNo-
tunnel_zapp_trafficintegerNo-
group_allintegerNo-
usersUserWrapperCollectionNo-
policy_extensionPolicyExtensionNo-
disaster_recoveryDisasterRecoveryNo-
zia_posture_configZIAPostureProfileNo-
device_typestringNo-
group_idsstringCollectionNo-
device_group_idsstringCollectionNo-
user_idsstringCollectionNo-
bypass_app_idsstringCollectionNo-
app_service_idsstringCollectionNo-
bypass_custom_app_idsstringCollectionNo-
bypass_appsAppIdentityWrapperCollectionNo-
bypass_custom_appsCustomAppWrapperCollectionNo-
app_servicesAppServiceWrapperCollectionNo-

Example:

resource = session.zcc.ApplicationProfile(id="your-resource-id")
resource.load()
resource.name = "Updated value"
resource.update()

Attributes​

NameTypeRequiredDescription
idlongNo-
namestringNo-
descriptionstringNo-
pac_urlstringNo-
activeintegerNo-
rule_orderintegerNo-
log_modeintegerNo-
log_levelintegerNo-
log_file_sizeintegerNo-
reauth_periodstringNo-
reactivate_web_security_minutesstringNo-
highlight_active_controlintegerNo-
send_disable_service_reasonintegerNo-
enable_device_groupsintegerNo-
groupsGroupWrapperCollectionNo-
device_groupsDeviceGroupWrapperCollectionNo-
on_net_policyForwardingProfileNo-
notification_template_contractNotificationTemplateNo-
notification_template_idlongNo-
policy_tokenstringNo-
tunnel_zapp_trafficintegerNo-
group_allintegerNo-
usersUserWrapperCollectionNo-
policy_extensionPolicyExtensionNo-
disaster_recoveryDisasterRecoveryNo-
zia_posture_configZIAPostureProfileNo-
device_typestringNo-
group_idsstringCollectionNo-
device_group_idsstringCollectionNo-
user_idsstringCollectionNo-
bypass_app_idsstringCollectionNo-
app_service_idsstringCollectionNo-
bypass_custom_app_idsstringCollectionNo-
bypass_appsAppIdentityWrapperCollectionNo-
bypass_custom_appsCustomAppWrapperCollectionNo-
app_servicesAppServiceWrapperCollectionNo-