Skip to main content

PredefinedAppMonitorResp

Predefined App Monitor Resp resource for Zscaler Digital Experience.

Resource operations

This resource does not support standard CRUDL methods. Each 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 PredefinedAppMonitorResp
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",
)

# Call activate_predefined_app_monitor on PredefinedAppMonitorResp
resource = session.zdx.PredefinedAppMonitorResp()
result = resource.activate_predefined_app_monitor(id=3600, app="value")
print(result)

# Debug output shows HTTP request/response details

Actions​

activate_predefined_app_monitor()​

Parameters:

NameTypeRequiredDescription
idintegerYes-
appstringYes-
forcebooleanNo-

Returns: StatusResponse

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.activate_predefined_app_monitor(id=3600, app="value")
print(result)

create_predefined_app_monitor()​

Creates a new monitor for a specific application.

Parameters:

NameTypeRequiredDescription
appstringNo-
namestringYes-
activebooleanYes-
typestringYes-
classstringYes-
deletedbooleanNo-
timeout_secondsintegerYes-
expires_at_timestampintegerYes-
urlstringNo-
excluded_departmentsEntityResponseWrapperCollectionNo-
excluded_devicesEntityResponseWrapperCollectionNo-
excluded_geolocationsGeoLocationResponseWrapperCollectionNo-
excluded_groupsEntityResponseWrapperCollectionNo-
excluded_location_groupsEntityResponseWrapperCollectionNo-
excluded_locationsEntityResponseWrapperCollectionNo-
excluded_usersEntityResponseWrapperCollectionNo-
on_departmentsEntityResponseWrapperCollectionNo-
on_devicesEntityResponseWrapperCollectionNo-
on_geolocationsGeoLocationResponseWrapperCollectionNo-
on_groupsEntityResponseWrapperCollectionNo-
on_location_groupsEntityResponseWrapperCollectionNo-
on_locationsEntityResponseWrapperCollectionNo-
on_usersEntityResponseWrapperCollectionNo-

Returns: PredefinedAppMonitorResp

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.create_predefined_app_monitor(name="example-name", active=True, type="value", class="value", timeout_seconds=3600, expires_at_timestamp=3600)
print(result)

deactivate_predefined_app_monitor()​

Parameters:

NameTypeRequiredDescription
idintegerYes-
appstringYes-
forcebooleanNo-

Returns: StatusResponse

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.deactivate_predefined_app_monitor(id=3600, app="value")
print(result)

delete_predefined_app_monitor()​

Parameters:

NameTypeRequiredDescription
idintegerYes-
appstringYes-

Returns: PredefinedAppMonitorResp

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.delete_predefined_app_monitor(id=3600, app="value")
print(result)

get_predefined_app_monitor()​

Parameters:

NameTypeRequiredDescription
idlongYes-
appstringYes-

Returns: PredefinedAppMonitorResp

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.get_predefined_app_monitor(id=3600, app="value")
print(result)

get_predefined_app_monitor_count()​

Parameters:

NameTypeRequiredDescription
appstringYes-
c_idlongNo-
a_idlongNo-

Returns: MonitorCountResponse

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.get_predefined_app_monitor_count(app="value")
print(result)

get_predefined_app_monitor_status()​

Parameters:

NameTypeRequiredDescription
idintegerYes-
appstringYes-

Returns: StatusResponse

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.get_predefined_app_monitor_status(id=3600, app="value")
print(result)

get_predefined_app_monitor_summary()​

Parameters:

NameTypeRequiredDescription
idintegerYes-
appstringYes-

Returns: PredefinedAppMonitorResp

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.get_predefined_app_monitor_summary(id=3600, app="value")
print(result)

update_predefined_app_monitor()​

Parameters:

NameTypeRequiredDescription
idintegerNo-
appstringNo-
forcebooleanNo-
namestringYes-
activebooleanYes-
typestringYes-
classstringYes-
deletedbooleanNo-
timeout_secondsintegerYes-
expires_at_timestampintegerYes-
urlstringNo-
excluded_departmentsEntityResponseWrapperCollectionNo-
excluded_devicesEntityResponseWrapperCollectionNo-
excluded_geolocationsGeoLocationResponseWrapperCollectionNo-
excluded_groupsEntityResponseWrapperCollectionNo-
excluded_location_groupsEntityResponseWrapperCollectionNo-
excluded_locationsEntityResponseWrapperCollectionNo-
excluded_usersEntityResponseWrapperCollectionNo-
on_departmentsEntityResponseWrapperCollectionNo-
on_devicesEntityResponseWrapperCollectionNo-
on_geolocationsGeoLocationResponseWrapperCollectionNo-
on_groupsEntityResponseWrapperCollectionNo-
on_location_groupsEntityResponseWrapperCollectionNo-
on_locationsEntityResponseWrapperCollectionNo-
on_usersEntityResponseWrapperCollectionNo-

Returns: PredefinedAppMonitorResp

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.update_predefined_app_monitor(name="example-name", active=True, type="value", class="value", timeout_seconds=3600, expires_at_timestamp=3600)
print(result)

update_predefined_app_monitor_status()​

Parameters:

NameTypeRequiredDescription
idintegerYes-
appstringYes-
statestringNo-
forcebooleanNo-

Returns: StatusResponse

Example:

resource = session.zdx.PredefinedAppMonitorResp()
result = resource.update_predefined_app_monitor_status(id=3600, app="value")
print(result)

Attributes​

NameTypeRequiredDescription
activebooleanNo-
applicationConfigApplicationRespNo-
classstringYes-
deletedbooleanNo-
urlstringNo-
excluded_departmentsEntityResponseWrapperCollectionNo-
excluded_devicesEntityResponseWrapperCollectionNo-
excluded_geolocationsGeoLocationResponseWrapperCollectionNo-
excluded_groupsEntityResponseWrapperCollectionNo-
excluded_location_groupsEntityResponseWrapperCollectionNo-
excluded_locationsEntityResponseWrapperCollectionNo-
excluded_os_typesEntityResponseWrapperCollectionNo-
excluded_usersEntityResponseWrapperCollectionNo-
expires_at_timestampintegerNo-
idlongNo-
namestringYes-
on_departmentsEntityResponseWrapperCollectionNo-
on_devicesEntityResponseWrapperCollectionNo-
on_geolocationsGeoLocationResponseWrapperCollectionNo-
on_groupsEntityResponseWrapperCollectionNo-
on_location_groupsEntityResponseWrapperCollectionNo-
on_locationsEntityResponseWrapperCollectionNo-
on_os_typesEntityResponseWrapperCollectionNo-
on_usersEntityResponseWrapperCollectionNo-
probestringNo-
timeout_secondsintegerNo-
typestringYes-