Skip to content

Commit ca419f3

Browse files
OAS Update
1 parent 18932be commit ca419f3

File tree

1 file changed

+90
-6
lines changed

1 file changed

+90
-6
lines changed

services/iaas/v2alpha1/iaas.json

Lines changed: 90 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@
275275
"description": {
276276
"$ref": "#/components/schemas/Description"
277277
},
278+
"dynamicRoutes": {
279+
"$ref": "#/components/schemas/DynamicRoutes"
280+
},
278281
"id": {
279282
"allOf": [
280283
{
@@ -290,8 +293,7 @@
290293
"$ref": "#/components/schemas/GenericName"
291294
},
292295
"systemRoutes": {
293-
"default": true,
294-
"type": "boolean"
296+
"$ref": "#/components/schemas/SystemRoutes"
295297
},
296298
"updatedAt": {
297299
"allOf": [
@@ -519,6 +521,11 @@
519521
],
520522
"type": "object"
521523
},
524+
"DynamicRoutes": {
525+
"default": true,
526+
"description": "A config setting for a routing table which allows propagation of dynamic routes to this routing table.",
527+
"type": "boolean"
528+
},
522529
"Error": {
523530
"description": "Error with HTTP error code and an error message.",
524531
"properties": {
@@ -557,7 +564,7 @@
557564
"type": "string"
558565
},
559566
"Labels": {
560-
"description": "Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`. Providing a `null` value for a key will remove that key.",
567+
"description": "Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key.",
561568
"example": {
562569
"key": "value"
563570
},
@@ -971,6 +978,9 @@
971978
"description": {
972979
"$ref": "#/components/schemas/Description"
973980
},
981+
"dynamicRoutes": {
982+
"$ref": "#/components/schemas/DynamicRoutes"
983+
},
974984
"id": {
975985
"allOf": [
976986
{
@@ -986,8 +996,7 @@
986996
"$ref": "#/components/schemas/GenericName"
987997
},
988998
"systemRoutes": {
989-
"default": true,
990-
"type": "boolean"
999+
"$ref": "#/components/schemas/SystemRoutes"
9911000
},
9921001
"updatedAt": {
9931002
"allOf": [
@@ -1022,6 +1031,11 @@
10221031
},
10231032
"type": "array"
10241033
},
1034+
"SystemRoutes": {
1035+
"default": true,
1036+
"description": "A config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.",
1037+
"type": "boolean"
1038+
},
10251039
"UUID": {
10261040
"description": "Universally Unique Identifier (UUID).",
10271041
"example": "d61a8564-c8dd-4ffb-bc15-143e7d0c85ed",
@@ -1031,6 +1045,10 @@
10311045
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
10321046
"type": "string"
10331047
},
1048+
"UpdateDynamicRoutes": {
1049+
"description": "The update config setting for a routing table which allows propagation of dynamic routes to this routing table.",
1050+
"type": "boolean"
1051+
},
10341052
"UpdateNetworkIPv4Body": {
10351053
"description": "The config object for a IPv4 network update.",
10361054
"properties": {
@@ -1070,15 +1088,25 @@
10701088
"description": {
10711089
"$ref": "#/components/schemas/Description"
10721090
},
1091+
"dynamicRoutes": {
1092+
"$ref": "#/components/schemas/UpdateDynamicRoutes"
1093+
},
10731094
"labels": {
10741095
"$ref": "#/components/schemas/Labels"
10751096
},
10761097
"name": {
10771098
"$ref": "#/components/schemas/GenericName"
1099+
},
1100+
"systemRoutes": {
1101+
"$ref": "#/components/schemas/UpdateSystemRoutes"
10781102
}
10791103
},
10801104
"type": "object"
10811105
},
1106+
"UpdateSystemRoutes": {
1107+
"description": "The update config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.",
1108+
"type": "boolean"
1109+
},
10821110
"UpdatedAt": {
10831111
"description": "Date-time when resource was last updated.",
10841112
"example": "2017-07-21T17:32:28Z",
@@ -1105,7 +1133,7 @@
11051133
},
11061134
"description": "This API allows you to create and modify IaaS resources.",
11071135
"termsOfService": "https://stackit.de/en/imprint",
1108-
"title": "IaaS-API",
1136+
"title": "STACKIT IaaS API",
11091137
"version": "2alpha1"
11101138
},
11111139
"openapi": "3.0.1",
@@ -1362,6 +1390,62 @@
13621390
}
13631391
}
13641392
},
1393+
"/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/networks": {
1394+
"get": {
1395+
"description": "Get a list of all networks in a routing table.",
1396+
"operationId": "ListNetworksOfRoutingTable",
1397+
"responses": {
1398+
"200": {
1399+
"content": {
1400+
"application/json": {
1401+
"schema": {
1402+
"$ref": "#/components/schemas/NetworkListResponse"
1403+
}
1404+
}
1405+
},
1406+
"description": "List all routing table networks."
1407+
},
1408+
"400": {
1409+
"$ref": "#/components/responses/BadRequest"
1410+
},
1411+
"401": {
1412+
"$ref": "#/components/responses/Unauthorized"
1413+
},
1414+
"403": {
1415+
"$ref": "#/components/responses/Forbidden"
1416+
},
1417+
"404": {
1418+
"$ref": "#/components/responses/NotFound"
1419+
},
1420+
"500": {
1421+
"$ref": "#/components/responses/InternalServerError"
1422+
}
1423+
},
1424+
"summary": "List all networks in a routing table.",
1425+
"x-stackit-authorization": {
1426+
"actions": [
1427+
"iaas.network-area.rt.network.list"
1428+
],
1429+
"resource-id": "organizationId",
1430+
"resource-id-type": "dynamic",
1431+
"resource-type": "organization"
1432+
}
1433+
},
1434+
"parameters": [
1435+
{
1436+
"$ref": "#/components/parameters/v1OrganizationID"
1437+
},
1438+
{
1439+
"$ref": "#/components/parameters/v1NetworkAreaID"
1440+
},
1441+
{
1442+
"$ref": "#/components/parameters/v1Region"
1443+
},
1444+
{
1445+
"$ref": "#/components/parameters/v2RoutingTableID"
1446+
}
1447+
]
1448+
},
13651449
"/v2alpha1/organizations/{organizationId}/network-areas/{areaId}/regions/{region}/routing-tables/{routingTableId}/routes": {
13661450
"get": {
13671451
"description": "Get a list of all routes in a routing table.",

0 commit comments

Comments
 (0)