|
526 | 526 | "$ref": "#/components/schemas/GenericName" |
527 | 527 | }, |
528 | 528 | "systemRoutes": { |
529 | | - "$ref": "#/components/schemas/SystemRoutes" |
| 529 | + "default": true, |
| 530 | + "type": "boolean" |
530 | 531 | }, |
531 | 532 | "updatedAt": { |
532 | 533 | "allOf": [ |
|
989 | 990 | "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])))?$", |
990 | 991 | "type": "string" |
991 | 992 | }, |
992 | | - "ContainerFormat": { |
993 | | - "default": "bare", |
994 | | - "description": "Object that represents a container format.\nPossible values: `bare`, `ofv`, `ova`.", |
995 | | - "type": "string" |
996 | | - }, |
997 | 993 | "CreateAffinityGroupPayload": { |
998 | 994 | "description": "Definition of an affinity group.", |
999 | 995 | "properties": { |
|
2240 | 2236 | ], |
2241 | 2237 | "type": "object" |
2242 | 2238 | }, |
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 | | - }, |
2271 | 2239 | "ImageList": { |
2272 | 2240 | "description": "A list containing image objects.", |
2273 | 2241 | "items": { |
|
3882 | 3850 | "$ref": "#/components/schemas/GenericName" |
3883 | 3851 | }, |
3884 | 3852 | "systemRoutes": { |
3885 | | - "$ref": "#/components/schemas/SystemRoutes" |
| 3853 | + "default": true, |
| 3854 | + "type": "boolean" |
3886 | 3855 | }, |
3887 | 3856 | "updatedAt": { |
3888 | 3857 | "allOf": [ |
|
4541 | 4510 | "example": "PUBLIC", |
4542 | 4511 | "type": "string" |
4543 | 4512 | }, |
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 | | - }, |
4549 | 4513 | "ThroughputInMB": { |
4550 | 4514 | "description": "Throughput in Megabyte per second.", |
4551 | 4515 | "example": 200, |
|
4677 | 4641 | }, |
4678 | 4642 | "type": "object" |
4679 | 4643 | }, |
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 | | - }, |
4684 | 4644 | "UpdateImagePayload": { |
4685 | 4645 | "description": "Object that represents an update request body of an Image.", |
4686 | 4646 | "properties": { |
|
4874 | 4834 | "$ref": "#/components/schemas/Description" |
4875 | 4835 | }, |
4876 | 4836 | "dynamicRoutes": { |
4877 | | - "$ref": "#/components/schemas/UpdateDynamicRoutes" |
| 4837 | + "$ref": "#/components/schemas/DynamicRoutes" |
4878 | 4838 | }, |
4879 | 4839 | "labels": { |
4880 | 4840 | "$ref": "#/components/schemas/Labels" |
4881 | 4841 | }, |
4882 | 4842 | "name": { |
4883 | 4843 | "$ref": "#/components/schemas/GenericName" |
4884 | | - }, |
4885 | | - "systemRoutes": { |
4886 | | - "$ref": "#/components/schemas/UpdateSystemRoutes" |
4887 | 4844 | } |
4888 | 4845 | }, |
4889 | 4846 | "type": "object" |
|
4930 | 4887 | }, |
4931 | 4888 | "type": "object" |
4932 | 4889 | }, |
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 | | - }, |
4937 | 4890 | "UpdateVolumePayload": { |
4938 | 4891 | "description": "Object that represents an update request body of a volume.", |
4939 | 4892 | "properties": { |
|
4968 | 4921 | "minimum": 1, |
4969 | 4922 | "type": "integer" |
4970 | 4923 | }, |
4971 | | - "Visibility": { |
4972 | | - "default": "private", |
4973 | | - "description": "Object that represents Visibility.\nPossible values: `public`, `private`, `community`, `shared`.", |
4974 | | - "type": "string" |
4975 | | - }, |
4976 | 4924 | "Volume": { |
4977 | 4925 | "description": "Object that represents a volume and its parameters. Volumes sized up to 16000GB are supported.", |
4978 | 4926 | "properties": { |
|
5279 | 5227 | "example": "ATTACHED", |
5280 | 5228 | "type": "string" |
5281 | 5229 | }, |
5282 | | - "VolumeUploadProtected": { |
5283 | | - "default": false, |
5284 | | - "description": "When true the created image is prevented from being deleted.", |
5285 | | - "example": true, |
5286 | | - "type": "boolean" |
5287 | | - }, |
5288 | 5230 | "errorMessage": { |
5289 | 5231 | "description": "An error message.", |
5290 | 5232 | "example": "Project not found", |
|
12197 | 12139 | } |
12198 | 12140 | } |
12199 | 12141 | }, |
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 | | - }, |
12259 | 12142 | "/v2/regions/{region}/availability-zones": { |
12260 | 12143 | "get": { |
12261 | 12144 | "description": "Get a list of all availability zones.", |
|
0 commit comments