osc placement allocation set138

Create or update one or more allocation records representing the consumption of one or more classes of resources from one or more resource providers by the consumer identified by {consumer_uuid}. If allocations already exist for this consumer, they are replaced.

Normal Response Codes: 204

Error response codes: badRequest(400), itemNotFound(404), conflict(409)

Usage: osc placement allocation set138 [OPTIONS] --consumer-type <CONSUMER_TYPE> --project-id <PROJECT_ID> --user-id <USER_ID> <CONSUMER_UUID>

Arguments:

  • <CONSUMER_UUID> — consumer_uuid parameter for /allocations/{consumer_uuid} API

Options:

  • --allocations <key=value>
  • --consumer-generation <CONSUMER_GENERATION>
  • --consumer-type <CONSUMER_TYPE>
  • --mappings <key=value>
  • --project-id <PROJECT_ID>
  • --user-id <USER_ID>