Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.32 KB

stackit_security-group_list.md

File metadata and controls

51 lines (35 loc) · 1.32 KB

stackit security-group list

Lists security groups

Synopsis

Lists security groups by its internal ID.

stackit security-group list [flags]

Examples

  Lists all security groups
  $ stackit security-group list

  Lists security groups with labels
  $ stackit security-group list --label-selector label1=value1,label2=value2

  Lists all security groups in JSON format
  $ stackit security-group list --output-format json

  Lists up to 10 security groups
  $ stackit security-group list --limit 10

Options

  -h, --help[=true|false]       Help for "stackit security-group list"
      --label-selector string   Filter by label
      --limit int               Maximum number of entries to list

Options inherited from parent commands

  -y, --assume-yes[=true|false]   If set, skips all confirmation prompts
      --async[=true|false]        If set, runs the command asynchronously
  -o, --output-format string      Output format, (one of: [json, pretty, none, yaml])
  -p, --project-id string         Project ID
      --region string             Target region for region-specific requests
      --verbosity string          Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")

SEE ALSO