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 Allocations
- BGP Routing
- Internal DNS Servers
- Network Locations
- Remote Networks
- Service Connections
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 'example'")
# 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": "example",
"folder": "Shared",
# 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