|
5271 | 5271 | },
|
5272 | 5272 | "description": "Operation"
|
5273 | 5273 | },
|
| 5274 | + "block-storage-volume-details": { |
| 5275 | + "type": "object", |
| 5276 | + "properties": { |
| 5277 | + "labels": { |
| 5278 | + "$ref": "#/components/schemas/labels", |
| 5279 | + "description": "Resource labels" |
| 5280 | + }, |
| 5281 | + "instance": { |
| 5282 | + "$ref": "#/components/schemas/instance-target", |
| 5283 | + "description": "Volume attached instance, if any" |
| 5284 | + }, |
| 5285 | + "name": { |
| 5286 | + "type": "string", |
| 5287 | + "maxLength": 255, |
| 5288 | + "minLength": 1, |
| 5289 | + "description": "Volume name" |
| 5290 | + }, |
| 5291 | + "state": { |
| 5292 | + "type": "string", |
| 5293 | + "enum": [ |
| 5294 | + "attached", |
| 5295 | + "attaching", |
| 5296 | + "creating", |
| 5297 | + "deleted", |
| 5298 | + "deleting", |
| 5299 | + "detached", |
| 5300 | + "detaching", |
| 5301 | + "error", |
| 5302 | + "snapshotting" |
| 5303 | + ], |
| 5304 | + "readOnly": true, |
| 5305 | + "description": "Volume state" |
| 5306 | + }, |
| 5307 | + "size": { |
| 5308 | + "type": "integer", |
| 5309 | + "format": "int64", |
| 5310 | + "minimum": 1, |
| 5311 | + "exclusiveMinimum": false, |
| 5312 | + "description": "Volume size" |
| 5313 | + }, |
| 5314 | + "blocksize": { |
| 5315 | + "type": "integer", |
| 5316 | + "format": "int64", |
| 5317 | + "minimum": 0, |
| 5318 | + "exclusiveMinimum": false, |
| 5319 | + "readOnly": true, |
| 5320 | + "description": "Volume block size" |
| 5321 | + }, |
| 5322 | + "block-storage-snapshots": { |
| 5323 | + "type": "array", |
| 5324 | + "items": { |
| 5325 | + "$ref": "#/components/schemas/block-storage-snapshot-target" |
| 5326 | + }, |
| 5327 | + "description": "Volume snapshots, if any" |
| 5328 | + }, |
| 5329 | + "id": { |
| 5330 | + "type": "string", |
| 5331 | + "format": "uuid", |
| 5332 | + "readOnly": true, |
| 5333 | + "description": "Volume ID" |
| 5334 | + }, |
| 5335 | + "created-at": { |
| 5336 | + "type": "string", |
| 5337 | + "format": "date-time", |
| 5338 | + "readOnly": true, |
| 5339 | + "description": "Volume creation date" |
| 5340 | + } |
| 5341 | + }, |
| 5342 | + "description": "Block storage volume" |
| 5343 | + }, |
5274 | 5344 | "iam-api-key-created": {
|
5275 | 5345 | "type": "object",
|
5276 | 5346 | "properties": {
|
|
9335 | 9405 | "block-storage-volume": {
|
9336 | 9406 | "type": "object",
|
9337 | 9407 | "properties": {
|
9338 |
| - "labels": { |
9339 |
| - "$ref": "#/components/schemas/labels", |
9340 |
| - "description": "Resource labels" |
9341 |
| - }, |
9342 |
| - "instance": { |
9343 |
| - "$ref": "#/components/schemas/instance-target", |
9344 |
| - "description": "Volume attached instance, if any" |
| 9408 | + "id": { |
| 9409 | + "type": "string", |
| 9410 | + "format": "uuid", |
| 9411 | + "readOnly": true, |
| 9412 | + "description": "Volume ID" |
9345 | 9413 | },
|
9346 | 9414 | "name": {
|
9347 | 9415 | "type": "string",
|
9348 | 9416 | "maxLength": 255,
|
9349 | 9417 | "minLength": 1,
|
9350 | 9418 | "description": "Volume name"
|
9351 | 9419 | },
|
| 9420 | + "created-at": { |
| 9421 | + "type": "string", |
| 9422 | + "format": "date-time", |
| 9423 | + "readOnly": true, |
| 9424 | + "description": "Volume creation date" |
| 9425 | + }, |
9352 | 9426 | "state": {
|
9353 | 9427 | "type": "string",
|
9354 | 9428 | "enum": [
|
|
9380 | 9454 | "readOnly": true,
|
9381 | 9455 | "description": "Volume block size"
|
9382 | 9456 | },
|
9383 |
| - "block-storage-snapshots": { |
9384 |
| - "type": "array", |
9385 |
| - "items": { |
9386 |
| - "$ref": "#/components/schemas/block-storage-snapshot-target" |
9387 |
| - }, |
9388 |
| - "description": "Volume snapshots, if any" |
9389 |
| - }, |
9390 |
| - "id": { |
9391 |
| - "type": "string", |
9392 |
| - "format": "uuid", |
9393 |
| - "readOnly": true, |
9394 |
| - "description": "Volume ID" |
| 9457 | + "labels": { |
| 9458 | + "$ref": "#/components/schemas/labels", |
| 9459 | + "description": "Resource labels" |
9395 | 9460 | },
|
9396 |
| - "created-at": { |
9397 |
| - "type": "string", |
9398 |
| - "format": "date-time", |
9399 |
| - "readOnly": true, |
9400 |
| - "description": "Volume creation date" |
| 9461 | + "instance": { |
| 9462 | + "$ref": "#/components/schemas/instance-target", |
| 9463 | + "description": "Volume attached instance, if any" |
9401 | 9464 | }
|
9402 | 9465 | },
|
9403 | 9466 | "description": "Block storage volume"
|
|
14113 | 14176 | "content": {
|
14114 | 14177 | "application/json": {
|
14115 | 14178 | "schema": {
|
14116 |
| - "$ref": "#/components/schemas/block-storage-volume" |
| 14179 | + "$ref": "#/components/schemas/block-storage-volume-details" |
14117 | 14180 | }
|
14118 | 14181 | }
|
14119 | 14182 | }
|
|
0 commit comments