zun/api-ref/source/samples/container-update-resp.json
deepak_mourya 7245988c32 Update the API reference for the update container
After this patch [0] we can update the container information
to rename also using [1], But API reference is still belongs
to the old rename container API[2] which should be updated.

[0] https://review.openstack.org/#/c/557595/
[1] https://developer.openstack.org/api-ref/application-container/#update-information-of-container
[2] https://developer.openstack.org/api-ref/application-container/#rename-a-container

Change-Id: I311e27241a380f24532bccc748b40b8594847833
Closes-Bug: #1762300
2018-04-10 10:42:42 +05:30

54 lines
1.6 KiB
JSON

{
"addresses": {
"eb7a3ee0-ad55-417b-ba11-6c57b1dbd4c6": [{
"subnet_id": "a3162b3e-2f02-432e-a18c-78fe2774d026",
"version": 4,
"preserve_on_delete": false,
"addr": "172.24.4.3",
"port": "4b077255-9b4d-4068-b24f-b89594f870c2"
}, {
"subnet_id": "7ca0d3d5-eeef-489f-8a40-ccb00456628c",
"version": 6,
"preserve_on_delete": false,
"addr": "2001:db8::9",
"port": "4b077255-9b4d-4068-b24f-b89594f870c2"
}]
},
"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": [],
"image_pull_policy": "always",
"user_id": "06c7fda2e74d4f5084bb8298bf8e313b",
"uuid": "b0694d40-70af-4488-b104-10f66b593347",
"hostname": "zun-sandbox-5812822d-6794-4839-85c0-1c01665c0d48",
"environment": {
"foo": "bar"
},
"memory": "200M",
"status": "Stopped",
"workdir": "/home/ubuntu",
"status_detail": "Exited(0) 18 mins ago ",
"host": "ubuntu",
"image_driver": "docker",
"task_state": null,
"status_reason": null,
"name": "test_new",
"restart_policy": {
"MaximumRetryCount": "0",
"Name": "no"
},
"ports": [],
"command": "/bin/sh -c 'echo hello'",
"runtime": "runc",
"cpu": 3.0,
"interactive": false
}