Skip to content

Commit 2295479

Browse files
author
msftbot[bot]
authored
[ReleasePR postgresql] {AzurePostgresql} fixes Azure/azure-rest-api-specs#22302 fix the regex for serverName property (#2713)
Create to sync Azure/azure-rest-api-specs#22355 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...azure-sdk:sdkAuto/postgresql?expand=1)
2 parents 8c0a811 + 3ae7fdf commit 2295479

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schemas/2022-03-08-preview/Microsoft.DBforPostgreSQL.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"oneOf": [
3333
{
3434
"type": "string",
35-
"pattern": "^[a-z][a-z0-9]*$",
35+
"pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*",
3636
"minLength": 3,
3737
"maxLength": 63
3838
},

schemas/2022-12-01/Microsoft.DBforPostgreSQL.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"oneOf": [
3333
{
3434
"type": "string",
35-
"pattern": "^[a-z][a-z0-9]*$",
35+
"pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*",
3636
"minLength": 3,
3737
"maxLength": 63
3838
},

0 commit comments

Comments
 (0)