osc placement resource-provider inventory replace

Replaces the set of inventory records for the resource provider identified by {uuid}.

Normal Response Codes: 200

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

Usage: osc placement resource-provider inventory replace [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