databricks / cli

Databricks CLI
Other
132 stars 50 forks source link

Added filtering flags for cluster list commands #1703

Closed andrewnester closed 1 month ago

andrewnester commented 1 month ago

Changes

Fixes #1701

Tests

Usage:
  databricks clusters list [flags]

Flags:
      --cluster-sources []string   Filter clusters by source
      --cluster-states []string    Filter clusters by states
  -h, --help                       help for list
      --is-pinned                  Filter clusters by pinned status
      --page-size int              Use this field to specify the maximum number of results to be returned by the server.
      --page-token string          Use next_page_token or prev_page_token returned from the previous request to list the next or previous page of clusters respectively.
      --policy-id string           Filter clusters by policy id