Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

osc compute server volume-attachment list20

List volume attachments for an instance.

The limit and offset parameters apply to the volume attachments in the response, excluding local disks and any other block device mappings that are not shown at the requested microversion.

Normal response codes: 200

Error response codes: unauthorized(401), forbidden(403), itemNotFound(404)

Usage: osc compute server volume-attachment list20 [OPTIONS] <SERVER_ID>

Arguments:

  • <SERVER_ID> — server_id parameter for /v2.1/servers/{server_id}/os-volume_attachments/{id} API

Options:

  • --page-size <LIMIT> — Requests a page size of items. Returns a number of items up to a limit value. Use the limit parameter to make an initial limited request and use the ID of the last-seen item from the response as the marker parameter value in a subsequent limited request

  • --offset <OFFSET>

  • --max-items <MAX_ITEMS> — Total limit of entities count to return. Use this when there are too many entries

    Default value: 10000