Skip to content

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

Network Configuration

Prisma Access Deployment

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:

# Fetch by ID
object = client.address.fetch(id="12345")

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:

# Update an object
client.address.update(id="12345", data={
    "description": "Updated description"
})

Delete

Deletes an object:

# Delete an object
client.address.delete(id="12345")

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