5 "title": "MultiVIM Service rest API"
7 "basePath": "/api/multicloud/v0/",
10 "name": "MultiVIM services"
14 "/{vimid}/{tenantid}/volumes": {
19 "summary": "create a volume",
20 "description": "create a volume",
21 "operationId": "create_vim_volume",
32 "description": "vim instance id",
39 "description": "tenant UUID",
46 "description": "create vim volume request param",
49 "$ref": "#/definitions/CreateVimVolume"
55 "description": "successful operation",
57 "$ref": "#/definitions/VimVolumeInfo"
61 "description": "the vim id or tenant UUID is wrong"
64 "description": "the vim volume is not accessable"
72 "summary": "query vim volumes list",
73 "description": "query vim volumes list",
74 "operationId": "query_vim_volumes",
85 "description": "vim instance id",
92 "description": "tenant UUID",
99 "description": "volumn name to filter list",
106 "description": "Requests a page size of items",
113 "description": "image ID of the last-seen item",
120 "description": "successful operation",
122 "$ref": "#/definitions/VimVolumesInfo"
126 "description": "the vim id or tenant UUID is wrong"
129 "description": "the vim volume is not accessable"
134 "/{vimid}/{tenantid}/volumes/{volumeid}": {
139 "summary": "delete specific vim volume",
140 "description": "delete specific vim volume",
141 "operationId": "delete_vim_volume",
152 "description": "vim instance id",
159 "description": "tenant UUID",
166 "description": "vim volume id",
173 "description": "successful operation"
176 "description": "the vim id or tenant UUID is wrong"
179 "description": "the vim volume is not accessable"
187 "summary": "query specific vim volume",
188 "description": "query specific vim volume",
189 "operationId": "query_vim_volume",
200 "description": "vim instance id",
207 "description": "tenant UUID",
214 "description": "vim volume id",
221 "description": "successful operation",
223 "$ref": "#/definitions/VimVolumeInfo"
227 "description": "the vim id or tenant UUID is wrong"
230 "description": "the vim volume is not accessable"
246 "description": "volume name"
250 "description": "volume size"
254 "description": "image UUID to create volume"
258 "description": "volume type"
260 "availabilityZone": {
262 "description": "available zone for volume"
282 "description": "tenant UUID"
286 "description": "volume list information",
288 "$ref": "#/definitions/VimVolumeInfo"
303 "description": "volume name"
307 "description": "volume UUID"
311 "description": "created time"
315 "description": "volume size"
319 "description": "volume type"
321 "availabilityZone": {
323 "description": "available zone for volume"
327 "description": "attachment list information",
329 "$ref": "#/definitions/VimVolumeAttachmentInfo"
334 "description": "volume status"
344 "description": "tenant UUID"
348 "description": "return code: 0: Already exist 1: Newly created"
352 "VimVolumeAttachmentInfo": {
357 "description": "attachment UUID"
361 "description": "server UUID"
365 "description": "volume UUID"
369 "description": "device to be attached"
373 "description": "host name"