osc placement resource-provider inventory create

POST to create one inventory.

On success return a 201 response, a location header pointing to the newly created inventory and an application/json representation of the inventory.

Usage: osc placement resource-provider inventory create [OPTIONS] --resource-provider-generation <RESOURCE_PROVIDER_GENERATION> <UUID>

Arguments:

  • <UUID> — uuid parameter for /resource_providers/{uuid}/inventories/{resource_class} API

Options:

  • --inventories <key=value> — A dictionary of inventories keyed by resource classes
  • --resource-provider-generation <RESOURCE_PROVIDER_GENERATION> — A consistent view marker that assists with the management of concurrent resource provider updates