|
1430 | 1430 | "CreateNetworkPayload": { |
1431 | 1431 | "description": "Object that represents the request body for a network create.", |
1432 | 1432 | "properties": { |
| 1433 | + "description": { |
| 1434 | + "$ref": "#/components/schemas/Description" |
| 1435 | + }, |
1433 | 1436 | "dhcp": { |
1434 | 1437 | "allOf": [ |
1435 | 1438 | { |
|
1915 | 1918 | "description": "IPv4 Classless Inter-Domain Routing (CIDR) Object.", |
1916 | 1919 | "properties": { |
1917 | 1920 | "type": { |
| 1921 | + "enum": [ |
| 1922 | + "cidrv4" |
| 1923 | + ], |
1918 | 1924 | "example": "cidrv4", |
1919 | 1925 | "type": "string", |
1920 | 1926 | "x-stackit-logging": true |
|
1937 | 1943 | "description": "IPv6 Classless Inter-Domain Routing (CIDR) Object.", |
1938 | 1944 | "properties": { |
1939 | 1945 | "type": { |
| 1946 | + "enum": [ |
| 1947 | + "cidrv6" |
| 1948 | + ], |
1940 | 1949 | "example": "cidrv6", |
1941 | 1950 | "type": "string", |
1942 | 1951 | "x-stackit-logging": true |
|
2365 | 2374 | "diskFormat": { |
2366 | 2375 | "$ref": "#/components/schemas/DiskFormat" |
2367 | 2376 | }, |
| 2377 | + "force": { |
| 2378 | + "$ref": "#/components/schemas/VolumeUploadForce" |
| 2379 | + }, |
2368 | 2380 | "name": { |
2369 | 2381 | "$ref": "#/components/schemas/GenericName" |
2370 | 2382 | }, |
|
2556 | 2568 | "type": "object" |
2557 | 2569 | }, |
2558 | 2570 | "Labels": { |
2559 | | - "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. The `stackit-` prefix is reserved and cannot be used for Keys.", |
| 2571 | + "description": "Object that represents the labels as key-value pairs of a resource.\nKey constraints: - May contain an optional domain prefix separated by a slash (`/`). - Domain prefix must be less than or equal to 250 characters. - Domain prefix must ba a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - Length (excluding the domain prefix) must be between 1 and 63 characters. - Must begin and end with an alphanumerical character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use.\nValue constraints: - Must be less than or equal to 63 characters long (can be empty). - If not empty it must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between.\nA resource can have a maximum of 64 labels. Reserved labels are excluded from this count. Providing a `null` value for a key will remove that key.", |
2560 | 2572 | "example": { |
2561 | 2573 | "key": "value" |
2562 | 2574 | }, |
|
2825 | 2837 | ], |
2826 | 2838 | "readOnly": true |
2827 | 2839 | }, |
| 2840 | + "description": { |
| 2841 | + "$ref": "#/components/schemas/Description" |
| 2842 | + }, |
2828 | 2843 | "dhcp": { |
2829 | 2844 | "$ref": "#/components/schemas/DHCP" |
2830 | 2845 | }, |
|
3104 | 3119 | "description": "Object that represents a blackhole route.", |
3105 | 3120 | "properties": { |
3106 | 3121 | "type": { |
| 3122 | + "enum": [ |
| 3123 | + "blackhole" |
| 3124 | + ], |
3107 | 3125 | "example": "blackhole", |
3108 | 3126 | "type": "string", |
3109 | 3127 | "x-stackit-logging": true |
|
3118 | 3136 | "description": "Object that represents an IPv4 address.", |
3119 | 3137 | "properties": { |
3120 | 3138 | "type": { |
| 3139 | + "enum": [ |
| 3140 | + "ipv4" |
| 3141 | + ], |
3121 | 3142 | "example": "ipv4", |
3122 | 3143 | "type": "string", |
3123 | 3144 | "x-stackit-logging": true |
|
3140 | 3161 | "description": "Object that represents an IPv6 address.", |
3141 | 3162 | "properties": { |
3142 | 3163 | "type": { |
| 3164 | + "enum": [ |
| 3165 | + "ipv6" |
| 3166 | + ], |
3143 | 3167 | "example": "ipv6", |
3144 | 3168 | "type": "string", |
3145 | 3169 | "x-stackit-logging": true |
|
3162 | 3186 | "description": "Object that represents a route to the internet.", |
3163 | 3187 | "properties": { |
3164 | 3188 | "type": { |
| 3189 | + "enum": [ |
| 3190 | + "internet" |
| 3191 | + ], |
3165 | 3192 | "example": "internet", |
3166 | 3193 | "type": "string", |
3167 | 3194 | "x-stackit-logging": true |
|
3189 | 3216 | "PartialUpdateNetworkPayload": { |
3190 | 3217 | "description": "Object that represents the request body for a network update.", |
3191 | 3218 | "properties": { |
| 3219 | + "description": { |
| 3220 | + "$ref": "#/components/schemas/Description" |
| 3221 | + }, |
3192 | 3222 | "dhcp": { |
3193 | 3223 | "$ref": "#/components/schemas/DHCP" |
3194 | 3224 | }, |
|
3263 | 3293 | "type": "boolean", |
3264 | 3294 | "x-stackit-logging": true |
3265 | 3295 | }, |
| 3296 | + "projectType": { |
| 3297 | + "description": "Possible values: `Schwarz`, `Public`, `SNA`, `VPC`.", |
| 3298 | + "example": "Public", |
| 3299 | + "type": "string", |
| 3300 | + "x-extensible-enum": [ |
| 3301 | + "Schwarz", |
| 3302 | + "Public", |
| 3303 | + "SNA", |
| 3304 | + "VPC" |
| 3305 | + ] |
| 3306 | + }, |
3266 | 3307 | "status": { |
3267 | 3308 | "$ref": "#/components/schemas/ResourceState" |
3268 | 3309 | }, |
|
3273 | 3314 | } |
3274 | 3315 | ], |
3275 | 3316 | "readOnly": true |
| 3317 | + }, |
| 3318 | + "vpcId": { |
| 3319 | + "$ref": "#/components/schemas/UUID" |
3276 | 3320 | } |
3277 | 3321 | }, |
3278 | 3322 | "required": [ |
|
3903 | 3947 | ], |
3904 | 3948 | "properties": { |
3905 | 3949 | "type": { |
3906 | | - "type": "string", |
3907 | | - "x-stackit-logging": true |
| 3950 | + "$ref": "#/components/schemas/v2RouteDestinationType" |
3908 | 3951 | } |
3909 | 3952 | }, |
3910 | 3953 | "required": [ |
|
5468 | 5511 | "example": "ATTACHED", |
5469 | 5512 | "type": "string" |
5470 | 5513 | }, |
| 5514 | + "VolumeUploadForce": { |
| 5515 | + "default": false, |
| 5516 | + "description": "When true the image is force created from a volume is currently being used.", |
| 5517 | + "example": true, |
| 5518 | + "type": "boolean" |
| 5519 | + }, |
5471 | 5520 | "VolumeUploadProtected": { |
5472 | 5521 | "default": false, |
5473 | 5522 | "description": "When true the created image is prevented from being deleted.", |
|
5489 | 5538 | "description": "Name of the region.", |
5490 | 5539 | "example": "eu01", |
5491 | 5540 | "type": "string" |
| 5541 | + }, |
| 5542 | + "v2RouteDestinationType": { |
| 5543 | + "description": "Possible values: `cidrv4`, `cidrv6`.", |
| 5544 | + "example": "cidrv4", |
| 5545 | + "type": "string" |
5492 | 5546 | } |
5493 | 5547 | } |
5494 | 5548 | }, |
|
0 commit comments