distcloud/api-ref/source/samples/subclouds/subclouds-post-response.json
albailey 20774e10e9 Updating API docs for dcmanager commands
Aligns the API doc with its current functionality.

 - Splits the examples (requests and responses)
into their own json files.

 - Splits parameters and result fields into a parameters.yaml
file to simplify shared fields between APIs.

 - Several APIs actually return 200 for delete rather than 204

 - Converted 'Patch' to 'Software Update' when referring
to the variety of update types supported.

 - Added missing fields. ex: extra-args for strategies.

 - Updated responses to include new sync status fields.

Change-Id: I6d26765be0a8e98664f904314af15bfdfab9fda2
Story: 2008675
Task: 43752
Signed-off-by: albailey <Al.Bailey@windriver.com>
2022-01-13 12:45:53 -06:00

18 lines
537 B
JSON

{
"description": "A subcloud",
"management-start-ip": "192.168.205.110",
"created-at": "2018-02-25T22:17:11.845596",
"updated-at": null,
"software-version": "18.01",
"management-state": "unmanaged",
"availability-status": "offline",
"systemcontroller-gateway-ip": "192.168.204.102",
"location": "Somewhere",
"group_id": 1,
"management-subnet": "192.168.205.0/24",
"management-gateway-ip": "192.168.205.1",
"management-end-ip": "192.168.205.160",
"id": 4,
"name": "subcloud7"
}