Skip to content

Commit 32f91f6

Browse files
Merge pull request #2914 from azure-sdk/sdkAuto/purview
[ReleasePR purview] Add managedResourcesPublicNetworkAccess property in 2021-12-01 API version
2 parents c6a224c + fdd3b18 commit 32f91f6

File tree

4 files changed

+596
-2
lines changed

4 files changed

+596
-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)