zun/api-ref/source/samples/container-create-resp.json
Madhuri Kumari cbcad3b982 Add api-ref for container operations
This patch adds api-ref for list, show, delete, update container.

Change-Id: Ic736b55bc8e71636b63d56e2984ece8301384a99
Partially-Implements: bp zun-api-doc
2017-07-04 14:59:56 +05:30

38 lines
996 B
JSON

{
"addresses": null,
"links": [{
"href": "http://openstack.example.com/v1/containers/b0694d40-70af-4488-b104-10f66b593347",
"rel": "self"
},
{"href": "http://openstack.example.com/containers/b0694d40-70af-4488-b104-10f66b593347", "rel": "bookmark"}
],
"image": "ubuntu",
"labels": {
"app": "hello"
},
"security_groups": null,
"image_pull_policy": "always",
"uuid": "b0694d40-70af-4488-b104-10f66b593347",
"hostname": null,
"environment": {
"foo": "bar"
},
"memory": "500M",
"status": "Creating",
"workdir": "/home/ubuntu",
"status_detail": null,
"host": null,
"image_driver": "docker",
"task_state": null,
"status_reason": null,
"name": "test",
"restart_policy": {
"MaximumRetryCount": "0",
"Name": "no"
},
"ports": null,
"command": "/bin/sh -c 'echo hello'",
"cpu": 2.0,
"interactive": false
}