osc compute server volume-attachment set20
Update a volume attachment.
Policy default role is ‘rule:admin_or_owner’, its scope is [project], which allow project members or admins to change the fields of an attached volume of a server. Cloud providers can change these permissions through the policy.yaml
file.
Normal response codes: 202
Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), conflict(409)
Usage: osc compute server volume-attachment set20 --volume-id <VOLUME_ID> <ID> <SERVER_ID>
Arguments:
<ID>
— id parameter for /v2.1/servers/{server_id}/os-volume_attachments/{id} API<SERVER_ID>
— server_id parameter for /v2.1/servers/{server_id}/os-volume_attachments/{id} API
Options:
--volume-id <VOLUME_ID>
— The UUID of the attached volume