IamIdpMapping
Iam Idp Mapping resource for Zscaler Private Access V1.
Resource operations
This resource supports the following standard methods: load(). 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 IamIdpMapping
logging.getLogger('zssdk.zpa').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 IamIdpMapping
resource = session.zpa.IamIdpMapping(id="your-resource-id")
resource.load()
print(resource)
# Debug output shows HTTP request/response details
Identifiers
| Name | Type | Description |
|---|---|---|
id | string | Unique identifier |
Actions
load()
Fetches an existing IamIdpMapping by id. Only the id identifier is required; load() takes no other arguments.
Returns: IamIdpMapping
Example:
resource = session.zpa.IamIdpMapping(id="your-resource-id")
resource.load()
print(resource)
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | No | - |
iam_idp_id_to_iam_id_mapping | IamIdpIdToIamIdMapping | No | - |
sequence | long | No | - |
Related
- IamIdpMapping - Data structure definition
- Logging guide - enable verbose logs while debugging this resource