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:
| Name | Type | Required | Description |
|---|---|---|---|
application | WebApplication | Yes | - |
application_class | string | No | - |
application_ids | int32Collection | Yes | - |
custom | boolean | Yes | - |
custom_cloud_app_description | string | Yes | - |
custom_cloud_app_name | string | Yes | - |
custom_risk_index | integer | Yes | - |
custom_tags | CustomTagWrapperCollection | Yes | - |
deleted | boolean | Yes | - |
id | integer | Yes | - |
mod_time | integer | Yes | - |
modified_by | EntityReference | Yes | - |
notes | string | Yes | - |
risk_index | integer | Yes | - |
sanctioned_state | string | No | - |
urls | stringCollection | Yes | - |
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
| Name | Type | Required | Description |
|---|---|---|---|
application | WebApplication | Yes | - |
application_category | string | Yes | - |
deleted | boolean | Yes | - |
id | integer | Yes | - |
name | string | Yes | - |
parent_name | string | Yes | - |
pid | integer | Yes | - |
Related
- CloudApplicationEntity - Data structure definition
- Logging guide - enable verbose logs while debugging this resource