Skip to content

Commit c6966ee

Browse files
OAS Update
1 parent efae0a1 commit c6966ee

1 file changed

Lines changed: 60 additions & 94 deletions

File tree

services/iaas/v1/iaas.json

Lines changed: 60 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,20 @@
421421
},
422422
"description": "The object was not found."
423423
},
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+
},
424438
"ServerOrPublicIPNotFound": {
425439
"content": {
426440
"application/json": {
@@ -1732,6 +1746,13 @@
17321746
}
17331747
],
17341748
"description": "The list of volumes attached to the server."
1749+
},
1750+
"vtpm": {
1751+
"allOf": [
1752+
{
1753+
"$ref": "#/components/schemas/ServerVTPM"
1754+
}
1755+
]
17351756
}
17361757
},
17371758
"required": [
@@ -3523,7 +3544,7 @@
35233544
"type": "object"
35243545
},
35253546
"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`.",
35273548
"example": "SERVER",
35283549
"type": "string"
35293550
},
@@ -3902,6 +3923,13 @@
39023923
}
39033924
],
39043925
"description": "The list of volumes attached to the server."
3926+
},
3927+
"vtpm": {
3928+
"allOf": [
3929+
{
3930+
"$ref": "#/components/schemas/ServerVTPM"
3931+
}
3932+
]
39053933
}
39063934
},
39073935
"required": [
@@ -4079,6 +4107,21 @@
40794107
"format": "byte",
40804108
"type": "string"
40814109
},
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+
},
40824125
"ServiceAccountMail": {
40834126
"description": "Object that represents an e-mail address of a service account.",
40844127
"example": "example@compute.sa.stackit.cloud",
@@ -4954,7 +4997,7 @@
49544997
"type": "string"
49554998
},
49564999
"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`.",
49585001
"example": "ATTACHED",
49595002
"type": "string"
49605003
},
@@ -6476,6 +6519,9 @@
64766519
"404": {
64776520
"$ref": "#/components/responses/NotFound"
64786521
},
6522+
"413": {
6523+
"$ref": "#/components/responses/RequestEntityTooLarge"
6524+
},
64796525
"500": {
64806526
"$ref": "#/components/responses/InternalServerError"
64816527
}
@@ -6805,6 +6851,9 @@
68056851
"404": {
68066852
"$ref": "#/components/responses/NotFound"
68076853
},
6854+
"413": {
6855+
"$ref": "#/components/responses/RequestEntityTooLarge"
6856+
},
68086857
"429": {
68096858
"$ref": "#/components/responses/TooManyRequests"
68106859
},
@@ -6967,98 +7016,6 @@
69677016
}
69687017
}
69697018
},
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-
},
70627019
"/v1/projects/{projectId}/images/{imageId}/share": {
70637020
"delete": {
70647021
"deprecated": true,
@@ -10644,6 +10601,12 @@
1064410601
"404": {
1064510602
"$ref": "#/components/responses/NotFound"
1064610603
},
10604+
"409": {
10605+
"$ref": "#/components/responses/Conflict"
10606+
},
10607+
"413": {
10608+
"$ref": "#/components/responses/RequestEntityTooLarge"
10609+
},
1064710610
"500": {
1064810611
"$ref": "#/components/responses/InternalServerError"
1064910612
}
@@ -11062,6 +11025,9 @@
1106211025
"404": {
1106311026
"$ref": "#/components/responses/NotFound"
1106411027
},
11028+
"413": {
11029+
"$ref": "#/components/responses/RequestEntityTooLarge"
11030+
},
1106511031
"500": {
1106611032
"$ref": "#/components/responses/InternalServerError"
1106711033
}

0 commit comments

Comments
 (0)