Skip to main content

ConfigApplicationResp

Config Application Resp resource for Zscaler Digital Experience.

Resource operations

This resource supports the following standard methods: load(), 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 ConfigApplicationResp
logging.getLogger('zssdk.zdx').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 ConfigApplicationResp
resource = session.zdx.ConfigApplicationResp(id="your-resource-id")
resource.load()
print(resource)

# Debug output shows HTTP request/response details

Identifiers​

NameTypeDescription
idstringUnique identifier

Actions​

activate_application()​

Activates a specific application by its ID.

Returns: ConfigApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp(id="your-resource-id")
result = resource.activate_application()
print(result)

activate_predefined_application()​

Activates a specific predefined application by its name.

Parameters:

NameTypeRequiredDescription
appstringYes-

Returns: PredefinedApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp()
result = resource.activate_predefined_application(app="value")
print(result)

create_application()​

Creates a new application. The type of application determines the required fields in the request body.

Parameters:

NameTypeRequiredDescription
activebooleanNo-
collectionEntityNo-
descriptionstringNo-
namestringNo-
rum_detailsRUMDetailsNo-
typestringYes-

Returns: ConfigApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp()
result = resource.create_application(type="value")
print(result)

deactivate_application()​

Deactivates a specific application by its ID.

Returns: ConfigApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp(id="your-resource-id")
result = resource.deactivate_application()
print(result)

deactivate_predefined_application()​

Deactivates a specific predefined application by its name.

Parameters:

NameTypeRequiredDescription
appstringYes-

Returns: PredefinedApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp()
result = resource.deactivate_predefined_application(app="value")
print(result)

delete()​

Deletes a custom application by its ID. Predefined applications cannot be deleted.

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

Example:

resource = session.zdx.ConfigApplicationResp(id="your-resource-id")
resource.delete()

delete_predefined_application()​

Deletes a predefined application by its name. This is generally not allowed and will result in a 403 Forbidden error.

Parameters:

NameTypeRequiredDescription
appstringYes-
forcebooleanNo-

Example:

resource = session.zdx.ConfigApplicationResp()
result = resource.delete_predefined_application(app="value")
print(result)

get_application_status()​

Retrieves the current status (active or inactive) of a specific application by its ID.

Returns: StatusResponse

Example:

resource = session.zdx.ConfigApplicationResp(id="your-resource-id")
result = resource.get_application_status()
print(result)

get_predefined_application()​

Retrieves detailed information for a specific predefined application by its name.

Parameters:

NameTypeRequiredDescription
appstringYes-

Returns: PredefinedApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp()
result = resource.get_predefined_application(app="value")
print(result)

get_predefined_application_status()​

Retrieves the current status (active or inactive) of a specific predefined application by its name.

Parameters:

NameTypeRequiredDescription
appstringYes-

Returns: StatusResponse

Example:

resource = session.zdx.ConfigApplicationResp()
result = resource.get_predefined_application_status(app="value")
print(result)

load()​

Retrieves detailed information for a specific application by its ID.

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

Returns: ConfigApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp(id="your-resource-id")
resource.load()
print(resource.name)

update_application()​

Updates the configuration of a specific application. The request body will vary based on the application type.

Parameters:

NameTypeRequiredDescription
activebooleanNo-
collectionEntityNo-
descriptionstringNo-
namestringNo-
rum_detailsRUMDetailsNo-
typestringYes-

Returns: ConfigApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp(id="your-resource-id")
result = resource.update_application(type="value")
print(result)

update_application_status()​

Updates the status of an application to either 'active' or 'inactive'.

Parameters:

NameTypeRequiredDescription
statusstringYes-

Returns: ConfigApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp(id="your-resource-id")
result = resource.update_application_status(status="value")
print(result)

update_predefined_application()​

Updates the configuration of a specific predefined application. The request body will vary based on the application type.

Parameters:

NameTypeRequiredDescription
appstringNo-
providerstringNo-
prefixstringNo-
max_packet_countintegerNo-
activebooleanNo-
collectionEntityNo-
descriptionstringNo-
namestringNo-
rum_detailsRUMDetailsNo-
typestringYes-

Returns: PredefinedApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp()
result = resource.update_predefined_application(type="value")
print(result)

update_predefined_application_status()​

Updates the status of a predefined application to either 'active' or 'inactive'.

Parameters:

NameTypeRequiredDescription
appstringYes-
statusstringYes-

Returns: ConfigApplicationResp

Example:

resource = session.zdx.ConfigApplicationResp()
result = resource.update_predefined_application_status(app="value", status="value")
print(result)

Attributes​

NameTypeRequiredDescription
activebooleanNo-
collectionEntityWrapperCollectionNo-
deletedbooleanNo-
descriptionstringNo-
idlongNo-
mod_timeintegerNo-
monitors_countMonitorCountNo-
namestringNo-
rum_detailsRUMDetailsNo-
typestringNo-