osc compute server add-security-group
Adds a security group to a server.
Specify the addSecurityGroup action in the request body.
Normal response codes: 202
Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), conflict(409)
Usage: osc compute server add-security-group [OPTIONS] --name <NAME> <ID>
Arguments:
<ID>— id parameter for /v2.1/servers/{id}/action API
Options:
--name <NAME>— The security group name--property <key=value>— Additional properties to be sent with the request