Skip to content

Commit efae0a1

Browse files
OAS Update
1 parent b4e7b9f commit efae0a1

3 files changed

Lines changed: 2737 additions & 473 deletions

File tree

services/iaas/v2/iaas.json

Lines changed: 92 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,20 @@
439439
},
440440
"description": "The object was not found."
441441
},
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+
},
442456
"ServerOrPublicIPNotFound": {
443457
"content": {
444458
"application/json": {
@@ -499,7 +513,7 @@
499513
"type": "object"
500514
},
501515
"AddRoutingTableToAreaPayload": {
502-
"description": "An object representing a routing table.",
516+
"description": "An object representing a routing table. Filterable Fields: `dynamicRoutes`, `systemRoutes`.",
503517
"properties": {
504518
"createdAt": {
505519
"allOf": [
@@ -1315,6 +1329,9 @@
13151329
"x-oapi-codegen-extra-tags": {
13161330
"validate": "required"
13171331
}
1332+
},
1333+
"vpcNetworkRangeId": {
1334+
"$ref": "#/components/schemas/UUID"
13181335
}
13191336
},
13201337
"required": [
@@ -1337,6 +1354,9 @@
13371354
"x-oapi-codegen-extra-tags": {
13381355
"validate": "required"
13391356
}
1357+
},
1358+
"vpcNetworkRangeId": {
1359+
"$ref": "#/components/schemas/UUID"
13401360
}
13411361
},
13421362
"required": [
@@ -1367,6 +1387,9 @@
13671387
},
13681388
"prefix": {
13691389
"$ref": "#/components/schemas/CIDRv6"
1390+
},
1391+
"vpcNetworkRangeId": {
1392+
"$ref": "#/components/schemas/UUID"
13701393
}
13711394
},
13721395
"required": [
@@ -1386,6 +1409,9 @@
13861409
"maximum": 128,
13871410
"minimum": 56,
13881411
"type": "integer"
1412+
},
1413+
"vpcNetworkRangeId": {
1414+
"$ref": "#/components/schemas/UUID"
13891415
}
13901416
},
13911417
"required": [
@@ -1421,6 +1447,14 @@
14211447
},
14221448
"routingTableId": {
14231449
"$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."
14241458
}
14251459
},
14261460
"required": [
@@ -2785,6 +2819,14 @@
27852819
}
27862820
],
27872821
"readOnly": true
2822+
},
2823+
"vpcId": {
2824+
"allOf": [
2825+
{
2826+
"$ref": "#/components/schemas/UUID"
2827+
}
2828+
],
2829+
"description": "The identifier (ID) of a STACKIT VPC."
27882830
}
27892831
},
27902832
"required": [
@@ -2900,6 +2942,9 @@
29002942
}
29012943
],
29022944
"readOnly": true
2945+
},
2946+
"vpcNetworkRangeId": {
2947+
"$ref": "#/components/schemas/UUID"
29032948
}
29042949
},
29052950
"required": [
@@ -2924,6 +2969,9 @@
29242969
"$ref": "#/components/schemas/CIDRv6"
29252970
},
29262971
"type": "array"
2972+
},
2973+
"vpcNetworkRangeId": {
2974+
"$ref": "#/components/schemas/UUID"
29272975
}
29282976
},
29292977
"required": [
@@ -3748,7 +3796,7 @@
37483796
"type": "object"
37493797
},
37503798
"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`.",
37523800
"example": "SERVER",
37533801
"type": "string"
37543802
},
@@ -3884,7 +3932,7 @@
38843932
"type": "boolean"
38853933
},
38863934
"RoutingTable": {
3887-
"description": "An object representing a routing table.",
3935+
"description": "An object representing a routing table. Filterable Fields: `dynamicRoutes`, `systemRoutes`.",
38883936
"properties": {
38893937
"createdAt": {
38903938
"allOf": [
@@ -4254,6 +4302,13 @@
42544302
}
42554303
],
42564304
"description": "The list of volumes attached to the server."
4305+
},
4306+
"vtpm": {
4307+
"allOf": [
4308+
{
4309+
"$ref": "#/components/schemas/ServerVTPM"
4310+
}
4311+
]
42574312
}
42584313
},
42594314
"required": [
@@ -4431,6 +4486,21 @@
44314486
"format": "byte",
44324487
"type": "string"
44334488
},
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+
},
44344504
"ServiceAccountMail": {
44354505
"description": "Object that represents an e-mail address of a service account.",
44364506
"example": "example@compute.sa.stackit.cloud",
@@ -5335,7 +5405,7 @@
53355405
"type": "string"
53365406
},
53375407
"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`.",
53395409
"example": "ATTACHED",
53405410
"type": "string"
53415411
},
@@ -7527,6 +7597,9 @@
75277597
"404": {
75287598
"$ref": "#/components/responses/NotFound"
75297599
},
7600+
"413": {
7601+
"$ref": "#/components/responses/RequestEntityTooLarge"
7602+
},
75307603
"500": {
75317604
"$ref": "#/components/responses/InternalServerError"
75327605
}
@@ -7859,6 +7932,9 @@
78597932
"404": {
78607933
"$ref": "#/components/responses/NotFound"
78617934
},
7935+
"413": {
7936+
"$ref": "#/components/responses/RequestEntityTooLarge"
7937+
},
78627938
"429": {
78637939
"$ref": "#/components/responses/TooManyRequests"
78647940
},
@@ -8021,99 +8097,6 @@
80218097
}
80228098
}
80238099
},
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-
},
81178100
"/v2/projects/{projectId}/regions/{region}/images/{imageId}/share": {
81188101
"delete": {
81198102
"description": "Remove the image share. New scope will be local.",
@@ -11769,6 +11752,12 @@
1176911752
"404": {
1177011753
"$ref": "#/components/responses/NotFound"
1177111754
},
11755+
"409": {
11756+
"$ref": "#/components/responses/Conflict"
11757+
},
11758+
"413": {
11759+
"$ref": "#/components/responses/RequestEntityTooLarge"
11760+
},
1177211761
"500": {
1177311762
"$ref": "#/components/responses/InternalServerError"
1177411763
}
@@ -12200,6 +12189,12 @@
1220012189
"404": {
1220112190
"$ref": "#/components/responses/NotFound"
1220212191
},
12192+
"409": {
12193+
"$ref": "#/components/responses/Conflict"
12194+
},
12195+
"413": {
12196+
"$ref": "#/components/responses/RequestEntityTooLarge"
12197+
},
1220312198
"500": {
1220412199
"$ref": "#/components/responses/InternalServerError"
1220512200
}

0 commit comments

Comments
 (0)