Skip to content

Commit 132f8d0

Browse files
OAS Update
1 parent ddc33c5 commit 132f8d0

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

services/vpn/v1alpha1/vpn.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@
309309
"type": "array"
310310
},
311311
"name": {
312-
"description": "The name of the connection. Maximum 20 characters. The name of a connection must be unique.\nRenaming will delete the old connection and establish a new one.",
312+
"description": "The name of the connection. \nMaximum 20 characters (only alphanumeric and hyphens allowed). The name bust be unique within the parent Gateway. \nCurrently renaming is not possible therefore deleting and re-creating the connection is necessary.\n",
313313
"example": "my-connection",
314-
"pattern": "^([a-z0-9]{1}[a-z0-9-]{0,19}){1}(\\.[a-z0-9]{1}[a-z0-9-]{0,19})*?$",
314+
"pattern": "^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$",
315315
"type": "string"
316316
},
317317
"remoteSubnets": {
@@ -382,9 +382,9 @@
382382
"type": "array"
383383
},
384384
"name": {
385-
"description": "The name of the connection. Maximum 20 characters. The name of a connection must be unique.\nRenaming will delete the old connection and establish a new one.",
385+
"description": "The name of the connection. \nMaximum 20 characters (only alphanumeric and hyphens allowed). The name bust be unique within the parent Gateway. \nCurrently renaming is not possible therefore deleting and re-creating the connection is necessary.\n",
386386
"example": "my-connection",
387-
"pattern": "^([a-z0-9]{1}[a-z0-9-]{0,19}){1}(\\.[a-z0-9]{1}[a-z0-9-]{0,19})*?$",
387+
"pattern": "^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$",
388388
"type": "string"
389389
},
390390
"remoteSubnets": {
@@ -446,13 +446,13 @@
446446
"$ref": "#/components/schemas/BGPGatewayConfig"
447447
},
448448
"name": {
449-
"description": "The name of the VPN instance. Maximum 20 characters. Not changeable after creation.",
449+
"description": "The name of the VPN gateway. \nMaximum 20 characters (only alphanumeric and hyphens allowed). Not changeable after creation.\n",
450450
"example": "my-vpn",
451-
"pattern": "^([a-z0-9]{1}[a-z0-9-]{0,19}){1}(\\.[a-z0-9]{1}[a-z0-9-]{0,19})*?$",
451+
"pattern": "^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$",
452452
"type": "string"
453453
},
454454
"planId": {
455-
"description": "Service Plan to configure the limits of the VPN instance. Currently supported plans are p50, p100, p200.\nThis list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.",
455+
"description": "Service Plan to configure the limits of the VPN. Currently supported plans are p50, p100, p200.\nThis list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.",
456456
"example": "p50",
457457
"type": "string"
458458
}
@@ -526,13 +526,13 @@
526526
"$ref": "#/components/schemas/BGPGatewayConfig"
527527
},
528528
"name": {
529-
"description": "The name of the VPN instance. Maximum 20 characters. Not changeable after creation.",
529+
"description": "The name of the VPN gateway. \nMaximum 20 characters (only alphanumeric and hyphens allowed). Not changeable after creation.\n",
530530
"example": "my-vpn",
531-
"pattern": "^([a-z0-9]{1}[a-z0-9-]{0,19}){1}(\\.[a-z0-9]{1}[a-z0-9-]{0,19})*?$",
531+
"pattern": "^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$",
532532
"type": "string"
533533
},
534534
"planId": {
535-
"description": "Service Plan to configure the limits of the VPN instance. Currently supported plans are p50, p100, p200.\nThis list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.",
535+
"description": "Service Plan to configure the limits of the VPN. Currently supported plans are p50, p100, p200.\nThis list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.",
536536
"example": "p50",
537537
"type": "string"
538538
}
@@ -985,9 +985,9 @@
985985
"type": "array"
986986
},
987987
"name": {
988-
"description": "The name of the connection. Maximum 20 characters. The name of a connection must be unique.\nRenaming will delete the old connection and establish a new one.",
988+
"description": "The name of the connection. \nMaximum 20 characters (only alphanumeric and hyphens allowed). The name bust be unique within the parent Gateway. \nCurrently renaming is not possible therefore deleting and re-creating the connection is necessary.\n",
989989
"example": "my-connection",
990-
"pattern": "^([a-z0-9]{1}[a-z0-9-]{0,19}){1}(\\.[a-z0-9]{1}[a-z0-9-]{0,19})*?$",
990+
"pattern": "^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$",
991991
"type": "string"
992992
},
993993
"remoteSubnets": {
@@ -1049,13 +1049,13 @@
10491049
"$ref": "#/components/schemas/BGPGatewayConfig"
10501050
},
10511051
"name": {
1052-
"description": "The name of the VPN instance. Maximum 20 characters. Not changeable after creation.",
1052+
"description": "The name of the VPN gateway. \nMaximum 20 characters (only alphanumeric and hyphens allowed). Not changeable after creation.\n",
10531053
"example": "my-vpn",
1054-
"pattern": "^([a-z0-9]{1}[a-z0-9-]{0,19}){1}(\\.[a-z0-9]{1}[a-z0-9-]{0,19})*?$",
1054+
"pattern": "^[a-z0-9]([a-z0-9-]{0,18}[a-z0-9])?$",
10551055
"type": "string"
10561056
},
10571057
"planId": {
1058-
"description": "Service Plan to configure the limits of the VPN instance. Currently supported plans are p50, p100, p200.\nThis list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.",
1058+
"description": "Service Plan to configure the limits of the VPN. Currently supported plans are p50, p100, p200.\nThis list can change in the future where plan ids will be removed and new plans by added. That is the reason this is not an enum.",
10591059
"example": "p50",
10601060
"type": "string"
10611061
}
@@ -1303,7 +1303,7 @@
13031303
}
13041304
},
13051305
"get": {
1306-
"description": "Get details of a VPN instance in a project.",
1306+
"description": "Get details of a VPN Gateway in a project.",
13071307
"operationId": "GetVPNGateway",
13081308
"parameters": [
13091309
{
@@ -1358,7 +1358,7 @@
13581358
"$ref": "#/components/responses/InternalServerError"
13591359
}
13601360
},
1361-
"summary": "Get details of a VPN instance in a project.",
1361+
"summary": "Get details of a VPN Gateway in a project.",
13621362
"x-stackit-authorization": {
13631363
"actions": [
13641364
"vpn.gateway.get"

0 commit comments

Comments
 (0)