create(name: Annotated[str, cyclopts.Parameter(help='The name of the work pool.')])
Create a new work pool or update an existing one.Examples:
# Create a Kubernetes work pool in a paused state$ prefect work-pool create "my-pool" --type kubernetes --paused# Create a Docker work pool with a custom base job template$ prefect work-pool create "my-pool" --type docker --base-job-template ./base-job-template.json# Update an existing work pool$ prefect work-pool create "existing-pool" --base-job-template ./base-job-template.json --overwrite
set_concurrency_limit(name: Annotated[str, cyclopts.Parameter(help='The name of the work pool to update.')], concurrency_limit: Annotated[int, cyclopts.Parameter(help='The new concurrency limit for the work pool.')])
Set the concurrency limit for a work pool.Examples: