Skip to content

Commit 4552c08

Browse files
author
Autogenerator Pipeline
committed
Merge remote-tracking branch 'origin/main' into autogenerate
2 parents a836068 + 1bb889f commit 4552c08

File tree

7 files changed

+7294
-2
lines changed

7 files changed

+7294
-2
lines changed

schemas/2020-12-01-preview/Microsoft.Purview.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,17 @@
2929
"description": "Gets or sets the location."
3030
},
3131
"name": {
32-
"type": "string",
32+
"oneOf": [
33+
{
34+
"type": "string",
35+
"pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$",
36+
"minLength": 3,
37+
"maxLength": 63
38+
},
39+
{
40+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
41+
}
42+
],
3343
"description": "The name of the account."
3444
},
3545
"properties": {

schemas/2021-07-01/Microsoft.Purview.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,17 @@
2929
"description": "Gets or sets the location."
3030
},
3131
"name": {
32-
"type": "string",
32+
"oneOf": [
33+
{
34+
"type": "string",
35+
"pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$",
36+
"minLength": 3,
37+
"maxLength": 63
38+
},
39+
{
40+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
41+
}
42+
],
3343
"description": "The name of the account."
3444
},
3545
"properties": {

0 commit comments

Comments
 (0)