Skip to content

Commit 8321486

Browse files
OAS Update
1 parent d159a52 commit 8321486

File tree

2 files changed

+10
-231
lines changed

2 files changed

+10
-231
lines changed

services/iaas/v2/iaas.json

Lines changed: 5 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@
526526
"$ref": "#/components/schemas/GenericName"
527527
},
528528
"systemRoutes": {
529-
"$ref": "#/components/schemas/SystemRoutes"
529+
"default": true,
530+
"type": "boolean"
530531
},
531532
"updatedAt": {
532533
"allOf": [
@@ -989,11 +990,6 @@
989990
"pattern": "^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))(\\/((1(1[0-9]|2[0-8]))|([0-9][0-9])|([0-9])))?$",
990991
"type": "string"
991992
},
992-
"ContainerFormat": {
993-
"default": "bare",
994-
"description": "Object that represents a container format.\nPossible values: `bare`, `ofv`, `ova`.",
995-
"type": "string"
996-
},
997993
"CreateAffinityGroupPayload": {
998994
"description": "Definition of an affinity group.",
999995
"properties": {
@@ -2240,34 +2236,6 @@
22402236
],
22412237
"type": "object"
22422238
},
2243-
"ImageFromVolumePayload": {
2244-
"description": "Object that represents the upload request of an image to a volume. Used for creating an image from a volume.",
2245-
"properties": {
2246-
"containerFormat": {
2247-
"$ref": "#/components/schemas/ContainerFormat"
2248-
},
2249-
"diskFormat": {
2250-
"$ref": "#/components/schemas/DiskFormat"
2251-
},
2252-
"force": {
2253-
"default": false,
2254-
"type": "boolean"
2255-
},
2256-
"name": {
2257-
"$ref": "#/components/schemas/GenericName"
2258-
},
2259-
"protected": {
2260-
"$ref": "#/components/schemas/VolumeUploadProtected"
2261-
},
2262-
"visibility": {
2263-
"$ref": "#/components/schemas/Visibility"
2264-
}
2265-
},
2266-
"required": [
2267-
"name"
2268-
],
2269-
"type": "object"
2270-
},
22712239
"ImageList": {
22722240
"description": "A list containing image objects.",
22732241
"items": {
@@ -3882,7 +3850,8 @@
38823850
"$ref": "#/components/schemas/GenericName"
38833851
},
38843852
"systemRoutes": {
3885-
"$ref": "#/components/schemas/SystemRoutes"
3853+
"default": true,
3854+
"type": "boolean"
38863855
},
38873856
"updatedAt": {
38883857
"allOf": [
@@ -4541,11 +4510,6 @@
45414510
"example": "PUBLIC",
45424511
"type": "string"
45434512
},
4544-
"SystemRoutes": {
4545-
"default": true,
4546-
"description": "A config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.",
4547-
"type": "boolean"
4548-
},
45494513
"ThroughputInMB": {
45504514
"description": "Throughput in Megabyte per second.",
45514515
"example": 200,
@@ -4677,10 +4641,6 @@
46774641
},
46784642
"type": "object"
46794643
},
4680-
"UpdateDynamicRoutes": {
4681-
"description": "The update config setting for a routing table which allows propagation of dynamic routes to this routing table.",
4682-
"type": "boolean"
4683-
},
46844644
"UpdateImagePayload": {
46854645
"description": "Object that represents an update request body of an Image.",
46864646
"properties": {
@@ -4874,16 +4834,13 @@
48744834
"$ref": "#/components/schemas/Description"
48754835
},
48764836
"dynamicRoutes": {
4877-
"$ref": "#/components/schemas/UpdateDynamicRoutes"
4837+
"$ref": "#/components/schemas/DynamicRoutes"
48784838
},
48794839
"labels": {
48804840
"$ref": "#/components/schemas/Labels"
48814841
},
48824842
"name": {
48834843
"$ref": "#/components/schemas/GenericName"
4884-
},
4885-
"systemRoutes": {
4886-
"$ref": "#/components/schemas/UpdateSystemRoutes"
48874844
}
48884845
},
48894846
"type": "object"
@@ -4930,10 +4887,6 @@
49304887
},
49314888
"type": "object"
49324889
},
4933-
"UpdateSystemRoutes": {
4934-
"description": "The update config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.",
4935-
"type": "boolean"
4936-
},
49374890
"UpdateVolumePayload": {
49384891
"description": "Object that represents an update request body of a volume.",
49394892
"properties": {
@@ -4968,11 +4921,6 @@
49684921
"minimum": 1,
49694922
"type": "integer"
49704923
},
4971-
"Visibility": {
4972-
"default": "private",
4973-
"description": "Object that represents Visibility.\nPossible values: `public`, `private`, `community`, `shared`.",
4974-
"type": "string"
4975-
},
49764924
"Volume": {
49774925
"description": "Object that represents a volume and its parameters. Volumes sized up to 16000GB are supported.",
49784926
"properties": {
@@ -5279,12 +5227,6 @@
52795227
"example": "ATTACHED",
52805228
"type": "string"
52815229
},
5282-
"VolumeUploadProtected": {
5283-
"default": false,
5284-
"description": "When true the created image is prevented from being deleted.",
5285-
"example": true,
5286-
"type": "boolean"
5287-
},
52885230
"errorMessage": {
52895231
"description": "An error message.",
52905232
"example": "Project not found",
@@ -12197,65 +12139,6 @@
1219712139
}
1219812140
}
1219912141
},
12200-
"/v2/projects/{projectId}/regions/{region}/volumes/{volumeId}/upload": {
12201-
"parameters": [
12202-
{
12203-
"$ref": "#/components/parameters/v1ProjectID"
12204-
},
12205-
{
12206-
"$ref": "#/components/parameters/v1VolumeID"
12207-
},
12208-
{
12209-
"$ref": "#/components/parameters/v1Region"
12210-
}
12211-
],
12212-
"post": {
12213-
"description": "Create an image out a a volume.",
12214-
"operationId": "ImageFromVolume",
12215-
"requestBody": {
12216-
"content": {
12217-
"application/json": {
12218-
"schema": {
12219-
"$ref": "#/components/schemas/ImageFromVolumePayload"
12220-
}
12221-
}
12222-
},
12223-
"description": "Create an image from a volume."
12224-
},
12225-
"responses": {
12226-
"202": {
12227-
"description": "Image from Volume creation request accepted."
12228-
},
12229-
"400": {
12230-
"$ref": "#/components/responses/BadRequest"
12231-
},
12232-
"401": {
12233-
"$ref": "#/components/responses/Unauthorized"
12234-
},
12235-
"403": {
12236-
"$ref": "#/components/responses/Forbidden"
12237-
},
12238-
"404": {
12239-
"$ref": "#/components/responses/NotFound"
12240-
},
12241-
"409": {
12242-
"$ref": "#/components/responses/Conflict"
12243-
},
12244-
"500": {
12245-
"$ref": "#/components/responses/InternalServerError"
12246-
}
12247-
},
12248-
"summary": "Create an image out of a volume.",
12249-
"x-stackit-authorization": {
12250-
"actions": [
12251-
"iaas.volume.upload"
12252-
],
12253-
"resource-id": "projectId",
12254-
"resource-id-type": "dynamic",
12255-
"resource-type": "project"
12256-
}
12257-
}
12258-
},
1225912142
"/v2/regions/{region}/availability-zones": {
1226012143
"get": {
1226112144
"description": "Get a list of all availability zones.",

services/iaas/v2beta1/iaas.json

Lines changed: 5 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@
526526
"$ref": "#/components/schemas/GenericName"
527527
},
528528
"systemRoutes": {
529-
"$ref": "#/components/schemas/SystemRoutes"
529+
"default": true,
530+
"type": "boolean"
530531
},
531532
"updatedAt": {
532533
"allOf": [
@@ -1148,32 +1149,6 @@
11481149
],
11491150
"type": "object"
11501151
},
1151-
"CreateIsolatedNetworkPayload": {
1152-
"description": "Object that represents the request body for a single isolated network create.",
1153-
"properties": {
1154-
"dhcp": {
1155-
"allOf": [
1156-
{
1157-
"$ref": "#/components/schemas/DHCP"
1158-
}
1159-
],
1160-
"default": true
1161-
},
1162-
"ipv4": {
1163-
"$ref": "#/components/schemas/CreateNetworkIPv4"
1164-
},
1165-
"labels": {
1166-
"$ref": "#/components/schemas/Labels"
1167-
},
1168-
"name": {
1169-
"$ref": "#/components/schemas/GenericName"
1170-
}
1171-
},
1172-
"required": [
1173-
"name"
1174-
],
1175-
"type": "object"
1176-
},
11771152
"CreateKeyPairPayload": {
11781153
"description": "Object that represents the public key of an SSH keypair and its name.",
11791154
"properties": {
@@ -3800,7 +3775,8 @@
38003775
"$ref": "#/components/schemas/GenericName"
38013776
},
38023777
"systemRoutes": {
3803-
"$ref": "#/components/schemas/SystemRoutes"
3778+
"default": true,
3779+
"type": "boolean"
38043780
},
38053781
"updatedAt": {
38063782
"allOf": [
@@ -4459,11 +4435,6 @@
44594435
"example": "PUBLIC",
44604436
"type": "string"
44614437
},
4462-
"SystemRoutes": {
4463-
"default": true,
4464-
"description": "A config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.",
4465-
"type": "boolean"
4466-
},
44674438
"ThroughputInMB": {
44684439
"description": "Throughput in Megabyte per second.",
44694440
"example": 200,
@@ -4511,10 +4482,6 @@
45114482
},
45124483
"type": "object"
45134484
},
4514-
"UpdateDynamicRoutes": {
4515-
"description": "The update config setting for a routing table which allows propagation of dynamic routes to this routing table.",
4516-
"type": "boolean"
4517-
},
45184485
"UpdateImagePayload": {
45194486
"description": "Object that represents an update request body of an Image.",
45204487
"properties": {
@@ -4690,16 +4657,13 @@
46904657
"$ref": "#/components/schemas/Description"
46914658
},
46924659
"dynamicRoutes": {
4693-
"$ref": "#/components/schemas/UpdateDynamicRoutes"
4660+
"$ref": "#/components/schemas/DynamicRoutes"
46944661
},
46954662
"labels": {
46964663
"$ref": "#/components/schemas/Labels"
46974664
},
46984665
"name": {
46994666
"$ref": "#/components/schemas/GenericName"
4700-
},
4701-
"systemRoutes": {
4702-
"$ref": "#/components/schemas/UpdateSystemRoutes"
47034667
}
47044668
},
47054669
"type": "object"
@@ -4719,10 +4683,6 @@
47194683
},
47204684
"type": "object"
47214685
},
4722-
"UpdateSystemRoutes": {
4723-
"description": "The update config setting for a routing table which allows installation of automatic system routes for connectivity between projects in the same SNA.",
4724-
"type": "boolean"
4725-
},
47264686
"UpdateVolumePayload": {
47274687
"description": "Object that represents an update request body of a volume.",
47284688
"properties": {
@@ -8275,70 +8235,6 @@
82758235
}
82768236
]
82778237
},
8278-
"/v2beta1/projects/{projectId}/regions/{region}/isolated-network": {
8279-
"parameters": [
8280-
{
8281-
"$ref": "#/components/parameters/v1ProjectID"
8282-
},
8283-
{
8284-
"$ref": "#/components/parameters/v1Region"
8285-
}
8286-
],
8287-
"post": {
8288-
"description": "Creates an isolated network which is not connected to other networks in this project. We recommend using this endpoint only if you are fully aware of its purpose and the consequences of its execution.",
8289-
"operationId": "CreateIsolatedNetwork",
8290-
"requestBody": {
8291-
"content": {
8292-
"application/json": {
8293-
"schema": {
8294-
"$ref": "#/components/schemas/CreateIsolatedNetworkPayload"
8295-
}
8296-
}
8297-
},
8298-
"description": "Request a single isolated network creation.",
8299-
"required": true
8300-
},
8301-
"responses": {
8302-
"202": {
8303-
"content": {
8304-
"application/json": {
8305-
"schema": {
8306-
"$ref": "#/components/schemas/Network"
8307-
}
8308-
}
8309-
},
8310-
"description": "Isolated Network create has been accepted."
8311-
},
8312-
"400": {
8313-
"$ref": "#/components/responses/BadRequest"
8314-
},
8315-
"401": {
8316-
"$ref": "#/components/responses/Unauthorized"
8317-
},
8318-
"403": {
8319-
"$ref": "#/components/responses/Forbidden"
8320-
},
8321-
"404": {
8322-
"$ref": "#/components/responses/NotFound"
8323-
},
8324-
"409": {
8325-
"$ref": "#/components/responses/Conflict"
8326-
},
8327-
"500": {
8328-
"$ref": "#/components/responses/InternalServerError"
8329-
}
8330-
},
8331-
"summary": "Create a single isolated network.",
8332-
"x-stackit-authorization": {
8333-
"actions": [
8334-
"iaas.isolated-network.create"
8335-
],
8336-
"resource-id": "projectId",
8337-
"resource-id-type": "dynamic",
8338-
"resource-type": "project"
8339-
}
8340-
}
8341-
},
83428238
"/v2beta1/projects/{projectId}/regions/{region}/machine-types": {
83438239
"get": {
83448240
"description": "Get a list of all machine type available in a project.",

0 commit comments

Comments
 (0)