Attaches a security group to a server
Attaches a security group to a server.
stackit server security-group attach [flags]
Attach a security group with ID "xxx" to a server with ID "yyy"
$ stackit server security-group attach --server-id yyy --security-group-id xxx
-h, --help Help for "stackit server security-group attach"
--security-group-id string Security Group ID
--server-id string Server ID
-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")
- stackit server security-group - Allows attaching/detaching security groups to servers