Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.43 KB

File metadata and controls

47 lines (33 loc) · 1.43 KB

stackit security-group create

Creates security groups

Synopsis

Creates security groups.

stackit security-group create [flags]

Examples

  Create a named group
  $ stackit security-group create --name my-new-group

  Create a named group with labels
  $ stackit security-group create --name my-new-group --labels label1=value1,label2=value2

Options

      --description string      An optional description of the security group.
  -h, --help                    Help for "stackit security-group create"
      --labels stringToString   Labels are key-value string pairs which can be attached to a network-interface. E.g. '--labels key1=value1,key2=value2,...' (default [])
      --name string             The name of the security group.
      --stateful                Create a stateful or a stateless security group

Options inherited from parent commands

  -y, --assume-yes             If set, skips all confirmation prompts
      --async                  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