|
428 | 428 | "TooManyRequests": { |
429 | 429 | "content": { |
430 | 430 | "application/json": { |
| 431 | + "example": { |
| 432 | + "code": 429, |
| 433 | + "msg": "Too Many Requests" |
| 434 | + }, |
431 | 435 | "schema": { |
432 | 436 | "$ref": "#/components/schemas/Error" |
433 | 437 | } |
|
798 | 802 | "$ref": "#/components/schemas/Description" |
799 | 803 | }, |
800 | 804 | "direction": { |
801 | | - "description": "The direction of the traffic which the rule should match.", |
| 805 | + "description": "The direction of the traffic which the rule should match.\nPossible values: `ingress`, `egress`.", |
802 | 806 | "type": "string", |
803 | 807 | "x-extensible-enum": [ |
804 | 808 | "ingress", |
|
807 | 811 | }, |
808 | 812 | "ethertype": { |
809 | 813 | "default": "IPv4", |
810 | | - "description": "The ethertype which the rule should match.", |
| 814 | + "description": "The ethertype which the rule should match.\nPossible values: `IPv4`, `IPv6`.", |
811 | 815 | "type": "string", |
812 | 816 | "x-extensible-enum": [ |
813 | 817 | "IPv4", |
|
1008 | 1012 | "CreateImagePayload": { |
1009 | 1013 | "description": "Object that represents an Image and its parameters. Used for Creating and returning (get/list).", |
1010 | 1014 | "properties": { |
| 1015 | + "agent": { |
| 1016 | + "$ref": "#/components/schemas/ImageAgent" |
| 1017 | + }, |
1011 | 1018 | "checksum": { |
1012 | 1019 | "allOf": [ |
1013 | 1020 | { |
|
1059 | 1066 | "readOnly": true |
1060 | 1067 | }, |
1061 | 1068 | "protected": { |
1062 | | - "example": false, |
1063 | | - "type": "boolean" |
| 1069 | + "$ref": "#/components/schemas/ImageProtected" |
1064 | 1070 | }, |
1065 | 1071 | "scope": { |
1066 | 1072 | "allOf": [ |
|
1323 | 1329 | "$ref": "#/components/schemas/UUIDList" |
1324 | 1330 | }, |
1325 | 1331 | "status": { |
| 1332 | + "description": "Possible values: `ACTIVE`, `DOWN`.", |
1326 | 1333 | "readOnly": true, |
1327 | 1334 | "type": "string", |
1328 | 1335 | "x-extensible-enum": [ |
|
1331 | 1338 | ] |
1332 | 1339 | }, |
1333 | 1340 | "type": { |
| 1341 | + "description": "Possible values: `server`, `metadata`, `gateway`, `none`.", |
1334 | 1342 | "readOnly": true, |
1335 | 1343 | "type": "string", |
1336 | 1344 | "x-extensible-enum": [ |
|
1723 | 1731 | "type": "object" |
1724 | 1732 | }, |
1725 | 1733 | "CreateVolumePayload": { |
1726 | | - "description": "Object that represents a volume and its parameters. Used for Creating and returning (get/list).", |
| 1734 | + "description": "Object that represents a volume and its parameters. Volumes sized up to 16000GB are supported.", |
1727 | 1735 | "properties": { |
1728 | 1736 | "availabilityZone": { |
1729 | 1737 | "$ref": "#/components/schemas/AvailabilityZone" |
|
1919 | 1927 | "Image": { |
1920 | 1928 | "description": "Object that represents an Image and its parameters. Used for Creating and returning (get/list).", |
1921 | 1929 | "properties": { |
| 1930 | + "agent": { |
| 1931 | + "$ref": "#/components/schemas/ImageAgent" |
| 1932 | + }, |
1922 | 1933 | "checksum": { |
1923 | 1934 | "allOf": [ |
1924 | 1935 | { |
|
1970 | 1981 | "readOnly": true |
1971 | 1982 | }, |
1972 | 1983 | "protected": { |
1973 | | - "example": false, |
1974 | | - "type": "boolean" |
| 1984 | + "$ref": "#/components/schemas/ImageProtected" |
1975 | 1985 | }, |
1976 | 1986 | "scope": { |
1977 | 1987 | "allOf": [ |
|
2012 | 2022 | ], |
2013 | 2023 | "type": "object" |
2014 | 2024 | }, |
| 2025 | + "ImageAgent": { |
| 2026 | + "description": "Support status and default provioning setting for the STACKIT server agent.", |
| 2027 | + "properties": { |
| 2028 | + "provisionByDefault": { |
| 2029 | + "description": "Default provioning of the STACKIT server agent for new servers. The default for new images is false. Can only be enabled when supported is also true.", |
| 2030 | + "type": "boolean" |
| 2031 | + }, |
| 2032 | + "supported": { |
| 2033 | + "description": "Indicates the STACKIT server agent for the image. The default for new images is false.", |
| 2034 | + "type": "boolean" |
| 2035 | + } |
| 2036 | + }, |
| 2037 | + "type": "object" |
| 2038 | + }, |
2015 | 2039 | "ImageChecksum": { |
2016 | 2040 | "description": "Representation of an image checksum.", |
2017 | 2041 | "example": { |
|
2020 | 2044 | }, |
2021 | 2045 | "properties": { |
2022 | 2046 | "algorithm": { |
2023 | | - "description": "Algorithm for the checksum of the image data.", |
| 2047 | + "description": "Algorithm for the checksum of the image data.\nPossible values: `md5`, `sha512`.", |
2024 | 2048 | "example": "sha512", |
2025 | 2049 | "type": "string", |
2026 | 2050 | "x-extensible-enum": [ |
|
2045 | 2069 | "description": "Properties to set hardware and scheduling settings for an Image.", |
2046 | 2070 | "properties": { |
2047 | 2071 | "architecture": { |
2048 | | - "description": "Represents CPU architecture. The default for new images is x86.", |
| 2072 | + "description": "Represents CPU architecture. The default for new images is x86.\nPossible values: `arm64`, `x86`.", |
2049 | 2073 | "type": "string", |
2050 | 2074 | "x-extensible-enum": [ |
2051 | 2075 | "arm64", |
|
2057 | 2081 | "type": "boolean" |
2058 | 2082 | }, |
2059 | 2083 | "cdromBus": { |
2060 | | - "description": "Sets CDROM bus controller type.", |
| 2084 | + "description": "Sets CDROM bus controller type.\nPossible values: `scsi`, `virtio`, `ide`, `usb`.", |
2061 | 2085 | "nullable": true, |
2062 | 2086 | "type": "string", |
2063 | 2087 | "x-extensible-enum": [ |
|
2068 | 2092 | ] |
2069 | 2093 | }, |
2070 | 2094 | "diskBus": { |
2071 | | - "description": "Sets Disk bus controller type.", |
| 2095 | + "description": "Sets Disk bus controller type.\nPossible values: `scsi`, `virtio`, `ide`, `usb`.", |
2072 | 2096 | "nullable": true, |
2073 | 2097 | "type": "string", |
2074 | 2098 | "x-extensible-enum": [ |
|
2079 | 2103 | ] |
2080 | 2104 | }, |
2081 | 2105 | "nicModel": { |
2082 | | - "description": "Sets virtual nic model.", |
| 2106 | + "description": "Sets virtual nic model.\nPossible values: `e1000`, `e1000e`, `ne2k_pci`, `pcnet`, `rtl8139`, `virtio`, `vmxnet3`.", |
2083 | 2107 | "nullable": true, |
2084 | 2108 | "type": "string", |
2085 | 2109 | "x-extensible-enum": [ |
|
2093 | 2117 | ] |
2094 | 2118 | }, |
2095 | 2119 | "operatingSystem": { |
2096 | | - "description": "Enables OS specific optimizations.", |
| 2120 | + "description": "Enables OS specific optimizations.\nPossible values: `windows`, `linux`.", |
2097 | 2121 | "type": "string", |
2098 | 2122 | "x-extensible-enum": [ |
2099 | 2123 | "windows", |
|
2111 | 2135 | "type": "string" |
2112 | 2136 | }, |
2113 | 2137 | "rescueBus": { |
2114 | | - "description": "Sets the device bus when the image is used as a rescue image.", |
| 2138 | + "description": "Sets the device bus when the image is used as a rescue image.\nPossible values: `sata`, `scsi`, `virtio`, `usb`.", |
2115 | 2139 | "nullable": true, |
2116 | 2140 | "type": "string", |
2117 | 2141 | "x-extensible-enum": [ |
|
2122 | 2146 | ] |
2123 | 2147 | }, |
2124 | 2148 | "rescueDevice": { |
2125 | | - "description": "Sets the device when the image is used as a rescue image.", |
| 2149 | + "description": "Sets the device when the image is used as a rescue image.\nPossible values: `cdrom`, `disk`.", |
2126 | 2150 | "nullable": true, |
2127 | 2151 | "type": "string", |
2128 | 2152 | "x-extensible-enum": [ |
|
2139 | 2163 | "type": "boolean" |
2140 | 2164 | }, |
2141 | 2165 | "videoModel": { |
2142 | | - "description": "Sets Graphic device model.", |
| 2166 | + "description": "Sets Graphic device model.\nPossible values: `vga`, `cirrus`, `vmvga`, `qxl`, `virtio`, `none`.", |
2143 | 2167 | "nullable": true, |
2144 | 2168 | "type": "string", |
2145 | 2169 | "x-extensible-enum": [ |
|
2194 | 2218 | ], |
2195 | 2219 | "type": "object" |
2196 | 2220 | }, |
| 2221 | + "ImageProtected": { |
| 2222 | + "description": "When true the image is prevented from being deleted.", |
| 2223 | + "example": true, |
| 2224 | + "type": "boolean" |
| 2225 | + }, |
2197 | 2226 | "ImageScope": { |
2198 | 2227 | "description": "Scope of an Image.\nPossible values: `public`, `local`, `projects`, `organization`.", |
2199 | 2228 | "example": "local", |
|
2334 | 2363 | "type": "object" |
2335 | 2364 | }, |
2336 | 2365 | "Labels": { |
2337 | | - "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}$`.", |
| 2366 | + "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.", |
2338 | 2367 | "example": { |
2339 | 2368 | "key": "value" |
2340 | 2369 | }, |
|
2449 | 2478 | "type": "object" |
2450 | 2479 | }, |
2451 | 2480 | "Metadata": { |
2452 | | - "description": "Object that represents the metadata of an object. Regex for keys: `^[a-zA-Z0-9-_:. ]{1,255}$`. Regex for values: `^.{0,255}$`.", |
| 2481 | + "description": "Object that represents the metadata of an object. Regex for keys: `^[a-zA-Z0-9-_:. ]{1,255}$`. Regex for values: `^.{0,255}$`. Providing a `null` value for a key will remove that key.", |
2453 | 2482 | "example": { |
2454 | 2483 | "key": "value" |
2455 | 2484 | }, |
|
2518 | 2547 | "$ref": "#/components/schemas/UUIDList" |
2519 | 2548 | }, |
2520 | 2549 | "status": { |
| 2550 | + "description": "Possible values: `ACTIVE`, `DOWN`.", |
2521 | 2551 | "readOnly": true, |
2522 | 2552 | "type": "string", |
2523 | 2553 | "x-extensible-enum": [ |
|
2526 | 2556 | ] |
2527 | 2557 | }, |
2528 | 2558 | "type": { |
| 2559 | + "description": "Possible values: `server`, `metadata`, `gateway`, `none`.", |
2529 | 2560 | "readOnly": true, |
2530 | 2561 | "type": "string", |
2531 | 2562 | "x-extensible-enum": [ |
|
3758 | 3789 | "type": "string" |
3759 | 3790 | }, |
3760 | 3791 | "status": { |
| 3792 | + "description": "Possible values: `PLANNED`, `ONGOING`.", |
3761 | 3793 | "type": "string", |
3762 | 3794 | "x-extensible-enum": [ |
3763 | 3795 | "PLANNED", |
|
4162 | 4194 | "UpdateImagePayload": { |
4163 | 4195 | "description": "Object that represents an update request body of an Image.", |
4164 | 4196 | "properties": { |
| 4197 | + "agent": { |
| 4198 | + "$ref": "#/components/schemas/ImageAgent" |
| 4199 | + }, |
4165 | 4200 | "config": { |
4166 | 4201 | "$ref": "#/components/schemas/ImageConfig" |
4167 | 4202 | }, |
|
4181 | 4216 | "$ref": "#/components/schemas/GenericName" |
4182 | 4217 | }, |
4183 | 4218 | "protected": { |
4184 | | - "example": false, |
4185 | | - "type": "boolean" |
| 4219 | + "$ref": "#/components/schemas/ImageProtected" |
4186 | 4220 | } |
4187 | 4221 | }, |
4188 | 4222 | "type": "object" |
|
4356 | 4390 | "type": "object" |
4357 | 4391 | }, |
4358 | 4392 | "UpdateVolumePayload": { |
4359 | | - "description": "Object that represents an update request body of a volume.", |
| 4393 | + "description": "Object that represents an update request body of a volume.", |
4360 | 4394 | "properties": { |
4361 | 4395 | "bootable": { |
4362 | 4396 | "$ref": "#/components/schemas/VolumeBootable" |
|
4390 | 4424 | "type": "integer" |
4391 | 4425 | }, |
4392 | 4426 | "Volume": { |
4393 | | - "description": "Object that represents a volume and its parameters. Used for Creating and returning (get/list).", |
| 4427 | + "description": "Object that represents a volume and its parameters. Volumes sized up to 16000GB are supported.", |
4394 | 4428 | "properties": { |
4395 | 4429 | "availabilityZone": { |
4396 | 4430 | "$ref": "#/components/schemas/AvailabilityZone" |
|
9269 | 9303 | "name": "action", |
9270 | 9304 | "schema": { |
9271 | 9305 | "default": "soft", |
| 9306 | + "description": "Possible values: `soft`, `hard`.", |
9272 | 9307 | "type": "string", |
9273 | 9308 | "x-extensible-enum": [ |
9274 | 9309 | "soft", |
|
0 commit comments