Skip to main content

CloudApplicationEntity

Cloud Application Entity resource for Zscaler Internet Access.

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 CloudApplicationEntity
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",
)

# Call bulk_update_cloud_application on CloudApplicationEntity
resource = session.zia.CloudApplicationEntity()
result = resource.bulk_update_cloud_application(application={"val": 3600, "backend_name": "example-backend-name", "name": "example-name", "original_name": "example-original-name"}, application_ids=[3600], custom=True, custom_cloud_app_description="Resource description", custom_cloud_app_name="example-custom-cloud-app-name", custom_risk_index=3600, custom_tags=[{"id": 3600, "name": "example-name"}], deleted=True, id=3600, mod_time=3600, modified_by={"association_time": 3600, "deleted": True, "extensions": {"key1": "value", "key2": "value"}, "external_id": "resource-id"}, notes="value", risk_index=3600, urls=["https://example.com"])
print(result)

# Debug output shows HTTP request/response details

Actions​

bulk_update_cloud_application()​

Parameters:

NameTypeRequiredDescription
applicationWebApplicationYes-
application_classstringNo-
application_idsint32CollectionYes-
custombooleanYes-
custom_cloud_app_descriptionstringYes-
custom_cloud_app_namestringYes-
custom_risk_indexintegerYes-
custom_tagsCustomTagWrapperCollectionYes-
deletedbooleanYes-
idintegerYes-
mod_timeintegerYes-
modified_byEntityReferenceYes-
notesstringYes-
risk_indexintegerYes-
sanctioned_statestringNo-
urlsstringCollectionYes-

Example:

resource = session.zia.CloudApplicationEntity()
result = resource.bulk_update_cloud_application(application={"val": 3600, "backend_name": "example-backend-name", "name": "example-name", "original_name": "example-original-name"}, application_ids=[3600], custom=True, custom_cloud_app_description="Resource description", custom_cloud_app_name="example-custom-cloud-app-name", custom_risk_index=3600, custom_tags=[{"id": 3600, "name": "example-name"}], deleted=True, id=3600, mod_time=3600, modified_by={"association_time": 3600, "deleted": True, "extensions": {"key1": "value", "key2": "value"}, "external_id": "resource-id"}, notes="value", risk_index=3600, urls=["https://example.com"])
print(result)

Attributes​

NameTypeRequiredDescription
applicationWebApplicationYes-
application_categorystringYes-
deletedbooleanYes-
idintegerYes-
namestringYes-
parent_namestringYes-
pidintegerYes-