|
421 | 421 | }, |
422 | 422 | "description": "The object was not found." |
423 | 423 | }, |
| 424 | + "RequestEntityTooLarge": { |
| 425 | + "content": { |
| 426 | + "application/json": { |
| 427 | + "example": { |
| 428 | + "code": 413, |
| 429 | + "msg": "Request Entity Too Large" |
| 430 | + }, |
| 431 | + "schema": { |
| 432 | + "$ref": "#/components/schemas/Error" |
| 433 | + } |
| 434 | + } |
| 435 | + }, |
| 436 | + "description": "The request entity is too large." |
| 437 | + }, |
424 | 438 | "ServerOrPublicIPNotFound": { |
425 | 439 | "content": { |
426 | 440 | "application/json": { |
|
1732 | 1746 | } |
1733 | 1747 | ], |
1734 | 1748 | "description": "The list of volumes attached to the server." |
| 1749 | + }, |
| 1750 | + "vtpm": { |
| 1751 | + "allOf": [ |
| 1752 | + { |
| 1753 | + "$ref": "#/components/schemas/ServerVTPM" |
| 1754 | + } |
| 1755 | + ] |
1735 | 1756 | } |
1736 | 1757 | }, |
1737 | 1758 | "required": [ |
|
3523 | 3544 | "type": "object" |
3524 | 3545 | }, |
3525 | 3546 | "Resource": { |
3526 | | - "description": "Object that represents a resource type.\nPossible values: `BACKUP`, `IMAGE`, `NETWORK`, `NETWORKAREA`, `NIC`, `PROJECT`, `ROUTE`, `SERVER`, `SERVICEACCOUNT`, `SNAPSHOT`, `VIRTUALIP`, `VOLUME`.", |
| 3547 | + "description": "Object that represents a resource type.\nPossible values: `BACKUP`, `IMAGE`, `NETWORK`, `NETWORKAREA`, `NIC`, `PROJECT`, `ROUTE`, `SERVER`, `SERVICEACCOUNT`, `SNAPSHOT`, `VIRTUALIP`, `VOLUME`, `VPC`, `VPCNETWORKRANGE`.", |
3527 | 3548 | "example": "SERVER", |
3528 | 3549 | "type": "string" |
3529 | 3550 | }, |
|
3902 | 3923 | } |
3903 | 3924 | ], |
3904 | 3925 | "description": "The list of volumes attached to the server." |
| 3926 | + }, |
| 3927 | + "vtpm": { |
| 3928 | + "allOf": [ |
| 3929 | + { |
| 3930 | + "$ref": "#/components/schemas/ServerVTPM" |
| 3931 | + } |
| 3932 | + ] |
3905 | 3933 | } |
3906 | 3934 | }, |
3907 | 3935 | "required": [ |
|
4079 | 4107 | "format": "byte", |
4080 | 4108 | "type": "string" |
4081 | 4109 | }, |
| 4110 | + "ServerVTPM": { |
| 4111 | + "description": "Configuration for the Virtual Trusted Platform Module (vTPM).", |
| 4112 | + "properties": { |
| 4113 | + "enabled": { |
| 4114 | + "default": false, |
| 4115 | + "description": "Defines whether the server instance has the Virtual Trusted Platform Module (vTPM) enabled.", |
| 4116 | + "example": true, |
| 4117 | + "type": "boolean" |
| 4118 | + } |
| 4119 | + }, |
| 4120 | + "required": [ |
| 4121 | + "enabled" |
| 4122 | + ], |
| 4123 | + "type": "object" |
| 4124 | + }, |
4082 | 4125 | "ServiceAccountMail": { |
4083 | 4126 | "description": "Object that represents an e-mail address of a service account.", |
4084 | 4127 | "example": "example@compute.sa.stackit.cloud", |
|
4954 | 4997 | "type": "string" |
4955 | 4998 | }, |
4956 | 4999 | "VolumeStatus": { |
4957 | | - "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`.", |
| 5000 | + "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`.", |
4958 | 5001 | "example": "ATTACHED", |
4959 | 5002 | "type": "string" |
4960 | 5003 | }, |
|
6476 | 6519 | "404": { |
6477 | 6520 | "$ref": "#/components/responses/NotFound" |
6478 | 6521 | }, |
| 6522 | + "413": { |
| 6523 | + "$ref": "#/components/responses/RequestEntityTooLarge" |
| 6524 | + }, |
6479 | 6525 | "500": { |
6480 | 6526 | "$ref": "#/components/responses/InternalServerError" |
6481 | 6527 | } |
|
6805 | 6851 | "404": { |
6806 | 6852 | "$ref": "#/components/responses/NotFound" |
6807 | 6853 | }, |
| 6854 | + "413": { |
| 6855 | + "$ref": "#/components/responses/RequestEntityTooLarge" |
| 6856 | + }, |
6808 | 6857 | "429": { |
6809 | 6858 | "$ref": "#/components/responses/TooManyRequests" |
6810 | 6859 | }, |
|
6967 | 7016 | } |
6968 | 7017 | } |
6969 | 7018 | }, |
6970 | | - "/v1/projects/{projectId}/images/{imageId}/publish": { |
6971 | | - "delete": { |
6972 | | - "deprecated": true, |
6973 | | - "description": "Update the scope property of an existing Image inside a project to local.", |
6974 | | - "operationId": "UpdateImageScopeLocal", |
6975 | | - "responses": { |
6976 | | - "200": { |
6977 | | - "content": { |
6978 | | - "application/json": { |
6979 | | - "schema": { |
6980 | | - "$ref": "#/components/schemas/Image" |
6981 | | - } |
6982 | | - } |
6983 | | - }, |
6984 | | - "description": "Response to update image-scope to local. Provide the updated image object." |
6985 | | - }, |
6986 | | - "400": { |
6987 | | - "$ref": "#/components/responses/BadRequest" |
6988 | | - }, |
6989 | | - "401": { |
6990 | | - "$ref": "#/components/responses/Unauthorized" |
6991 | | - }, |
6992 | | - "403": { |
6993 | | - "$ref": "#/components/responses/Forbidden" |
6994 | | - }, |
6995 | | - "404": { |
6996 | | - "$ref": "#/components/responses/NotFound" |
6997 | | - }, |
6998 | | - "500": { |
6999 | | - "$ref": "#/components/responses/InternalServerError" |
7000 | | - } |
7001 | | - }, |
7002 | | - "summary": "Update Image Scope to Local.", |
7003 | | - "x-stackit-authorization": { |
7004 | | - "actions": [ |
7005 | | - "iaas.image.publish.delete" |
7006 | | - ], |
7007 | | - "resource-id": "projectId", |
7008 | | - "resource-id-type": "dynamic", |
7009 | | - "resource-type": "project" |
7010 | | - } |
7011 | | - }, |
7012 | | - "parameters": [ |
7013 | | - { |
7014 | | - "$ref": "#/components/parameters/v1ProjectID" |
7015 | | - }, |
7016 | | - { |
7017 | | - "$ref": "#/components/parameters/v1ImageID" |
7018 | | - } |
7019 | | - ], |
7020 | | - "put": { |
7021 | | - "deprecated": true, |
7022 | | - "description": "Update the scope property of an existing Image inside a project to public.", |
7023 | | - "operationId": "UpdateImageScopePublic", |
7024 | | - "responses": { |
7025 | | - "200": { |
7026 | | - "content": { |
7027 | | - "application/json": { |
7028 | | - "schema": { |
7029 | | - "$ref": "#/components/schemas/Image" |
7030 | | - } |
7031 | | - } |
7032 | | - }, |
7033 | | - "description": "Response to update image-scope to public. Provide the updated image object." |
7034 | | - }, |
7035 | | - "400": { |
7036 | | - "$ref": "#/components/responses/BadRequest" |
7037 | | - }, |
7038 | | - "401": { |
7039 | | - "$ref": "#/components/responses/Unauthorized" |
7040 | | - }, |
7041 | | - "403": { |
7042 | | - "$ref": "#/components/responses/Forbidden" |
7043 | | - }, |
7044 | | - "404": { |
7045 | | - "$ref": "#/components/responses/NotFound" |
7046 | | - }, |
7047 | | - "500": { |
7048 | | - "$ref": "#/components/responses/InternalServerError" |
7049 | | - } |
7050 | | - }, |
7051 | | - "summary": "Update Image Scope to Public.", |
7052 | | - "x-stackit-authorization": { |
7053 | | - "actions": [ |
7054 | | - "iaas.image.publish.create" |
7055 | | - ], |
7056 | | - "resource-id": "projectId", |
7057 | | - "resource-id-type": "dynamic", |
7058 | | - "resource-type": "project" |
7059 | | - } |
7060 | | - } |
7061 | | - }, |
7062 | 7019 | "/v1/projects/{projectId}/images/{imageId}/share": { |
7063 | 7020 | "delete": { |
7064 | 7021 | "deprecated": true, |
|
10644 | 10601 | "404": { |
10645 | 10602 | "$ref": "#/components/responses/NotFound" |
10646 | 10603 | }, |
| 10604 | + "409": { |
| 10605 | + "$ref": "#/components/responses/Conflict" |
| 10606 | + }, |
| 10607 | + "413": { |
| 10608 | + "$ref": "#/components/responses/RequestEntityTooLarge" |
| 10609 | + }, |
10647 | 10610 | "500": { |
10648 | 10611 | "$ref": "#/components/responses/InternalServerError" |
10649 | 10612 | } |
|
11062 | 11025 | "404": { |
11063 | 11026 | "$ref": "#/components/responses/NotFound" |
11064 | 11027 | }, |
| 11028 | + "413": { |
| 11029 | + "$ref": "#/components/responses/RequestEntityTooLarge" |
| 11030 | + }, |
11065 | 11031 | "500": { |
11066 | 11032 | "$ref": "#/components/responses/InternalServerError" |
11067 | 11033 | } |
|
0 commit comments