osc image task create
Creates a task.
Normal response codes: 201
Error response codes: 401, 413, 415
Usage: osc image task create [OPTIONS] --type <TYPE>
Options:
-
--created-at <CREATED_AT>— Datetime when this resource was created -
--expires-at <EXPIRES_AT>— Datetime when this resource would be subject to removal -
--id <ID>— An identifier for the task -
--image-id <IMAGE_ID>— Image associated with the task -
--input <key=value>— A JSON object specifying the input parameters to the task. Consult your cloud provider’s documentation for details -
--message <MESSAGE>— Human-readable informative message only included when appropriate (usually on failure) -
--owner <OWNER>— An identifier for the owner of this task -
--request-id <REQUEST_ID>— Human-readable informative request-id -
--result <key=value>— The result of current task, JSON blob -
--status <STATUS>— The current status of this taskPossible values:
failure,pending,processing,success -
--type <TYPE>— The type of task represented by this contentPossible values:
api-image-import,import,location-import -
--updated-at <UPDATED_AT>— Datetime when this resource was updated -
--user-id <USER_ID>— User associated with the task