Working with Configuration Objects¶
The Strata Cloud Manager SDK provides a unified interface for working with various configuration objects in the Palo Alto Networks ecosystem.
Object Categories¶
The SDK organizes configuration objects into several categories:
Network Objects¶
Applications¶
Security Services¶
- Security Rules
- Anti-Spyware Profile
- DNS Security Profile
- Vulnerability Protection Profile
- WildFire Antivirus Profile
Network Configuration¶
Prisma Access Deployment¶
- Bandwidth Allocation
- BGP Routing
- Internal DNS Server
- Network Location
- Remote Network
- Service Connection
Mobile Agent¶
Common Operations¶
All configuration objects support the following common operations:
List¶
Retrieves a list of objects:
# List all objects
all_items = client.address.list()
# List with filtering
filtered_items = client.address.list(filter="name eq 'web-server'")
# List with limit
limited_items = client.address.list(limit=10)
Fetch¶
Retrieves a specific object by ID:
Create¶
Creates a new object:
# Create a new object
new_object = client.address.create({
"name": "web-server",
"folder": "Texas",
# Other required fields
})
Update¶
Updates an existing object:
Delete¶
Deletes an object:
Next Steps¶
- Learn about Data Models to understand how to structure request and response data
- Explore Operations to learn about candidate configurations and job monitoring
- Check out Advanced Topics for pagination, filtering, and error handling