osc network metering metering-label list

Lists all L3 metering labels that belong to the project.

The list shows the ID for each metering label.

Standard query parameters are supported on the URI. For more information, see Filtering and Column Selection.

Use the fields query parameter to control which fields are returned in the response body. For more information, see Fields.

Pagination query parameters are supported if Neutron configuration supports it by overriding allow_pagination=false. For more information, see Pagination.

Sorting query parameters are supported if Neutron configuration supports it with allow_sorting=true. For more information, see Sorting.

Normal response codes: 200

Error response codes: 401

Usage: osc network metering metering-label list [OPTIONS]

Options:

  • --description <DESCRIPTION> — description query parameter for /v2.0/metering/metering-labels API

  • --id <ID> — id query parameter for /v2.0/metering/metering-labels API

  • --limit <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

  • --marker <MARKER> — The ID of the last-seen item. 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

  • --name <NAME> — name query parameter for /v2.0/metering/metering-labels API

  • --page-reverse <PAGE_REVERSE> — Reverse the page direction

    Possible values: true, false

  • --shared <SHARED> — shared query parameter for /v2.0/metering/metering-labels API

    Possible values: true, false

  • --sort-dir <SORT_DIR> — Sort direction. This is an optional feature and may be silently ignored by the server

  • --sort-key <SORT_KEY> — Sort results by the attribute. This is an optional feature and may be silently ignored by the server

  • --tenant-id <TENANT_ID> — tenant_id query parameter for /v2.0/metering/metering-labels API

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

    Default value: 10000