Skip to content

Commit 44a901b

Browse files
OAS Update
1 parent 61666e6 commit 44a901b

3 files changed

Lines changed: 870 additions & 16 deletions

File tree

‎services/iaas/v2/iaas.json‎

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,6 +1430,9 @@
14301430
"CreateNetworkPayload": {
14311431
"description": "Object that represents the request body for a network create.",
14321432
"properties": {
1433+
"description": {
1434+
"$ref": "#/components/schemas/Description"
1435+
},
14331436
"dhcp": {
14341437
"allOf": [
14351438
{
@@ -1915,6 +1918,9 @@
19151918
"description": "IPv4 Classless Inter-Domain Routing (CIDR) Object.",
19161919
"properties": {
19171920
"type": {
1921+
"enum": [
1922+
"cidrv4"
1923+
],
19181924
"example": "cidrv4",
19191925
"type": "string",
19201926
"x-stackit-logging": true
@@ -1937,6 +1943,9 @@
19371943
"description": "IPv6 Classless Inter-Domain Routing (CIDR) Object.",
19381944
"properties": {
19391945
"type": {
1946+
"enum": [
1947+
"cidrv6"
1948+
],
19401949
"example": "cidrv6",
19411950
"type": "string",
19421951
"x-stackit-logging": true
@@ -2365,6 +2374,9 @@
23652374
"diskFormat": {
23662375
"$ref": "#/components/schemas/DiskFormat"
23672376
},
2377+
"force": {
2378+
"$ref": "#/components/schemas/VolumeUploadForce"
2379+
},
23682380
"name": {
23692381
"$ref": "#/components/schemas/GenericName"
23702382
},
@@ -2556,7 +2568,7 @@
25562568
"type": "object"
25572569
},
25582570
"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.",
25602572
"example": {
25612573
"key": "value"
25622574
},
@@ -2825,6 +2837,9 @@
28252837
],
28262838
"readOnly": true
28272839
},
2840+
"description": {
2841+
"$ref": "#/components/schemas/Description"
2842+
},
28282843
"dhcp": {
28292844
"$ref": "#/components/schemas/DHCP"
28302845
},
@@ -3104,6 +3119,9 @@
31043119
"description": "Object that represents a blackhole route.",
31053120
"properties": {
31063121
"type": {
3122+
"enum": [
3123+
"blackhole"
3124+
],
31073125
"example": "blackhole",
31083126
"type": "string",
31093127
"x-stackit-logging": true
@@ -3118,6 +3136,9 @@
31183136
"description": "Object that represents an IPv4 address.",
31193137
"properties": {
31203138
"type": {
3139+
"enum": [
3140+
"ipv4"
3141+
],
31213142
"example": "ipv4",
31223143
"type": "string",
31233144
"x-stackit-logging": true
@@ -3140,6 +3161,9 @@
31403161
"description": "Object that represents an IPv6 address.",
31413162
"properties": {
31423163
"type": {
3164+
"enum": [
3165+
"ipv6"
3166+
],
31433167
"example": "ipv6",
31443168
"type": "string",
31453169
"x-stackit-logging": true
@@ -3162,6 +3186,9 @@
31623186
"description": "Object that represents a route to the internet.",
31633187
"properties": {
31643188
"type": {
3189+
"enum": [
3190+
"internet"
3191+
],
31653192
"example": "internet",
31663193
"type": "string",
31673194
"x-stackit-logging": true
@@ -3189,6 +3216,9 @@
31893216
"PartialUpdateNetworkPayload": {
31903217
"description": "Object that represents the request body for a network update.",
31913218
"properties": {
3219+
"description": {
3220+
"$ref": "#/components/schemas/Description"
3221+
},
31923222
"dhcp": {
31933223
"$ref": "#/components/schemas/DHCP"
31943224
},
@@ -3263,6 +3293,17 @@
32633293
"type": "boolean",
32643294
"x-stackit-logging": true
32653295
},
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+
},
32663307
"status": {
32673308
"$ref": "#/components/schemas/ResourceState"
32683309
},
@@ -3273,6 +3314,9 @@
32733314
}
32743315
],
32753316
"readOnly": true
3317+
},
3318+
"vpcId": {
3319+
"$ref": "#/components/schemas/UUID"
32763320
}
32773321
},
32783322
"required": [
@@ -3903,8 +3947,7 @@
39033947
],
39043948
"properties": {
39053949
"type": {
3906-
"type": "string",
3907-
"x-stackit-logging": true
3950+
"$ref": "#/components/schemas/v2RouteDestinationType"
39083951
}
39093952
},
39103953
"required": [
@@ -5468,6 +5511,12 @@
54685511
"example": "ATTACHED",
54695512
"type": "string"
54705513
},
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+
},
54715520
"VolumeUploadProtected": {
54725521
"default": false,
54735522
"description": "When true the created image is prevented from being deleted.",
@@ -5489,6 +5538,11 @@
54895538
"description": "Name of the region.",
54905539
"example": "eu01",
54915540
"type": "string"
5541+
},
5542+
"v2RouteDestinationType": {
5543+
"description": "Possible values: `cidrv4`, `cidrv6`.",
5544+
"example": "cidrv4",
5545+
"type": "string"
54925546
}
54935547
}
54945548
},

0 commit comments

Comments
 (0)