|
439 | 439 | }, |
440 | 440 | "description": "The object was not found." |
441 | 441 | }, |
| 442 | + "RequestEntityTooLarge": { |
| 443 | + "content": { |
| 444 | + "application/json": { |
| 445 | + "example": { |
| 446 | + "code": 413, |
| 447 | + "msg": "Request Entity Too Large" |
| 448 | + }, |
| 449 | + "schema": { |
| 450 | + "$ref": "#/components/schemas/Error" |
| 451 | + } |
| 452 | + } |
| 453 | + }, |
| 454 | + "description": "The request entity is too large." |
| 455 | + }, |
442 | 456 | "ServerOrPublicIPNotFound": { |
443 | 457 | "content": { |
444 | 458 | "application/json": { |
|
499 | 513 | "type": "object" |
500 | 514 | }, |
501 | 515 | "AddRoutingTableToAreaPayload": { |
502 | | - "description": "An object representing a routing table.", |
| 516 | + "description": "An object representing a routing table. Filterable Fields: `dynamicRoutes`, `systemRoutes`.", |
503 | 517 | "properties": { |
504 | 518 | "createdAt": { |
505 | 519 | "allOf": [ |
|
1315 | 1329 | "x-oapi-codegen-extra-tags": { |
1316 | 1330 | "validate": "required" |
1317 | 1331 | } |
| 1332 | + }, |
| 1333 | + "vpcNetworkRangeId": { |
| 1334 | + "$ref": "#/components/schemas/UUID" |
1318 | 1335 | } |
1319 | 1336 | }, |
1320 | 1337 | "required": [ |
|
1337 | 1354 | "x-oapi-codegen-extra-tags": { |
1338 | 1355 | "validate": "required" |
1339 | 1356 | } |
| 1357 | + }, |
| 1358 | + "vpcNetworkRangeId": { |
| 1359 | + "$ref": "#/components/schemas/UUID" |
1340 | 1360 | } |
1341 | 1361 | }, |
1342 | 1362 | "required": [ |
|
1367 | 1387 | }, |
1368 | 1388 | "prefix": { |
1369 | 1389 | "$ref": "#/components/schemas/CIDRv6" |
| 1390 | + }, |
| 1391 | + "vpcNetworkRangeId": { |
| 1392 | + "$ref": "#/components/schemas/UUID" |
1370 | 1393 | } |
1371 | 1394 | }, |
1372 | 1395 | "required": [ |
|
1386 | 1409 | "maximum": 128, |
1387 | 1410 | "minimum": 56, |
1388 | 1411 | "type": "integer" |
| 1412 | + }, |
| 1413 | + "vpcNetworkRangeId": { |
| 1414 | + "$ref": "#/components/schemas/UUID" |
1389 | 1415 | } |
1390 | 1416 | }, |
1391 | 1417 | "required": [ |
|
1421 | 1447 | }, |
1422 | 1448 | "routingTableId": { |
1423 | 1449 | "$ref": "#/components/schemas/UUID" |
| 1450 | + }, |
| 1451 | + "vpcId": { |
| 1452 | + "allOf": [ |
| 1453 | + { |
| 1454 | + "$ref": "#/components/schemas/UUID" |
| 1455 | + } |
| 1456 | + ], |
| 1457 | + "description": "The identifier (ID) of a STACKIT VPC." |
1424 | 1458 | } |
1425 | 1459 | }, |
1426 | 1460 | "required": [ |
|
2785 | 2819 | } |
2786 | 2820 | ], |
2787 | 2821 | "readOnly": true |
| 2822 | + }, |
| 2823 | + "vpcId": { |
| 2824 | + "allOf": [ |
| 2825 | + { |
| 2826 | + "$ref": "#/components/schemas/UUID" |
| 2827 | + } |
| 2828 | + ], |
| 2829 | + "description": "The identifier (ID) of a STACKIT VPC." |
2788 | 2830 | } |
2789 | 2831 | }, |
2790 | 2832 | "required": [ |
|
2900 | 2942 | } |
2901 | 2943 | ], |
2902 | 2944 | "readOnly": true |
| 2945 | + }, |
| 2946 | + "vpcNetworkRangeId": { |
| 2947 | + "$ref": "#/components/schemas/UUID" |
2903 | 2948 | } |
2904 | 2949 | }, |
2905 | 2950 | "required": [ |
|
2924 | 2969 | "$ref": "#/components/schemas/CIDRv6" |
2925 | 2970 | }, |
2926 | 2971 | "type": "array" |
| 2972 | + }, |
| 2973 | + "vpcNetworkRangeId": { |
| 2974 | + "$ref": "#/components/schemas/UUID" |
2927 | 2975 | } |
2928 | 2976 | }, |
2929 | 2977 | "required": [ |
|
3748 | 3796 | "type": "object" |
3749 | 3797 | }, |
3750 | 3798 | "Resource": { |
3751 | | - "description": "Object that represents a resource type.\nPossible values: `BACKUP`, `IMAGE`, `NETWORK`, `NETWORKAREA`, `NIC`, `PROJECT`, `ROUTE`, `SERVER`, `SERVICEACCOUNT`, `SNAPSHOT`, `VIRTUALIP`, `VOLUME`.", |
| 3799 | + "description": "Object that represents a resource type.\nPossible values: `BACKUP`, `IMAGE`, `NETWORK`, `NETWORKAREA`, `NIC`, `PROJECT`, `ROUTE`, `SERVER`, `SERVICEACCOUNT`, `SNAPSHOT`, `VIRTUALIP`, `VOLUME`, `VPC`, `VPCNETWORKRANGE`.", |
3752 | 3800 | "example": "SERVER", |
3753 | 3801 | "type": "string" |
3754 | 3802 | }, |
|
3884 | 3932 | "type": "boolean" |
3885 | 3933 | }, |
3886 | 3934 | "RoutingTable": { |
3887 | | - "description": "An object representing a routing table.", |
| 3935 | + "description": "An object representing a routing table. Filterable Fields: `dynamicRoutes`, `systemRoutes`.", |
3888 | 3936 | "properties": { |
3889 | 3937 | "createdAt": { |
3890 | 3938 | "allOf": [ |
|
4254 | 4302 | } |
4255 | 4303 | ], |
4256 | 4304 | "description": "The list of volumes attached to the server." |
| 4305 | + }, |
| 4306 | + "vtpm": { |
| 4307 | + "allOf": [ |
| 4308 | + { |
| 4309 | + "$ref": "#/components/schemas/ServerVTPM" |
| 4310 | + } |
| 4311 | + ] |
4257 | 4312 | } |
4258 | 4313 | }, |
4259 | 4314 | "required": [ |
|
4431 | 4486 | "format": "byte", |
4432 | 4487 | "type": "string" |
4433 | 4488 | }, |
| 4489 | + "ServerVTPM": { |
| 4490 | + "description": "Configuration for the Virtual Trusted Platform Module (vTPM).", |
| 4491 | + "properties": { |
| 4492 | + "enabled": { |
| 4493 | + "default": false, |
| 4494 | + "description": "Defines whether the server instance has the Virtual Trusted Platform Module (vTPM) enabled.", |
| 4495 | + "example": true, |
| 4496 | + "type": "boolean" |
| 4497 | + } |
| 4498 | + }, |
| 4499 | + "required": [ |
| 4500 | + "enabled" |
| 4501 | + ], |
| 4502 | + "type": "object" |
| 4503 | + }, |
4434 | 4504 | "ServiceAccountMail": { |
4435 | 4505 | "description": "Object that represents an e-mail address of a service account.", |
4436 | 4506 | "example": "example@compute.sa.stackit.cloud", |
|
5335 | 5405 | "type": "string" |
5336 | 5406 | }, |
5337 | 5407 | "VolumeStatus": { |
5338 | | - "description": "The status of a volume object.\nPossible values: `ATTACHED`, `ATTACHING`, `AVAILABLE`, `AWAITING-TRANSFER`, `BACKING-UP`, `CREATING`, `DELETED`, `DELETING`, `DETACHING`, `DOWNLOADING`, `ERROR`, `ERROR_BACKING-UP`, `ERROR_DELETING`, `ERROR_RESIZING`, `ERROR_RESTORING-BACKUP`, `MAINTENANCE`, `RESERVED`, `RESIZING`, `RESTORING-BACKUP`, `RETYPING`, `UPLOADING`.", |
| 5408 | + "description": "The status of a volume object.\nPossible values: `ATTACHED`, `ATTACHING`, `AVAILABLE`, `AWAITING-TRANSFER`, `BACKING-UP`, `CREATING`, `DELETED`, `DELETING`, `DETACHING`, `DOWNLOADING`, `ERROR`, `ERROR_BACKING-UP`, `ERROR_DELETING`, `ERROR_RESIZING`, `ERROR_RESTORING-BACKUP`, `ERROR_KMS-ENCRYPTION-PARAMS`, `MAINTENANCE`, `RESERVED`, `RESIZING`, `RESTORING-BACKUP`, `RETYPING`, `UPLOADING`.", |
5339 | 5409 | "example": "ATTACHED", |
5340 | 5410 | "type": "string" |
5341 | 5411 | }, |
|
7527 | 7597 | "404": { |
7528 | 7598 | "$ref": "#/components/responses/NotFound" |
7529 | 7599 | }, |
| 7600 | + "413": { |
| 7601 | + "$ref": "#/components/responses/RequestEntityTooLarge" |
| 7602 | + }, |
7530 | 7603 | "500": { |
7531 | 7604 | "$ref": "#/components/responses/InternalServerError" |
7532 | 7605 | } |
|
7859 | 7932 | "404": { |
7860 | 7933 | "$ref": "#/components/responses/NotFound" |
7861 | 7934 | }, |
| 7935 | + "413": { |
| 7936 | + "$ref": "#/components/responses/RequestEntityTooLarge" |
| 7937 | + }, |
7862 | 7938 | "429": { |
7863 | 7939 | "$ref": "#/components/responses/TooManyRequests" |
7864 | 7940 | }, |
|
8021 | 8097 | } |
8022 | 8098 | } |
8023 | 8099 | }, |
8024 | | - "/v2/projects/{projectId}/regions/{region}/images/{imageId}/publish": { |
8025 | | - "delete": { |
8026 | | - "description": "Update the scope property of an existing Image inside a project to local.", |
8027 | | - "operationId": "UpdateImageScopeLocal", |
8028 | | - "responses": { |
8029 | | - "200": { |
8030 | | - "content": { |
8031 | | - "application/json": { |
8032 | | - "schema": { |
8033 | | - "$ref": "#/components/schemas/Image" |
8034 | | - } |
8035 | | - } |
8036 | | - }, |
8037 | | - "description": "Response to update image-scope to local. Provide the updated image object." |
8038 | | - }, |
8039 | | - "400": { |
8040 | | - "$ref": "#/components/responses/BadRequest" |
8041 | | - }, |
8042 | | - "401": { |
8043 | | - "$ref": "#/components/responses/Unauthorized" |
8044 | | - }, |
8045 | | - "403": { |
8046 | | - "$ref": "#/components/responses/Forbidden" |
8047 | | - }, |
8048 | | - "404": { |
8049 | | - "$ref": "#/components/responses/NotFound" |
8050 | | - }, |
8051 | | - "500": { |
8052 | | - "$ref": "#/components/responses/InternalServerError" |
8053 | | - } |
8054 | | - }, |
8055 | | - "summary": "Update Image Scope to Local.", |
8056 | | - "x-stackit-authorization": { |
8057 | | - "actions": [ |
8058 | | - "iaas.image.publish.delete" |
8059 | | - ], |
8060 | | - "resource-id": "projectId", |
8061 | | - "resource-id-type": "dynamic", |
8062 | | - "resource-type": "project" |
8063 | | - } |
8064 | | - }, |
8065 | | - "parameters": [ |
8066 | | - { |
8067 | | - "$ref": "#/components/parameters/v1ProjectID" |
8068 | | - }, |
8069 | | - { |
8070 | | - "$ref": "#/components/parameters/v1Region" |
8071 | | - }, |
8072 | | - { |
8073 | | - "$ref": "#/components/parameters/v1ImageID" |
8074 | | - } |
8075 | | - ], |
8076 | | - "put": { |
8077 | | - "description": "Update the scope property of an existing Image inside a project to public.", |
8078 | | - "operationId": "UpdateImageScopePublic", |
8079 | | - "responses": { |
8080 | | - "200": { |
8081 | | - "content": { |
8082 | | - "application/json": { |
8083 | | - "schema": { |
8084 | | - "$ref": "#/components/schemas/Image" |
8085 | | - } |
8086 | | - } |
8087 | | - }, |
8088 | | - "description": "Response to update image-scope to public. Provide the updated image object." |
8089 | | - }, |
8090 | | - "400": { |
8091 | | - "$ref": "#/components/responses/BadRequest" |
8092 | | - }, |
8093 | | - "401": { |
8094 | | - "$ref": "#/components/responses/Unauthorized" |
8095 | | - }, |
8096 | | - "403": { |
8097 | | - "$ref": "#/components/responses/Forbidden" |
8098 | | - }, |
8099 | | - "404": { |
8100 | | - "$ref": "#/components/responses/NotFound" |
8101 | | - }, |
8102 | | - "500": { |
8103 | | - "$ref": "#/components/responses/InternalServerError" |
8104 | | - } |
8105 | | - }, |
8106 | | - "summary": "Update Image Scope to Public.", |
8107 | | - "x-stackit-authorization": { |
8108 | | - "actions": [ |
8109 | | - "iaas.image.publish.create" |
8110 | | - ], |
8111 | | - "resource-id": "projectId", |
8112 | | - "resource-id-type": "dynamic", |
8113 | | - "resource-type": "project" |
8114 | | - } |
8115 | | - } |
8116 | | - }, |
8117 | 8100 | "/v2/projects/{projectId}/regions/{region}/images/{imageId}/share": { |
8118 | 8101 | "delete": { |
8119 | 8102 | "description": "Remove the image share. New scope will be local.", |
|
11769 | 11752 | "404": { |
11770 | 11753 | "$ref": "#/components/responses/NotFound" |
11771 | 11754 | }, |
| 11755 | + "409": { |
| 11756 | + "$ref": "#/components/responses/Conflict" |
| 11757 | + }, |
| 11758 | + "413": { |
| 11759 | + "$ref": "#/components/responses/RequestEntityTooLarge" |
| 11760 | + }, |
11772 | 11761 | "500": { |
11773 | 11762 | "$ref": "#/components/responses/InternalServerError" |
11774 | 11763 | } |
|
12200 | 12189 | "404": { |
12201 | 12190 | "$ref": "#/components/responses/NotFound" |
12202 | 12191 | }, |
| 12192 | + "409": { |
| 12193 | + "$ref": "#/components/responses/Conflict" |
| 12194 | + }, |
| 12195 | + "413": { |
| 12196 | + "$ref": "#/components/responses/RequestEntityTooLarge" |
| 12197 | + }, |
12203 | 12198 | "500": { |
12204 | 12199 | "$ref": "#/components/responses/InternalServerError" |
12205 | 12200 | } |
|
0 commit comments