Skip to content

Commit 8eb686b

Browse files
Add pattern for cluster and database parameters
1 parent 3ccd82a commit 8eb686b

File tree

1 file changed

+2
-0
lines changed
  • specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview

1 file changed

+2
-0
lines changed

specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/redisenterprise.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2021,6 +2021,7 @@
20212021
"in": "path",
20222022
"required": true,
20232023
"type": "string",
2024+
"pattern": "^[a-zA-Z0-9]((-|[a-zA-Z0-9])*[a-zA-Z0-9])?$",
20242025
"description": "The name of the RedisEnterprise cluster.",
20252026
"x-ms-parameter-location": "method"
20262027
},
@@ -2029,6 +2030,7 @@
20292030
"in": "path",
20302031
"required": true,
20312032
"type": "string",
2033+
"pattern": "^[a-zA-Z0-9]*$",
20322034
"description": "The name of the database.",
20332035
"x-ms-parameter-location": "method"
20342036
}

0 commit comments

Comments
 (0)